@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,5 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import t from "./Controller.js";
|
|
2
|
+
import "../base/BasePluginWithData.js";
|
|
3
|
+
import "../base/BasePlugin.js";
|
|
4
|
+
import "../shared-utils/Subscribe.js";
|
|
5
|
+
import "three";
|
|
6
|
+
import "./utils/getLineGeometries.js";
|
|
7
|
+
import "polyline-normals";
|
|
8
|
+
import "./utils/getArrowMaterial.js";
|
|
9
|
+
import "../shared-utils/isNil.js";
|
|
10
|
+
import "../shared-utils/equal.js";
|
|
11
|
+
import "../shared-utils/isTruelyObject.js";
|
|
12
|
+
const c = (o, r) => new t(o, r);
|
|
3
13
|
export {
|
|
4
|
-
|
|
14
|
+
c as GuideLinePlugin,
|
|
15
|
+
c as default
|
|
5
16
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
import { Subscribe as
|
|
1
|
+
import { Subscribe as L, Five as E } from "@realsee/five";
|
|
2
2
|
import g from "./ItemLabelComponent.js";
|
|
3
3
|
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as h } from "./typings.js";
|
|
4
4
|
import { parseItemLabelPluginData as v } from "./utils/parseData.js";
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
import "../vendor/svelte/internal/index.js";
|
|
6
|
+
import "three";
|
|
7
|
+
import "./ItemLabelItem.js";
|
|
8
|
+
import "classnames";
|
|
9
|
+
import "../shared-utils/debounce.js";
|
|
10
|
+
import "./utils/isImpacted.js";
|
|
11
|
+
import "./utils/getStrokeLength.js";
|
|
12
|
+
import "./utils/getLabelTransform.js";
|
|
13
|
+
import "./utils/transform2RenderData.js";
|
|
14
|
+
const P = void 0, O = (o, t) => {
|
|
15
|
+
var d, c, b, p;
|
|
7
16
|
const e = {
|
|
8
17
|
container: document.createElement("div"),
|
|
9
18
|
data: null,
|
|
@@ -12,11 +21,11 @@ const P = void 0, V = (o, n) => {
|
|
|
12
21
|
itemLabels: [],
|
|
13
22
|
wrapper: null,
|
|
14
23
|
app: void 0,
|
|
15
|
-
hooks: new
|
|
16
|
-
modelOcclusionEnable: (d =
|
|
17
|
-
onlyVisibleInPanorama: (c =
|
|
18
|
-
displayStrategyType: (b =
|
|
19
|
-
maxVisibleDistance: (
|
|
24
|
+
hooks: new L(),
|
|
25
|
+
modelOcclusionEnable: (d = t == null ? void 0 : t.modelOcclusionEnable) != null ? d : !0,
|
|
26
|
+
onlyVisibleInPanorama: (c = t == null ? void 0 : t.onlyVisibleInPanorama) != null ? c : !0,
|
|
27
|
+
displayStrategyType: (b = t == null ? void 0 : t.displayStrategyType) != null ? b : h.SMALL,
|
|
28
|
+
maxVisibleDistance: (p = t == null ? void 0 : t.maxVisibleDistance) != null ? p : P
|
|
20
29
|
};
|
|
21
30
|
e.container.setAttribute("class", "item-label-plugin-container"), e.container.style.cssText = `
|
|
22
31
|
position: absolute;
|
|
@@ -26,15 +35,15 @@ const P = void 0, V = (o, n) => {
|
|
|
26
35
|
height: 100%;
|
|
27
36
|
z-index: 5;
|
|
28
37
|
`, e.container.style.pointerEvents = "none";
|
|
29
|
-
const
|
|
30
|
-
e.itemLabels = v(
|
|
31
|
-
}, l = () => (e.enabled || (e.enabled = !0, i()), !0),
|
|
32
|
-
|
|
38
|
+
const u = (n) => (e.wrapper = n, n.appendChild(e.container), i(), !0), m = (n) => {
|
|
39
|
+
e.itemLabels = v(n), i();
|
|
40
|
+
}, l = () => (e.enabled || (e.enabled = !0, i()), !0), r = () => (e.enabled && (e.enabled = !1, i()), !0), a = () => {
|
|
41
|
+
f(), e.container.remove();
|
|
33
42
|
}, i = () => {
|
|
34
|
-
var
|
|
43
|
+
var n;
|
|
35
44
|
if (!!e.wrapper) {
|
|
36
45
|
if (!e.enabled || !e.fiveModeEnabled) {
|
|
37
|
-
(
|
|
46
|
+
(n = e.app) == null || n.$destroy(), e.app = void 0;
|
|
38
47
|
return;
|
|
39
48
|
}
|
|
40
49
|
e.app ? e.app.$set({
|
|
@@ -55,12 +64,12 @@ const P = void 0, V = (o, n) => {
|
|
|
55
64
|
});
|
|
56
65
|
}
|
|
57
66
|
}, y = () => {
|
|
58
|
-
o.on("modeChange", s), o.once("dispose",
|
|
59
|
-
},
|
|
67
|
+
o.on("modeChange", s), o.once("dispose", a);
|
|
68
|
+
}, f = () => {
|
|
60
69
|
o.off("modeChange", s);
|
|
61
|
-
}, s = (
|
|
62
|
-
if (
|
|
63
|
-
e.fiveModeEnabled = !1,
|
|
70
|
+
}, s = (n) => {
|
|
71
|
+
if (n !== E.Mode.Panorama) {
|
|
72
|
+
e.fiveModeEnabled = !1, r();
|
|
64
73
|
return;
|
|
65
74
|
}
|
|
66
75
|
o.once("initAnimationEnded", () => {
|
|
@@ -68,14 +77,15 @@ const P = void 0, V = (o, n) => {
|
|
|
68
77
|
});
|
|
69
78
|
};
|
|
70
79
|
return y(), {
|
|
71
|
-
appendTo:
|
|
80
|
+
appendTo: u,
|
|
72
81
|
load: m,
|
|
73
82
|
enable: l,
|
|
74
|
-
disable:
|
|
75
|
-
dispose:
|
|
83
|
+
disable: r,
|
|
84
|
+
dispose: a,
|
|
76
85
|
hooks: e.hooks
|
|
77
86
|
};
|
|
78
87
|
};
|
|
79
88
|
export {
|
|
80
|
-
|
|
89
|
+
O as Plugin,
|
|
90
|
+
O as default
|
|
81
91
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,11 +1,25 @@
|
|
|
1
|
+
import "./Plugin.js";
|
|
2
|
+
import { Plugin as f, Plugin as E } from "./Plugin.js";
|
|
3
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as b } from "./typings.js";
|
|
1
4
|
import "@realsee/five";
|
|
5
|
+
import "./ItemLabelComponent.js";
|
|
2
6
|
import "../vendor/svelte/internal/index.js";
|
|
3
7
|
import "three";
|
|
8
|
+
import "./ItemLabelItem.js";
|
|
4
9
|
import "classnames";
|
|
5
|
-
|
|
10
|
+
import "../shared-utils/debounce.js";
|
|
11
|
+
import "./utils/isImpacted.js";
|
|
12
|
+
import "./utils/getStrokeLength.js";
|
|
13
|
+
import "./utils/getLabelTransform.js";
|
|
14
|
+
import "./utils/transform2RenderData.js";
|
|
15
|
+
import "./utils/parseData.js";
|
|
16
|
+
const s = {
|
|
6
17
|
name: "ItemLabelPlugin",
|
|
7
18
|
version: 0
|
|
8
19
|
};
|
|
9
20
|
export {
|
|
10
|
-
|
|
21
|
+
b as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
22
|
+
f as ItemLabelPlugin,
|
|
23
|
+
E as default,
|
|
24
|
+
s as itemLabelPluginServerParams
|
|
11
25
|
};
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
+
import "./Plugin.js";
|
|
2
|
+
import { ModelChassisCompassPlugin as t, ModelChassisCompassPlugin as C } from "./Plugin.js";
|
|
1
3
|
import "three";
|
|
2
4
|
import "three/examples/jsm/loaders/FBXLoader";
|
|
5
|
+
import "../shared-utils/object3d2LocalMatrix.js";
|
|
6
|
+
import "../shared-utils/three/transformToMeshBasicMaterial.js";
|
|
7
|
+
export {
|
|
8
|
+
t as ModelChassisCompassPlugin,
|
|
9
|
+
C as default
|
|
10
|
+
};
|
|
@@ -1,80 +1,85 @@
|
|
|
1
|
-
var C = (t, s, e) => new Promise((
|
|
2
|
-
var
|
|
1
|
+
var C = (t, s, e) => new Promise((P, E) => {
|
|
2
|
+
var h = (r) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
l(e.next(r));
|
|
5
5
|
} catch (m) {
|
|
6
6
|
E(m);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, x = (r) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
l(e.throw(r));
|
|
11
11
|
} catch (m) {
|
|
12
12
|
E(m);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, l = (r) => r.done ? P(r.value) : Promise.resolve(r.value).then(h, x);
|
|
15
|
+
l((e = e.apply(t, s)).next());
|
|
16
16
|
});
|
|
17
|
-
import * as
|
|
18
|
-
import { MeshBasicMaterial as
|
|
17
|
+
import * as S from "three";
|
|
18
|
+
import { MeshBasicMaterial as z, AnimationMixer as B } from "three";
|
|
19
19
|
import { FBXLoader as _ } from "three/examples/jsm/loaders/FBXLoader";
|
|
20
|
-
import { createCanvasTextTexture as
|
|
21
|
-
import { transformPositionToVector3 as
|
|
22
|
-
import { transfromToMeshBasicMaterial as
|
|
20
|
+
import { createCanvasTextTexture as v } from "../shared-utils/createCanvasTextTexture.js";
|
|
21
|
+
import { transformPositionToVector3 as H } from "../shared-utils/three/transformPositionToVector3.js";
|
|
22
|
+
import { transfromToMeshBasicMaterial as L } from "../shared-utils/three/transformToMeshBasicMaterial.js";
|
|
23
23
|
const K = (t, s) => {
|
|
24
|
-
var
|
|
25
|
-
const e = {},
|
|
26
|
-
var u, b, M, f, p, j,
|
|
27
|
-
const
|
|
28
|
-
if (!
|
|
24
|
+
var G, T, R;
|
|
25
|
+
const e = {}, P = (G = s.animationEnabled) != null ? G : !0, E = (T = s.position) != null ? T : void 0, h = (R = s.rad) != null ? R : void 0, x = s.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", l = [], r = (o) => C(void 0, null, function* () {
|
|
26
|
+
var u, b, M, f, p, j, y, q;
|
|
27
|
+
const c = (u = o == null ? void 0 : o.position) != null ? u : E;
|
|
28
|
+
if (!c)
|
|
29
29
|
return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
|
|
30
|
-
const i =
|
|
31
|
-
if (e.rad =
|
|
32
|
-
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${
|
|
33
|
-
const a = yield new _().loadAsync(
|
|
34
|
-
a.position.copy(i), a.rotation.z =
|
|
35
|
-
const d = (
|
|
30
|
+
const i = H(c), n = (b = o == null ? void 0 : o.rad) != null ? b : h, A = (M = o == null ? void 0 : o.fbx_url) != null ? M : x;
|
|
31
|
+
if (e.rad = n, n === void 0)
|
|
32
|
+
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${n}`));
|
|
33
|
+
const a = yield new _().loadAsync(A);
|
|
34
|
+
a.position.copy(i), a.rotation.z = n, a.scale.set(0.8, 0.8, 0.8), L(a, { transparent: !0, side: S.DoubleSide });
|
|
35
|
+
const d = (y = (j = (p = (f = a.children) == null ? void 0 : f[0]) == null ? void 0 : p.children) == null ? void 0 : j[3]) == null ? void 0 : y.clone();
|
|
36
36
|
if (!d)
|
|
37
37
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${d}`));
|
|
38
38
|
const w = (q = s.name) != null ? q : "\u5165\u6237\u95E8";
|
|
39
|
-
return d.material = new
|
|
39
|
+
return d.material = new z({ transparent: !0, map: v(w) }), d.renderOrder = 3, a.children[0].add(d), e.object = a, !0;
|
|
40
40
|
}), m = () => {
|
|
41
41
|
if (e.animation)
|
|
42
42
|
return;
|
|
43
43
|
if (!e.object)
|
|
44
44
|
return console.error("ModelEntryDoorGuidePlugin.initAnimation(): state.object is ", e.object);
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
const i =
|
|
48
|
-
i.timeScale =
|
|
49
|
-
let
|
|
50
|
-
const
|
|
45
|
+
const o = 1, c = new B(e.object);
|
|
46
|
+
l.push(c);
|
|
47
|
+
const i = c.clipAction(e.object.animations[0]);
|
|
48
|
+
i.timeScale = o;
|
|
49
|
+
let n;
|
|
50
|
+
const A = () => {
|
|
51
51
|
let u = 0, b = 0;
|
|
52
52
|
const M = 1e3 / 30, f = (p) => {
|
|
53
53
|
u = requestAnimationFrame(f);
|
|
54
54
|
const j = p - b;
|
|
55
|
-
j < M || (b = p,
|
|
55
|
+
j < M || (b = p, l.forEach((y) => y.update(j / 1e3)), t.needsRender = !0);
|
|
56
56
|
};
|
|
57
57
|
return u = requestAnimationFrame(f), () => {
|
|
58
58
|
cancelAnimationFrame(u);
|
|
59
59
|
};
|
|
60
60
|
}, w = { play: () => {
|
|
61
|
-
|
|
61
|
+
n || (i.play(), n = A(), requestAnimationFrame(() => {
|
|
62
62
|
e.object && e.object.rotation.z !== e.rad && (e.object.rotation.z = e.rad);
|
|
63
63
|
}));
|
|
64
64
|
}, stop: () => {
|
|
65
|
-
i.stop(),
|
|
65
|
+
i.stop(), n == null || n(), n = void 0;
|
|
66
66
|
} };
|
|
67
67
|
e.animation = w;
|
|
68
|
-
},
|
|
68
|
+
}, g = (o) => {
|
|
69
69
|
var i;
|
|
70
70
|
if (!e.object)
|
|
71
71
|
return console.error("ModelEntryDoorGuidePlugin.enable(): object is ", e.object);
|
|
72
|
-
((i =
|
|
73
|
-
},
|
|
72
|
+
((i = o == null ? void 0 : o.animationEnable) != null ? i : P) && (e.animation || m(), e.animation.play()), t.scene.add(e.object), t.needsRender = !0;
|
|
73
|
+
}, F = () => {
|
|
74
74
|
!e.object || (e.animation && e.animation.stop(), t.scene.remove(e.object), t.needsRender = !0);
|
|
75
|
-
},
|
|
76
|
-
return { load: r, enable: (
|
|
75
|
+
}, D = (o) => o === "Floorplan" ? g() : F();
|
|
76
|
+
return { load: r, enable: (o) => (e.enabled || (e.enabled = !0, D(t.currentMode), t.on("modeChange", D), g(o)), !0), disable: () => (e.enabled && (e.enabled = !1, F(), t.off("modeChange", D)), !0) };
|
|
77
|
+
}, N = {
|
|
78
|
+
name: "ModelEntryDoorGuidePlugin",
|
|
79
|
+
version: 0
|
|
77
80
|
};
|
|
78
81
|
export {
|
|
79
|
-
K as ModelEntryDoorGuidePlugin
|
|
82
|
+
K as ModelEntryDoorGuidePlugin,
|
|
83
|
+
K as default,
|
|
84
|
+
N as modelEntryDoorGuidePluginServerParams
|
|
80
85
|
};
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
import "./Plugin.js";
|
|
2
|
+
import { ModelEntryDoorGuidePlugin as u, ModelEntryDoorGuidePlugin as n } from "./Plugin.js";
|
|
1
3
|
import "three";
|
|
2
4
|
import "three/examples/jsm/loaders/FBXLoader";
|
|
5
|
+
import "../shared-utils/createCanvasTextTexture.js";
|
|
6
|
+
import "../shared-utils/three/transformPositionToVector3.js";
|
|
7
|
+
import "../shared-utils/three/transformToMeshBasicMaterial.js";
|
|
8
|
+
export {
|
|
9
|
+
u as ModelEntryDoorGuidePlugin,
|
|
10
|
+
n as default
|
|
11
|
+
};
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import { Subscribe as
|
|
1
|
+
import { Subscribe as y, Five as s } from "@realsee/five";
|
|
2
2
|
import L from "./ItemLabelComponent.js";
|
|
3
3
|
import { DISPLAY_STRATEGY_TYPE as g } from "./typings.js";
|
|
4
4
|
import { parseModelItemLabelPluginData as E } from "./utils/parseData.js";
|
|
5
|
-
|
|
5
|
+
import "../vendor/svelte/internal/index.js";
|
|
6
|
+
import "three";
|
|
7
|
+
import "./ItemLabelItem.js";
|
|
8
|
+
import "classnames";
|
|
9
|
+
import "../shared-utils/debounce.js";
|
|
10
|
+
const C = (n, o) => {
|
|
6
11
|
var a, d;
|
|
7
12
|
const e = {
|
|
8
13
|
container: document.createElement("div"),
|
|
@@ -12,7 +17,7 @@ const T = (t, o) => {
|
|
|
12
17
|
itemLabels: [],
|
|
13
18
|
wrapper: null,
|
|
14
19
|
app: void 0,
|
|
15
|
-
hooks: new
|
|
20
|
+
hooks: new y(),
|
|
16
21
|
modelOcclusionEnable: (a = o == null ? void 0 : o.modelOcclusionEnable) != null ? a : !0,
|
|
17
22
|
displayStrategyType: (d = o == null ? void 0 : o.displayStrategyType) != null ? d : g.SMALL
|
|
18
23
|
};
|
|
@@ -24,24 +29,24 @@ const T = (t, o) => {
|
|
|
24
29
|
height: 100%;
|
|
25
30
|
z-index: 5;
|
|
26
31
|
`, e.container.style.pointerEvents = "none";
|
|
27
|
-
const p = (
|
|
28
|
-
e.itemLabels = E(
|
|
29
|
-
}, u = () => (e.enabled || (e.enabled = !0,
|
|
30
|
-
|
|
31
|
-
},
|
|
32
|
-
var
|
|
32
|
+
const p = (t) => (e.wrapper = t, t.appendChild(e.container), r(), !0), c = (t) => {
|
|
33
|
+
e.itemLabels = E(t), r();
|
|
34
|
+
}, u = () => (e.enabled || (e.enabled = !0, r()), !0), b = () => (e.enabled && (e.enabled = !1, r()), !0), i = () => {
|
|
35
|
+
f(), e.container.remove();
|
|
36
|
+
}, r = () => {
|
|
37
|
+
var t;
|
|
33
38
|
if (!!e.wrapper) {
|
|
34
39
|
if (!e.enabled || !e.fiveModeEnabled) {
|
|
35
|
-
(
|
|
40
|
+
(t = e.app) == null || t.$destroy(), e.app = void 0;
|
|
36
41
|
return;
|
|
37
42
|
}
|
|
38
43
|
e.app ? e.app.$set({
|
|
39
|
-
five:
|
|
44
|
+
five: n,
|
|
40
45
|
itemLabels: e.itemLabels
|
|
41
46
|
}) : e.app = new L({
|
|
42
47
|
target: e.container,
|
|
43
48
|
props: {
|
|
44
|
-
five:
|
|
49
|
+
five: n,
|
|
45
50
|
modelOcclusionEnable: e.modelOcclusionEnable,
|
|
46
51
|
itemLabels: e.itemLabels,
|
|
47
52
|
wrapper: e.wrapper,
|
|
@@ -51,17 +56,17 @@ const T = (t, o) => {
|
|
|
51
56
|
});
|
|
52
57
|
}
|
|
53
58
|
}, m = () => {
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
},
|
|
59
|
+
n.on("modeChange", l), n.once("dispose", i);
|
|
60
|
+
}, f = () => {
|
|
61
|
+
n.off("modeChange", l);
|
|
62
|
+
}, l = (t) => {
|
|
58
63
|
if (!!e.enabled) {
|
|
59
|
-
if (
|
|
60
|
-
e.fiveModeEnabled = !1,
|
|
64
|
+
if (t !== s.Mode.Floorplan) {
|
|
65
|
+
e.fiveModeEnabled = !1, r();
|
|
61
66
|
return;
|
|
62
67
|
}
|
|
63
|
-
|
|
64
|
-
e.fiveModeEnabled =
|
|
68
|
+
n.once("initAnimationEnded", () => {
|
|
69
|
+
e.fiveModeEnabled = n.currentMode === s.Mode.Floorplan, r();
|
|
65
70
|
});
|
|
66
71
|
}
|
|
67
72
|
};
|
|
@@ -70,10 +75,11 @@ const T = (t, o) => {
|
|
|
70
75
|
load: c,
|
|
71
76
|
enable: u,
|
|
72
77
|
disable: b,
|
|
73
|
-
dispose:
|
|
78
|
+
dispose: i,
|
|
74
79
|
hooks: e.hooks
|
|
75
80
|
};
|
|
76
81
|
};
|
|
77
82
|
export {
|
|
78
|
-
|
|
83
|
+
C as ModelItemLabelPlugin,
|
|
84
|
+
C as default
|
|
79
85
|
};
|
|
@@ -1,11 +1,21 @@
|
|
|
1
|
+
import "./ModelItemLabelPlugin.js";
|
|
2
|
+
import { ModelItemLabelPlugin as I, ModelItemLabelPlugin as L } from "./ModelItemLabelPlugin.js";
|
|
3
|
+
import { DISPLAY_STRATEGY_TYPE as g } from "./typings.js";
|
|
1
4
|
import "@realsee/five";
|
|
5
|
+
import "./ItemLabelComponent.js";
|
|
2
6
|
import "../vendor/svelte/internal/index.js";
|
|
3
7
|
import "three";
|
|
8
|
+
import "./ItemLabelItem.js";
|
|
4
9
|
import "classnames";
|
|
5
|
-
|
|
10
|
+
import "../shared-utils/debounce.js";
|
|
11
|
+
import "./utils/parseData.js";
|
|
12
|
+
const P = {
|
|
6
13
|
name: "ModelItemLabelPlugin",
|
|
7
14
|
version: 0
|
|
8
15
|
};
|
|
9
16
|
export {
|
|
10
|
-
|
|
17
|
+
g as DISPLAY_STRATEGY_TYPE,
|
|
18
|
+
I as ModelItemLabelPlugin,
|
|
19
|
+
L as default,
|
|
20
|
+
P as modelItemLabelPluginServerParams
|
|
11
21
|
};
|
|
@@ -3,7 +3,11 @@ var n = (t, e, o) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var i = (t, e, o) => (n(t, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
4
|
import r from "./RoomLabelItems.js";
|
|
5
5
|
import { parseModelRoomLabelPluginData as a } from "./utils/parseData.js";
|
|
6
|
-
|
|
6
|
+
import "../vendor/svelte/internal/index.js";
|
|
7
|
+
import "three";
|
|
8
|
+
import "./RoomLabelItem.js";
|
|
9
|
+
import "./Assets/roomLabelBg.js";
|
|
10
|
+
class c {
|
|
7
11
|
constructor(e) {
|
|
8
12
|
i(this, "five");
|
|
9
13
|
i(this, "enabled", !0);
|
|
@@ -56,5 +60,5 @@ class p {
|
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
export {
|
|
59
|
-
|
|
63
|
+
c as ModelRoomLabelController
|
|
60
64
|
};
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { ModelRoomLabelController as e } from "./Controller.js";
|
|
2
|
-
|
|
2
|
+
import "./RoomLabelItems.js";
|
|
3
|
+
import "../vendor/svelte/internal/index.js";
|
|
4
|
+
import "three";
|
|
5
|
+
import "./RoomLabelItem.js";
|
|
6
|
+
import "./Assets/roomLabelBg.js";
|
|
7
|
+
import "./utils/parseData.js";
|
|
8
|
+
const p = (o) => new e(o), d = {
|
|
3
9
|
name: "ModelRoomLabelPlugin",
|
|
4
10
|
version: 0
|
|
5
11
|
};
|
|
6
12
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
13
|
+
p as ModelRoomLabelPlugin,
|
|
14
|
+
p as default,
|
|
15
|
+
d as modelRoomLabelPluginServerParams
|
|
9
16
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|