@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
package/libs/index.js
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
import { PaintBrush as
|
|
2
|
-
import { PaintBrushTypeEnum as
|
|
3
|
-
import { ModelViewPlugin as
|
|
4
|
-
import { CSS3DRenderPlugin as
|
|
5
|
-
import { PanoCursorRaycasterPlugin as
|
|
6
|
-
import { ModelRoomLabelPlugin as
|
|
7
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
8
|
-
import { ModelFloorplanPlugin as
|
|
9
|
-
import { MapviewFloorplanPlugin as
|
|
10
|
-
import { TopviewFloorplanPlugin as
|
|
11
|
-
import { PanoFloorplanRadarPlugin as
|
|
12
|
-
import { FLOOR_TYPE_MAP as
|
|
13
|
-
import { ModelChassisCompassPlugin as
|
|
14
|
-
import { ModelEntryDoorGuidePlugin as
|
|
15
|
-
import { CameraMovementPlugin as
|
|
16
|
-
import { CameraMovementEffect as
|
|
17
|
-
import { PanoRulerPlugin as
|
|
18
|
-
import { PanoRulerProPlugin as
|
|
19
|
-
import { PanoCompassPlugin as
|
|
20
|
-
import { PanoMeasurePlugin as
|
|
21
|
-
import { PanoSpatialTagPlugin as
|
|
22
|
-
import { modelItemLabelPluginServerParams as
|
|
23
|
-
import { ModelTVVideoPlugin as
|
|
24
|
-
import { DIRECTION as
|
|
25
|
-
import { itemLabelPluginServerParams as
|
|
26
|
-
import { PanoDoorLabelPlugin as
|
|
27
|
-
import { GuideLinePlugin as
|
|
28
|
-
import { CruisePlugin as
|
|
29
|
-
import { PanoTagPlugin as
|
|
30
|
-
import { Object3DHelperPlugin as
|
|
31
|
-
import { index as
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
1
|
+
import { PaintBrush as Jm } from "./components/PaintBrush/index.js";
|
|
2
|
+
import { PaintBrushTypeEnum as Qm } from "./components/PaintBrush/typings.js";
|
|
3
|
+
import { ModelViewPlugin as Xm } from "./ModelViewPlugin/Plugin.js";
|
|
4
|
+
import { CSS3DRenderPlugin as $m } from "./CSS3DRenderPlugin/index.js";
|
|
5
|
+
import { PanoCursorRaycasterPlugin as rp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
6
|
+
import { ModelRoomLabelPlugin as mp, modelRoomLabelPluginServerParams as pp } from "./ModelRoomLabelPlugin/index.js";
|
|
7
|
+
import { FLOOR_PLAN_ATTACHED_TO as ep } from "./floorplan/constant.js";
|
|
8
|
+
import { ModelFloorplanPlugin as np } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
9
|
+
import { MapviewFloorplanPlugin as ap } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
10
|
+
import { TopviewFloorplanPlugin as up } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
11
|
+
import { PanoFloorplanRadarPlugin as gp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
12
|
+
import { FLOOR_TYPE_MAP as sp, ROOM_FETILE_TYPE_MAP as Lp, ROOM_TYPE_MAP as Mp } from "./floorplan/typings/floorplanServerData.js";
|
|
13
|
+
import { ModelChassisCompassPlugin as Ep } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
14
|
+
import { ModelEntryDoorGuidePlugin as _p } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
15
|
+
import { CameraMovementPlugin as Op } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
16
|
+
import { CameraMovementEffect as Ip, Rotation as Ap } from "./CameraMovementPlugin/typing.js";
|
|
17
|
+
import { PanoRulerPlugin as bp } from "./PanoRulerPlugin/Plugin.js";
|
|
18
|
+
import { PanoRulerProPlugin as Fp } from "./PanoRulerProPlugin/index.js";
|
|
19
|
+
import { PanoCompassPlugin as yp } from "./PanoCompassPlugin/index.js";
|
|
20
|
+
import { PanoMeasurePlugin as Np } from "./PanoMeasurePlugin/index.js";
|
|
21
|
+
import { PanoSpatialTagPlugin as Vp } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
22
|
+
import { modelItemLabelPluginServerParams as wp } from "./ModelItemLabelPlugin/index.js";
|
|
23
|
+
import { ModelTVVideoPlugin as Hp } from "./ModelTVVideoPlugin/Plugin.js";
|
|
24
|
+
import { DIRECTION as jp } from "./ModelTVVideoPlugin/typings.js";
|
|
25
|
+
import { itemLabelPluginServerParams as qp } from "./ItemLabelPlugin/index.js";
|
|
26
|
+
import { PanoDoorLabelPlugin as Jp } from "./PanoDoorLabelPlugin/index.js";
|
|
27
|
+
import { GuideLinePlugin as Qp } from "./GuideLinePlugin/index.js";
|
|
28
|
+
import { CruisePlugin as Xp } from "./CruisePlugin/index.js";
|
|
29
|
+
import { PanoTagPlugin as $p } from "./PanoTagPlugin/index.js";
|
|
30
|
+
import { Object3DHelperPlugin as ri } from "./Object3DHelperPlugin/index.js";
|
|
31
|
+
import { index as mi } from "./shared-utils/index.js";
|
|
32
|
+
import { CSS3DRender as ii } from "./CSS3DRenderPlugin/CSS3DRender.js";
|
|
33
|
+
import { Magnifier as li } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
34
|
+
import { DISPLAY_STRATEGY_TYPE as Pi } from "./ModelItemLabelPlugin/typings.js";
|
|
35
|
+
import { ModelItemLabelPlugin as fi } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
36
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as xi } from "./ItemLabelPlugin/typings.js";
|
|
37
|
+
import { Plugin as Ti } from "./ItemLabelPlugin/Plugin.js";
|
|
38
|
+
import { default as Li } from "./CruisePlugin/Controller.js";
|
|
39
|
+
import { PanoTagPluginController as di, pluginFlag as Ei } from "./PanoTagPlugin/controller/index.js";
|
|
40
|
+
import { ContentType as _i, DimensionType as Ci, LinkType as Oi, PointType as Si } from "./PanoTagPlugin/typings/tag.js";
|
|
41
|
+
import { Object3DHelperController as Ai, PLUGIN as Di, VERSION as bi } from "./Object3DHelperPlugin/Controller.js";
|
|
41
42
|
import "./components/PaintBrush/Controller.js";
|
|
42
43
|
import "./components/PaintBrush/utils.js";
|
|
43
44
|
import "./components/PaintBrush/tween.js";
|
|
@@ -48,13 +49,20 @@ import "./components/PaintBrush/style.js";
|
|
|
48
49
|
import "@realsee/five";
|
|
49
50
|
import "three";
|
|
50
51
|
import "./CSS3DRenderPlugin/Controller.js";
|
|
51
|
-
import "./CSS3DRenderPlugin/
|
|
52
|
+
import "./CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
53
|
+
import "./CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
54
|
+
import "./CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
52
55
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
56
|
+
import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
57
|
+
import "./CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
58
|
+
import "./CSS3DRenderPlugin/utils/even.js";
|
|
53
59
|
import "./shared-utils/Subscribe.js";
|
|
54
|
-
import "./CSS3DRenderPlugin/utils/evenNumber.js";
|
|
55
60
|
import "./CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
56
|
-
import "./CSS3DRenderPlugin/utils/
|
|
61
|
+
import "./CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
57
62
|
import "./CSS3DRenderPlugin/utils/centerPoint.js";
|
|
63
|
+
import "./CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
64
|
+
import "./CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
65
|
+
import "./CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
58
66
|
import "./shared-utils/createLine/index.js";
|
|
59
67
|
import "@realsee/five/line";
|
|
60
68
|
import "./ModelRoomLabelPlugin/Controller.js";
|
|
@@ -178,31 +186,12 @@ import "./PanoSpatialTagPlugin/store.js";
|
|
|
178
186
|
import "./PanoSpatialTagPlugin/Components/tag.js";
|
|
179
187
|
import "./PanoSpatialTagPlugin/style.js";
|
|
180
188
|
import "./shared-utils/tinyEJSrender.js";
|
|
181
|
-
import "classnames";
|
|
182
|
-
import "./ModelTVVideoPlugin/utils/parseData.js";
|
|
183
|
-
import "./PanoDoorLabelPlugin/Controller.js";
|
|
184
|
-
import "./PanoDoorLabelPlugin/BaseController.js";
|
|
185
|
-
import "./PanoDoorLabelPlugin/DoorLabelItem.js";
|
|
186
|
-
import "./PanoDoorLabelPlugin/utils.js";
|
|
187
|
-
import "./GuideLinePlugin/Controller.js";
|
|
188
|
-
import "./GuideLinePlugin/utils/getLineGeometries.js";
|
|
189
|
-
import "polyline-normals";
|
|
190
|
-
import "./GuideLinePlugin/utils/getArrowMaterial.js";
|
|
191
|
-
import "./shared-utils/isNil.js";
|
|
192
|
-
import "./shared-utils/math/Interval.js";
|
|
193
|
-
import "./shared-utils/math/Rectangle.js";
|
|
194
|
-
import "./shared-utils/three/Magnifier.js";
|
|
195
|
-
import "./shared-utils/three/getCoords.js";
|
|
196
|
-
import "./shared-utils/three/getRaycaster.js";
|
|
197
|
-
import "./shared-utils/three/getIntersect.js";
|
|
198
|
-
import "./shared-utils/three/PointHelper.js";
|
|
199
|
-
import "./shared-utils/three/Assets/index.js";
|
|
200
|
-
import "./shared-utils/three/PointDomHelper.js";
|
|
201
|
-
import "./shared-utils/three/FivePointSelector.js";
|
|
202
189
|
import "./ModelItemLabelPlugin/ItemLabelComponent.js";
|
|
203
190
|
import "./ModelItemLabelPlugin/ItemLabelItem.js";
|
|
191
|
+
import "classnames";
|
|
204
192
|
import "./shared-utils/debounce.js";
|
|
205
193
|
import "./ModelItemLabelPlugin/utils/parseData.js";
|
|
194
|
+
import "./ModelTVVideoPlugin/utils/parseData.js";
|
|
206
195
|
import "./ItemLabelPlugin/ItemLabelComponent.js";
|
|
207
196
|
import "./ItemLabelPlugin/ItemLabelItem.js";
|
|
208
197
|
import "./ItemLabelPlugin/utils/isImpacted.js";
|
|
@@ -210,6 +199,15 @@ import "./ItemLabelPlugin/utils/getStrokeLength.js";
|
|
|
210
199
|
import "./ItemLabelPlugin/utils/getLabelTransform.js";
|
|
211
200
|
import "./ItemLabelPlugin/utils/transform2RenderData.js";
|
|
212
201
|
import "./ItemLabelPlugin/utils/parseData.js";
|
|
202
|
+
import "./PanoDoorLabelPlugin/Controller.js";
|
|
203
|
+
import "./PanoDoorLabelPlugin/BaseController.js";
|
|
204
|
+
import "./PanoDoorLabelPlugin/DoorLabelItem.js";
|
|
205
|
+
import "./PanoDoorLabelPlugin/utils.js";
|
|
206
|
+
import "./GuideLinePlugin/Controller.js";
|
|
207
|
+
import "./GuideLinePlugin/utils/getLineGeometries.js";
|
|
208
|
+
import "polyline-normals";
|
|
209
|
+
import "./GuideLinePlugin/utils/getArrowMaterial.js";
|
|
210
|
+
import "./shared-utils/isNil.js";
|
|
213
211
|
import "./CruisePlugin/utils/coordinatesAngle.js";
|
|
214
212
|
import "./CruisePlugin/utils/coordinatesToVector.js";
|
|
215
213
|
import "./CruisePlugin/utils/safeCall.js";
|
|
@@ -291,55 +289,66 @@ import "./shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
|
291
289
|
import "./shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
292
290
|
import "./shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
293
291
|
import "./shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
292
|
+
import "./shared-utils/math/Interval.js";
|
|
293
|
+
import "./shared-utils/math/Rectangle.js";
|
|
294
|
+
import "./shared-utils/three/Magnifier.js";
|
|
295
|
+
import "./shared-utils/three/getCoords.js";
|
|
296
|
+
import "./shared-utils/three/getRaycaster.js";
|
|
297
|
+
import "./shared-utils/three/getIntersect.js";
|
|
298
|
+
import "./shared-utils/three/PointHelper.js";
|
|
299
|
+
import "./shared-utils/three/Assets/index.js";
|
|
300
|
+
import "./shared-utils/three/PointDomHelper.js";
|
|
301
|
+
import "./shared-utils/three/FivePointSelector.js";
|
|
294
302
|
export {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
Ti as
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
303
|
+
ii as CSS3DRender,
|
|
304
|
+
$m as CSS3DRenderPlugin,
|
|
305
|
+
Ip as CameraMovementEffect,
|
|
306
|
+
Op as CameraMovementPlugin,
|
|
307
|
+
_i as ContentType,
|
|
308
|
+
Xp as CruisePlugin,
|
|
309
|
+
Li as CruisePluginController,
|
|
310
|
+
jp as DIRECTION,
|
|
311
|
+
Pi as DISPLAY_STRATEGY_TYPE,
|
|
312
|
+
Ci as DimensionType,
|
|
313
|
+
ep as FLOOR_PLAN_ATTACHED_TO,
|
|
314
|
+
sp as FLOOR_TYPE_MAP,
|
|
315
|
+
Qp as GuideLinePlugin,
|
|
316
|
+
xi as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
317
|
+
Ti as ItemLabelPlugin,
|
|
318
|
+
Oi as LinkType,
|
|
319
|
+
li as Magnifier,
|
|
320
|
+
ap as MapviewFloorplanPlugin,
|
|
321
|
+
Ep as ModelChassisCompassPlugin,
|
|
322
|
+
_p as ModelEntryDoorGuidePlugin,
|
|
323
|
+
np as ModelFloorplanPlugin,
|
|
324
|
+
fi as ModelItemLabelPlugin,
|
|
325
|
+
mp as ModelRoomLabelPlugin,
|
|
326
|
+
Hp as ModelTVVideoPlugin,
|
|
327
|
+
Xm as ModelViewPlugin,
|
|
328
|
+
Ai as Object3DHelperController,
|
|
329
|
+
ri as Object3DHelperPlugin,
|
|
330
|
+
Di as PLUGIN,
|
|
331
|
+
Jm as PaintBrush,
|
|
332
|
+
Qm as PaintBrushTypeEnum,
|
|
333
|
+
yp as PanoCompassPlugin,
|
|
334
|
+
rp as PanoCursorRaycasterPlugin,
|
|
335
|
+
Jp as PanoDoorLabelPlugin,
|
|
336
|
+
gp as PanoFloorplanRadarPlugin,
|
|
337
|
+
Np as PanoMeasurePlugin,
|
|
338
|
+
bp as PanoRulerPlugin,
|
|
339
|
+
Fp as PanoRulerProPlugin,
|
|
340
|
+
Vp as PanoSpatialTagPlugin,
|
|
341
|
+
$p as PanoTagPlugin,
|
|
342
|
+
di as PanoTagPluginController,
|
|
343
|
+
Si as PointType,
|
|
344
|
+
Lp as ROOM_FETILE_TYPE_MAP,
|
|
345
|
+
Mp as ROOM_TYPE_MAP,
|
|
346
|
+
Ap as Rotation,
|
|
347
|
+
up as TopviewFloorplanPlugin,
|
|
348
|
+
mi as Util,
|
|
349
|
+
bi as VERSION,
|
|
350
|
+
qp as itemLabelPluginServerParams,
|
|
351
|
+
wp as modelItemLabelPluginServerParams,
|
|
352
|
+
pp as modelRoomLabelPluginServerParams,
|
|
353
|
+
Ei as pluginFlag
|
|
345
354
|
};
|
|
@@ -5,7 +5,7 @@ import * as l from "three";
|
|
|
5
5
|
import { Subscribe as y } from "../../Subscribe.js";
|
|
6
6
|
import { DomEvents as j } from "../utils/threex/domevents/index.js";
|
|
7
7
|
import { notNil as g } from "../../isNil.js";
|
|
8
|
-
import { CSS3DObjectPlus as D } from "../../../CSS3DRenderPlugin/utils/
|
|
8
|
+
import { CSS3DObjectPlus as D } from "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
9
9
|
let h = null;
|
|
10
10
|
class P {
|
|
11
11
|
constructor(e, t, o, n, a, r, c) {
|
|
@@ -2,17 +2,18 @@ var w = Object.defineProperty;
|
|
|
2
2
|
var h = (i, o, r) => o in i ? w(i, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[o] = r;
|
|
3
3
|
var s = (i, o, r) => (h(i, typeof o != "symbol" ? o + "" : o, r), r);
|
|
4
4
|
import { MoveHelperAbstract as A } from "../Base/BaseHelper.js";
|
|
5
|
-
import { ArrowGroup as
|
|
6
|
-
import { AXES_THREE_COLOR as
|
|
5
|
+
import { ArrowGroup as t } from "./Objects/ArrowGroup.js";
|
|
6
|
+
import { AXES_THREE_COLOR as e } from "../Constants/color.js";
|
|
7
7
|
import "three";
|
|
8
|
+
import "../../../CSS3DRenderPlugin/CSS3DRender.js";
|
|
8
9
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
9
10
|
import "./OutlineHelper.js";
|
|
10
|
-
class
|
|
11
|
+
class x extends A {
|
|
11
12
|
constructor(r) {
|
|
12
13
|
super(r);
|
|
13
|
-
s(this, "xArrow", new
|
|
14
|
-
s(this, "yArrow", new
|
|
15
|
-
s(this, "zArrow", new
|
|
14
|
+
s(this, "xArrow", new t({ direction: "x", color: e.X }));
|
|
15
|
+
s(this, "yArrow", new t({ direction: "y", color: e.Y }));
|
|
16
|
+
s(this, "zArrow", new t({ direction: "z", color: e.Z }));
|
|
16
17
|
this.add(this.xArrow), this.add(this.yArrow), this.add(this.zArrow);
|
|
17
18
|
}
|
|
18
19
|
show() {
|
|
@@ -26,5 +27,5 @@ class v extends A {
|
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
+
x as MoveHelper
|
|
30
31
|
};
|
|
@@ -3,7 +3,7 @@ import { RectangleScaleHelperAbstract } from '.';
|
|
|
3
3
|
import type { Create3DElementReturnType } from '../../../CSS3DRenderPlugin';
|
|
4
4
|
import type { Vector3 } from 'three';
|
|
5
5
|
import { CSS3DObject } from 'three/examples/jsm/renderers/CSS3DRenderer';
|
|
6
|
-
import type { CSS3DObjectPlus } from '../../../CSS3DRenderPlugin/utils/
|
|
6
|
+
import type { CSS3DObjectPlus } from '../../../CSS3DRenderPlugin/utils/three/CSS3DObject';
|
|
7
7
|
declare type NonVoid<T> = T extends void ? never : T;
|
|
8
8
|
declare type OriginObjectType = CSS3DObject | THREE.Object3D;
|
|
9
9
|
export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObjectType> extends RectangleScaleHelperAbstract<T, HTMLElement> {
|
|
@@ -17,7 +17,7 @@ export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObj
|
|
|
17
17
|
private scene;
|
|
18
18
|
private container;
|
|
19
19
|
private enabled;
|
|
20
|
-
constructor(originObject3D: T, container:
|
|
20
|
+
constructor(originObject3D: T, container: HTMLElement, camera: THREE.Camera, scene: THREE.Scene);
|
|
21
21
|
updatePosition(): void;
|
|
22
22
|
updateQuaternion(): void;
|
|
23
23
|
applyMatrix4(matrix: THREE.Matrix4): void;
|
|
@@ -3,4 +3,5 @@ import "three";
|
|
|
3
3
|
import "@realsee/five";
|
|
4
4
|
import "@tweenjs/tween.js";
|
|
5
5
|
import "../animationFrame/BetterTween.js";
|
|
6
|
-
import "
|
|
6
|
+
import "../../CSS3DRenderPlugin/CSS3DRender.js";
|
|
7
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
package/package.json
CHANGED
|
@@ -7,8 +7,21 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.
|
|
10
|
+
"version": "2.3.0",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
14
|
+
"dev": "run-p dev:*",
|
|
15
|
+
"dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
|
|
16
|
+
"dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
|
|
17
|
+
"dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
|
|
18
|
+
"build": "run-p build:*",
|
|
19
|
+
"build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
|
|
20
|
+
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
21
|
+
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
22
|
+
"docs": "typedoc --options ./typedoc.json",
|
|
23
|
+
"prepublishOnly": "run-p build docs"
|
|
24
|
+
},
|
|
12
25
|
"files": [
|
|
13
26
|
"libs",
|
|
14
27
|
"dist",
|
|
@@ -20,45 +33,45 @@
|
|
|
20
33
|
"registry": "https://registry.npmjs.org/"
|
|
21
34
|
},
|
|
22
35
|
"devDependencies": {
|
|
23
|
-
"@babel/core": "^7.
|
|
36
|
+
"@babel/core": "^7.20.2",
|
|
24
37
|
"@realsee/five": "5.0.0-alpha.162",
|
|
25
|
-
"@sveltejs/vite-plugin-svelte": "^1.1
|
|
38
|
+
"@sveltejs/vite-plugin-svelte": "^1.3.1",
|
|
26
39
|
"@tsconfig/svelte": "^3.0.0",
|
|
27
40
|
"@types/animejs": "^3.1.6",
|
|
28
41
|
"@types/glob": "^8.0.0",
|
|
29
42
|
"@types/hammerjs": "2.0.41",
|
|
30
43
|
"@types/node": "^18.11.9",
|
|
31
44
|
"@types/object-assign-deep": "0.4.0",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
33
|
-
"@typescript-eslint/parser": "^5.
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^5.44.0",
|
|
46
|
+
"@typescript-eslint/parser": "^5.44.0",
|
|
34
47
|
"autoprefixer": "^10.4.13",
|
|
35
48
|
"eslint": "8.26.0",
|
|
36
49
|
"eslint-config-alloy": "^4.7.0",
|
|
37
50
|
"eslint-config-prettier": "^8.5.0",
|
|
38
51
|
"eslint-plugin-prettier": "^4.2.1",
|
|
39
|
-
"eslint-plugin-svelte": "^2.
|
|
40
|
-
"glob": "^8.0.
|
|
52
|
+
"eslint-plugin-svelte": "^2.13.1",
|
|
53
|
+
"glob": "^8.0.3",
|
|
41
54
|
"npm-run-all": "^4.1.5",
|
|
42
|
-
"postcss": "^8.4.
|
|
55
|
+
"postcss": "^8.4.19",
|
|
43
56
|
"postcss-load-config": "^4.0.1",
|
|
44
57
|
"postcss-plugin-px2rem": "^0.8.1",
|
|
45
|
-
"prettier": "^2.
|
|
46
|
-
"prettier-plugin-svelte": "^2.8.
|
|
47
|
-
"sass": "^1.
|
|
48
|
-
"stylelint": "^14.
|
|
49
|
-
"stylelint-config-prettier": "^9.0.
|
|
58
|
+
"prettier": "^2.8.0",
|
|
59
|
+
"prettier-plugin-svelte": "^2.8.1",
|
|
60
|
+
"sass": "^1.56.1",
|
|
61
|
+
"stylelint": "^14.15.0",
|
|
62
|
+
"stylelint-config-prettier": "^9.0.4",
|
|
50
63
|
"svelte": "3.53.1",
|
|
51
64
|
"svelte-preprocess": "^4.10.7",
|
|
52
65
|
"three": "0.117.1",
|
|
53
|
-
"typedoc": "^0.23.
|
|
54
|
-
"typescript": "^4.
|
|
66
|
+
"typedoc": "^0.23.21",
|
|
67
|
+
"typescript": "^4.9.3",
|
|
55
68
|
"vite": "3.2.3",
|
|
56
|
-
"vite-plugin-dts": "^1.7.
|
|
69
|
+
"vite-plugin-dts": "^1.7.1"
|
|
57
70
|
},
|
|
58
71
|
"dependencies": {
|
|
59
72
|
"@tweenjs/tween.js": "^18.6.4",
|
|
60
73
|
"animejs": "^3.2.1",
|
|
61
|
-
"classnames": "^2.3.
|
|
74
|
+
"classnames": "^2.3.2",
|
|
62
75
|
"hammerjs": "^2.0.8",
|
|
63
76
|
"object-assign-deep": "0.4.0",
|
|
64
77
|
"polyline-normals": "^2.0.2",
|
|
@@ -69,17 +82,5 @@
|
|
|
69
82
|
"peerDependencies": {
|
|
70
83
|
"@realsee/five": "^5.0.0",
|
|
71
84
|
"three": ">=0.115.0 <=0.117.1"
|
|
72
|
-
},
|
|
73
|
-
"scripts": {
|
|
74
|
-
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
75
|
-
"dev": "run-p dev:*",
|
|
76
|
-
"dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
|
|
77
|
-
"dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
|
|
78
|
-
"dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
|
|
79
|
-
"build": "run-p build:*",
|
|
80
|
-
"build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
|
|
81
|
-
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
82
|
-
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
83
|
-
"docs": "typedoc --options ./typedoc.json"
|
|
84
85
|
}
|
|
85
|
-
}
|
|
86
|
+
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
var P = Object.defineProperty;
|
|
2
|
-
var k = (p, h, t) => h in p ? P(p, h, { enumerable: !0, configurable: !0, writable: !0, value: t }) : p[h] = t;
|
|
3
|
-
var s = (p, h, t) => (k(p, typeof h != "symbol" ? h + "" : h, t), t);
|
|
4
|
-
import { CSS3DObject as D } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
5
|
-
import { Vector3 as n } from "three";
|
|
6
|
-
import { evenNumber as f } from "./evenNumber.js";
|
|
7
|
-
import { centerPoint as W } from "./centerPoint.js";
|
|
8
|
-
import { Subscribe as j } from "../../shared-utils/Subscribe.js";
|
|
9
|
-
const w = "1.0.2", v = `CSS3DObjectPlus@${w}`, C = 216e-5, E = 3e-3;
|
|
10
|
-
class z extends D {
|
|
11
|
-
constructor(t, e, o = E, x = 1, M = "front") {
|
|
12
|
-
const l = Math.max(C, o), d = e[0].distanceTo(e[1]), m = e[1].distanceTo(e[2]), c = f(d / o * x), a = f(m / o * x), r = W(...e);
|
|
13
|
-
let u;
|
|
14
|
-
if (l === o)
|
|
15
|
-
t.style.width = `${c}px`, t.style.height = `${a}px`, u = t;
|
|
16
|
-
else {
|
|
17
|
-
const i = document.createElement("div");
|
|
18
|
-
i.style.width = `${c}px`, i.style.height = `${a}px`, i.style.pointerEvents = "none";
|
|
19
|
-
const b = o / l;
|
|
20
|
-
t.style.position = "absolute", t.style.left = "0", t.style.top = "0", t.style.width = `${b * c}px`, t.style.height = `${b * a}px`, i.appendChild(t), u = i;
|
|
21
|
-
}
|
|
22
|
-
super(u);
|
|
23
|
-
s(this, "version", w);
|
|
24
|
-
s(this, "width");
|
|
25
|
-
s(this, "height");
|
|
26
|
-
s(this, "domWidthPx");
|
|
27
|
-
s(this, "domHeightPx");
|
|
28
|
-
s(this, "cornerPoints");
|
|
29
|
-
s(this, "ratio");
|
|
30
|
-
s(this, "container");
|
|
31
|
-
s(this, "centerPosition");
|
|
32
|
-
s(this, "mode", "front");
|
|
33
|
-
s(this, "hooks", new j());
|
|
34
|
-
s(this, "isCSS3DObjectPlus", !0);
|
|
35
|
-
if (this.scale.set(l, l, l), this.cornerPoints = e, this.ratio = o, this.container = t, this.mode = M, l === o)
|
|
36
|
-
this.width = d, this.height = m, this.domWidthPx = c, this.domHeightPx = a, this.centerPosition = r;
|
|
37
|
-
else {
|
|
38
|
-
const i = o / l;
|
|
39
|
-
this.width = i * d, this.height = i * m, this.domWidthPx = i * c, this.domHeightPx = i * a, this.centerPosition = new n().subVectors(r, e[0]).multiplyScalar(i).add(e[0]);
|
|
40
|
-
}
|
|
41
|
-
t.classList.add(`${v}__container`);
|
|
42
|
-
const V = new n().subVectors(e[1], e[0]), y = new n().subVectors(e[3], e[0]), $ = new n().crossVectors(V, y).normalize();
|
|
43
|
-
this.lookAt($);
|
|
44
|
-
const g = this.up.clone().applyQuaternion(this.quaternion), S = y.clone(), O = new n().crossVectors(g, S).normalize();
|
|
45
|
-
this.rotateOnWorldAxis(O, g.angleTo(S)), this.position.copy(r);
|
|
46
|
-
}
|
|
47
|
-
changeMode(t, e) {
|
|
48
|
-
if (t === this.mode)
|
|
49
|
-
return;
|
|
50
|
-
const o = this.mode;
|
|
51
|
-
this.mode = t, this.hooks.emit("changeMode", t, o, e);
|
|
52
|
-
}
|
|
53
|
-
applyScaleMatrix4(t) {
|
|
54
|
-
this.scale.applyMatrix4(t), this.hooks.emit("applyScaleMatrix4", t);
|
|
55
|
-
}
|
|
56
|
-
applyMatrix4(t) {
|
|
57
|
-
super.applyMatrix4(t), this.hooks.emit("applyMatrix4", t);
|
|
58
|
-
}
|
|
59
|
-
applyQuaternion(t) {
|
|
60
|
-
return super.applyQuaternion(t), this.hooks.emit("applyQuaternion", t), this;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
export {
|
|
64
|
-
z as CSS3DObjectPlus
|
|
65
|
-
};
|