@realsee/dnalogel 3.40.4 → 3.41.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/README.md +116 -0
- package/dist/CruisePlugin/BaseController.d.ts +0 -2
- package/dist/CurrentPanoImagePlugin/Controller.d.ts +1 -0
- package/dist/GuideLinePlugin/typing.d.ts +1 -0
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +5 -0
- package/dist/base/BasePlugin.d.ts +2 -0
- package/dist/index.cjs.js +73 -69
- package/dist/index.js +6404 -6284
- package/dist/index.umd.js +63 -59
- package/dist/shared-utils/Utils/FiveUtil.d.ts +1 -0
- package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -0
- package/dist/shared-utils/five/getFiveModel.d.ts +2 -0
- package/dist/shared-utils/math/intersecting.d.ts +25 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/custom.css +0 -0
- package/docs/assets/highlight.css +127 -0
- package/docs/assets/main.js +58 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1367 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +731 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +694 -0
- package/docs/classes/CSS3DRender.html +778 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +481 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +894 -0
- package/docs/classes/Magnifier.html +485 -0
- package/docs/classes/ModelRoomLabelController.html +403 -0
- package/docs/classes/MoveController.html +681 -0
- package/docs/classes/Object3DHelperController.html +645 -0
- package/docs/classes/PaintBrush.html +507 -0
- package/docs/classes/PanoMeasurePluginLine.html +527 -0
- package/docs/classes/PanoMeasurePluginModel.html +576 -0
- package/docs/classes/PanoMeasurePluginPoint.html +367 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +572 -0
- package/docs/classes/PanoTagPluginController.html +1132 -0
- package/docs/classes/Util.BetterTween.html +421 -0
- package/docs/classes/Util.Interval.html +437 -0
- package/docs/classes/Util.LineSegments.html +389 -0
- package/docs/classes/Util.Magnifier.html +508 -0
- package/docs/classes/Util.Object3D.html +411 -0
- package/docs/classes/Util.PointDomHelper.html +412 -0
- package/docs/classes/Util.PointHelper.html +403 -0
- package/docs/classes/Util.PointSelectorHelper.html +459 -0
- package/docs/classes/Util.Rectangle.html +460 -0
- package/docs/classes/WalkController.html +700 -0
- package/docs/enums/CameraMovementEffect.html +315 -0
- package/docs/enums/ContentType.html +461 -0
- package/docs/enums/DIRECTION.html +325 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +325 -0
- package/docs/enums/DimensionType.html +315 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +318 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +325 -0
- package/docs/enums/PaintBrushTypeEnum.html +318 -0
- package/docs/enums/PointType.html +315 -0
- package/docs/enums/Rotation.html +322 -0
- package/docs/functions/AreaMakerPlugin.html +295 -0
- package/docs/functions/CSS3DRenderPlugin.html +293 -0
- package/docs/functions/CameraMovementPlugin.html +298 -0
- package/docs/functions/CruisePlugin.html +295 -0
- package/docs/functions/CurrentPanoImagePlugin.html +295 -0
- package/docs/functions/GuideLinePlugin.html +295 -0
- package/docs/functions/ItemLabelPlugin.html +295 -0
- package/docs/functions/MapviewFloorplanPlugin.html +295 -0
- package/docs/functions/ModelChassisCompassPlugin.html +298 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +298 -0
- package/docs/functions/ModelFloorplanPlugin.html +295 -0
- package/docs/functions/ModelItemLabelPlugin.html +295 -0
- package/docs/functions/ModelRoomLabelPlugin.html +293 -0
- package/docs/functions/ModelTVVideoPlugin.html +295 -0
- package/docs/functions/ModelViewPlugin.html +298 -0
- package/docs/functions/MovePlugin.html +295 -0
- package/docs/functions/Object3DHelperPlugin.html +293 -0
- package/docs/functions/PanoCompassPlugin.html +295 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +299 -0
- package/docs/functions/PanoDoorLabelPlugin.html +295 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +295 -0
- package/docs/functions/PanoMeasurePlugin.html +295 -0
- package/docs/functions/PanoRulerPlugin.html +298 -0
- package/docs/functions/PanoRulerProPlugin.html +298 -0
- package/docs/functions/PanoSpatialTagPlugin.html +298 -0
- package/docs/functions/PanoTagPlugin.html +300 -0
- package/docs/functions/PanoVideoPlugin.html +304 -0
- package/docs/functions/PipelinePlugin.html +293 -0
- package/docs/functions/TopviewFloorplanPlugin.html +295 -0
- package/docs/functions/Util.absoluteUrl.html +331 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +334 -0
- package/docs/functions/Util.equal.html +343 -0
- package/docs/functions/Util.getCoordsFromClient.html +333 -0
- package/docs/functions/Util.getCoordsFromElement.html +333 -0
- package/docs/functions/Util.getFrameTime.html +325 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +333 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +333 -0
- package/docs/functions/Util.isAbsoluteURL.html +326 -0
- package/docs/functions/Util.isModelLike.html +326 -0
- package/docs/functions/Util.isNil.html +334 -0
- package/docs/functions/Util.isPanoramaLike.html +326 -0
- package/docs/functions/Util.nextFrame.html +339 -0
- package/docs/functions/Util.notNil.html +334 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +355 -0
- package/docs/functions/Util.tweenProgress.html +328 -0
- package/docs/functions/Util.uuid.html +324 -0
- package/docs/functions/pluginFlag.html +293 -0
- package/docs/index.html +358 -0
- package/docs/interfaces/AddTagConfig.html +308 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +335 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +340 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +626 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +339 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +397 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +382 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +339 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +332 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +331 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +360 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +454 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +330 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +363 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +364 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +366 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +724 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +390 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +426 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +416 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +356 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +324 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +392 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +387 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +526 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +328 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +320 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +342 -0
- package/docs/interfaces/EventMap.html +547 -0
- package/docs/interfaces/FloorplanBounding.html +337 -0
- package/docs/interfaces/FloorplanData.html +340 -0
- package/docs/interfaces/FloorplanEntrance.html +365 -0
- package/docs/interfaces/FloorplanExtraObject.html +355 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +344 -0
- package/docs/interfaces/FloorplanFloorData.html +333 -0
- package/docs/interfaces/FloorplanImagePosition.html +319 -0
- package/docs/interfaces/FloorplanObserver.html +337 -0
- package/docs/interfaces/FloorplanOutlineItem.html +333 -0
- package/docs/interfaces/FloorplanPosition.html +319 -0
- package/docs/interfaces/FloorplanRoomItem.html +407 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +325 -0
- package/docs/interfaces/FloorplanServerBounding.html +337 -0
- package/docs/interfaces/FloorplanServerComputedData.html +336 -0
- package/docs/interfaces/FloorplanServerData.html +319 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +336 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +322 -0
- package/docs/interfaces/FloorplanServerEntrance.html +365 -0
- package/docs/interfaces/FloorplanServerFloorData.html +333 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +319 -0
- package/docs/interfaces/FloorplanServerObserver.html +337 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +333 -0
- package/docs/interfaces/FloorplanServerPosition.html +319 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +419 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +325 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +328 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +367 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +531 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +362 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +353 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +452 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +342 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +352 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +522 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +349 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +532 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +314 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +335 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +360 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +376 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +358 -0
- package/docs/interfaces/HelperOffset.html +337 -0
- package/docs/interfaces/ImagePlaneGroup.html +311 -0
- package/docs/interfaces/ItemLabelPluginData.html +308 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +393 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +329 -0
- package/docs/interfaces/MinMax.html +315 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +315 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +351 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +315 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +322 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +359 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +308 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +393 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +315 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +308 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +329 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +353 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +308 -0
- package/docs/interfaces/ModelViewPluginExportType.html +421 -0
- package/docs/interfaces/Object3DHelperState.html +322 -0
- package/docs/interfaces/ObjectHelperControllers.html +329 -0
- package/docs/interfaces/PaintBrushAction.html +368 -0
- package/docs/interfaces/PaintBrushConfigs.html +366 -0
- package/docs/interfaces/PaintBrushState.html +350 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +430 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +287 -0
- package/docs/interfaces/PanoMeasureParameterType.html +454 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +322 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +319 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +315 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +325 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +382 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +331 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +322 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +358 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +328 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +315 -0
- package/docs/interfaces/PanoRulerProPluginState.html +322 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +301 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +290 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +358 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +340 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +436 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +336 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +357 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +343 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +336 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +328 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +346 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +319 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +425 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +319 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +354 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +373 -0
- package/docs/interfaces/Point.html +322 -0
- package/docs/interfaces/Room.html +329 -0
- package/docs/interfaces/RoomInfo.html +315 -0
- package/docs/interfaces/RoomLabel.html +391 -0
- package/docs/interfaces/RoomRules.html +290 -0
- package/docs/interfaces/Rooms.html +290 -0
- package/docs/interfaces/Scissor.html +349 -0
- package/docs/interfaces/State.html +336 -0
- package/docs/interfaces/TagCacheInterface.html +367 -0
- package/docs/interfaces/TagConfig.html +570 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +311 -0
- package/docs/interfaces/TagIconUrl.html +368 -0
- package/docs/interfaces/TagObjectGroup.html +311 -0
- package/docs/interfaces/TagStyle.html +321 -0
- package/docs/interfaces/Tags.html +2825 -0
- package/docs/interfaces/TemporaryState.html +308 -0
- package/docs/interfaces/Util.MagnifierParameter.html +396 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +355 -0
- package/docs/interfaces/Util.PointIntersection.html +370 -0
- package/docs/modules/AreaMakerPluginType.html +330 -0
- package/docs/modules/CruisePluginTypes.html +333 -0
- package/docs/modules/CurrentPanoImagePluginType.html +302 -0
- package/docs/modules/GuideLineItem.html +294 -0
- package/docs/modules/GuideLineModeItem.html +299 -0
- package/docs/modules/GuideLinePluginType.html +355 -0
- package/docs/modules/PanoVideoPluginType.html +306 -0
- package/docs/modules/Util.html +356 -0
- package/docs/modules.html +564 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +359 -0
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +325 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +307 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +307 -0
- package/docs/types/ArrayPosition.html +284 -0
- package/docs/types/AudioAppearance.html +284 -0
- package/docs/types/AudioTagTypeConfigKey.html +284 -0
- package/docs/types/CSS3DRenderExportType.html +284 -0
- package/docs/types/CSS3DRenderPluginExportType.html +284 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +284 -0
- package/docs/types/ClassFunctionParameters.html +291 -0
- package/docs/types/Color.html +284 -0
- package/docs/types/ContentTypeConfigKey.html +284 -0
- package/docs/types/ContentTypeConfigKeySplit.html +284 -0
- package/docs/types/ContentTypeMap.html +284 -0
- package/docs/types/Create3DDomContainerReturnType.html +284 -0
- package/docs/types/Create3DElementReturnType.html +284 -0
- package/docs/types/CruisePluginExportType.html +284 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +323 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +300 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +284 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +296 -0
- package/docs/types/DeprecatedTagProperty.html +299 -0
- package/docs/types/Direction-1.html +284 -0
- package/docs/types/Direction4.html +284 -0
- package/docs/types/ElementRenderer.html +308 -0
- package/docs/types/FloorplanRuleLabels.html +287 -0
- package/docs/types/FloorplanServerRuleLabels.html +284 -0
- package/docs/types/GuideLinePluginExportType.html +284 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +357 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +378 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +311 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +314 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +314 -0
- package/docs/types/GuideLinePluginType.PathItem.html +314 -0
- package/docs/types/GuideLinePluginType.PluginData.html +323 -0
- package/docs/types/HelperEventMap.html +429 -0
- package/docs/types/InternalHelperEventMap.html +380 -0
- package/docs/types/LoadTagConfig.html +284 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +284 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +284 -0
- package/docs/types/MediaData.html +305 -0
- package/docs/types/MediaStore.html +289 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +291 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +284 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +284 -0
- package/docs/types/ModelId.html +284 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +284 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +284 -0
- package/docs/types/MoveArgs.html +294 -0
- package/docs/types/MoveOpts.html +292 -0
- package/docs/types/Object3DHelperEventMap.html +377 -0
- package/docs/types/ObjectFit.html +284 -0
- package/docs/types/PaintBrushEventMap.html +315 -0
- package/docs/types/PanoCompassPluginData.html +284 -0
- package/docs/types/PanoCompassPluginExportType.html +284 -0
- package/docs/types/PanoCompassPluginParameterType.html +284 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +284 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +284 -0
- package/docs/types/PanoIndex.html +284 -0
- package/docs/types/PanoMeasurePluginEvent.html +284 -0
- package/docs/types/PanoMeasureReturnType.html +284 -0
- package/docs/types/PanoSpatialTagPluginId.html +284 -0
- package/docs/types/PanoTagPluginExportInterface.html +284 -0
- package/docs/types/PanoTagPluginParamsInterface.html +284 -0
- package/docs/types/PanoVideoPluginParameterType.html +284 -0
- package/docs/types/PanoVideoPluginReturnType.html +284 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +292 -0
- package/docs/types/PipelinePluginParameterType.html +284 -0
- package/docs/types/PipelinePluginReturnType.html +284 -0
- package/docs/types/PlaneTag.html +292 -0
- package/docs/types/Point2DTag.html +292 -0
- package/docs/types/Point3DTag.html +292 -0
- package/docs/types/PointTag.html +289 -0
- package/docs/types/PointTagInstance.html +289 -0
- package/docs/types/Position.html +284 -0
- package/docs/types/RotateArgs.html +296 -0
- package/docs/types/RotateOpts.html +292 -0
- package/docs/types/RuleLabelsKey.html +284 -0
- package/docs/types/RuleLabelsValue.html +284 -0
- package/docs/types/StickType.html +284 -0
- package/docs/types/Tag.html +350 -0
- package/docs/types/Tag2D.html +292 -0
- package/docs/types/Tag3D.html +292 -0
- package/docs/types/TagConfigByKey.html +289 -0
- package/docs/types/TagContentType.html +284 -0
- package/docs/types/TagContentTypeMapping.html +284 -0
- package/docs/types/TagDimensionType.html +286 -0
- package/docs/types/TagElement.html +294 -0
- package/docs/types/TagEvents.html +337 -0
- package/docs/types/TagGLTFObject.html +307 -0
- package/docs/types/TagHooks.html +284 -0
- package/docs/types/TagId.html +284 -0
- package/docs/types/TagInstance.html +362 -0
- package/docs/types/TagPointType.html +287 -0
- package/docs/types/TagRendererMap.html +291 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +284 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +284 -0
- package/docs/types/WorkCode.html +284 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +294 -0
- package/docs/variables/PLUGIN.html +284 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +287 -0
- package/docs/variables/ROOM_TYPE_MAP.html +294 -0
- package/docs/variables/defaultGlobalConfig.html +284 -0
- package/docs/variables/itemLabelPluginServerParams.html +291 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +291 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +291 -0
- package/libs/AreaMakerPlugin/Controller.js +6 -4
- package/libs/AreaMakerPlugin/index.js +5 -3
- package/libs/AreaMakerPlugin/utils/Item.js +2 -2
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CruisePlugin/BaseController.d.ts +0 -2
- package/libs/CruisePlugin/BaseController.js +36 -36
- package/libs/CruisePlugin/Move.js +6 -4
- package/libs/CruisePlugin/Work.js +6 -4
- package/libs/CruisePlugin/index.js +10 -8
- package/libs/CurrentPanoImagePlugin/Controller.d.ts +1 -0
- package/libs/CurrentPanoImagePlugin/Controller.js +13 -11
- package/libs/CurrentPanoImagePlugin/index.js +6 -4
- package/libs/GuideLinePlugin/Controller.js +8 -6
- package/libs/GuideLinePlugin/GuideLineItem.js +6 -4
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +74 -57
- package/libs/GuideLinePlugin/GuideLineModeItem.js +6 -3
- package/libs/GuideLinePlugin/index.js +10 -8
- package/libs/GuideLinePlugin/typing.d.ts +1 -0
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +5 -0
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +123 -57
- package/libs/ModelMakerPlugin/Controller.js +5 -3
- package/libs/ModelMakerPlugin/index.js +5 -3
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +7 -6
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/Object3DHelperPlugin/Controller.js +16 -14
- package/libs/Object3DHelperPlugin/index.js +8 -6
- package/libs/PanoCompassPlugin/Controller.js +5 -3
- package/libs/PanoCompassPlugin/index.js +6 -4
- package/libs/PanoDoorLabelPlugin/BaseController.js +9 -7
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -3
- package/libs/PanoDoorLabelPlugin/index.js +6 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -2
- package/libs/PanoMeasurePlugin/Components/Controller1.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +35 -34
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +50 -49
- package/libs/PanoMeasurePlugin/Controller/index.js +5 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +4 -3
- package/libs/PanoMeasurePlugin/index.js +16 -14
- package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/controller/TagCache.js +11 -9
- package/libs/PanoTagPlugin/controller/TagComputer.js +12 -10
- package/libs/PanoTagPlugin/controller/TagRender.js +5 -3
- package/libs/PanoTagPlugin/controller/TagUtil.js +5 -3
- package/libs/PanoTagPlugin/controller/index.js +8 -6
- package/libs/PanoTagPlugin/index.js +14 -12
- package/libs/PanoVideoPlugin/Controller.js +5 -3
- package/libs/PanoVideoPlugin/index.js +8 -6
- package/libs/PipelinePlugin/Controller.js +25 -23
- package/libs/PipelinePlugin/index.js +6 -4
- package/libs/base/BasePlugin.d.ts +2 -0
- package/libs/base/BasePlugin.js +14 -13
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +14 -11
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -3
- package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -3
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -4
- package/libs/index.js +129 -127
- package/libs/shared-utils/Utils/FiveUtil.d.ts +1 -0
- package/libs/shared-utils/Utils/FiveUtil.js +11 -7
- package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -0
- package/libs/shared-utils/five/FiveDomEvents.js +46 -42
- package/libs/shared-utils/five/fiveModelLoad.js +26 -17
- package/libs/shared-utils/five/getFiveModel.d.ts +2 -0
- package/libs/shared-utils/five/getFiveModel.js +7 -0
- package/libs/shared-utils/five/getPosition.js +24 -23
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/intersecting.d.ts +25 -0
- package/libs/shared-utils/math/intersecting.js +25 -0
- package/libs/shared-utils/tag.js +10 -9
- package/libs/shared-utils/three/getIntersect.js +19 -18
- package/package.json +2 -2
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +0 -2
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +0 -31
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PanoVideoPluginController as r } from "./Controller.js";
|
|
2
|
-
import { typings as
|
|
2
|
+
import { typings as I } from "./typings/index.js";
|
|
3
3
|
import "./VideoMeshController.js";
|
|
4
4
|
import "./utils/shader.js";
|
|
5
5
|
import "hammerjs";
|
|
@@ -26,12 +26,14 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
26
26
|
import "./utils/index.js";
|
|
27
27
|
import "../base/BasePlugin.js";
|
|
28
28
|
import "../shared-utils/url/absoluteUrl.js";
|
|
29
|
-
import "../shared-utils/Utils/
|
|
29
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
30
30
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
31
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
31
32
|
import "../shared-utils/five/transformPosition.js";
|
|
32
|
-
|
|
33
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
34
|
+
const F = (o) => new r(o);
|
|
33
35
|
export {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
F as PanoVideoPlugin,
|
|
37
|
+
I as PanoVideoPluginType,
|
|
38
|
+
F as default
|
|
37
39
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
var j = Object.defineProperty;
|
|
2
2
|
var v = Object.getOwnPropertySymbols;
|
|
3
3
|
var P = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var A = (
|
|
4
|
+
var A = (c, n, e) => n in c ? j(c, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[n] = e, m = (c, n) => {
|
|
5
5
|
for (var e in n || (n = {}))
|
|
6
|
-
P.call(n, e) && A(
|
|
6
|
+
P.call(n, e) && A(c, e, n[e]);
|
|
7
7
|
if (v)
|
|
8
8
|
for (var e of v(n))
|
|
9
|
-
_.call(n, e) && A(
|
|
10
|
-
return
|
|
9
|
+
_.call(n, e) && A(c, e, n[e]);
|
|
10
|
+
return c;
|
|
11
11
|
};
|
|
12
|
-
var u = (
|
|
13
|
-
var d = (
|
|
12
|
+
var u = (c, n, e) => (A(c, typeof n != "symbol" ? n + "" : n, e), e);
|
|
13
|
+
var d = (c, n, e) => new Promise((t, i) => {
|
|
14
14
|
var s = (a) => {
|
|
15
15
|
try {
|
|
16
16
|
o(e.next(a));
|
|
17
|
-
} catch (
|
|
18
|
-
i(
|
|
17
|
+
} catch (p) {
|
|
18
|
+
i(p);
|
|
19
19
|
}
|
|
20
20
|
}, r = (a) => {
|
|
21
21
|
try {
|
|
22
22
|
o(e.throw(a));
|
|
23
|
-
} catch (
|
|
24
|
-
i(
|
|
23
|
+
} catch (p) {
|
|
24
|
+
i(p);
|
|
25
25
|
}
|
|
26
26
|
}, o = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(s, r);
|
|
27
|
-
o((e = e.apply(
|
|
27
|
+
o((e = e.apply(c, n)).next());
|
|
28
28
|
});
|
|
29
29
|
import * as F from "three";
|
|
30
30
|
import { Controller as S } from "../base/BasePluginWithData.js";
|
|
@@ -54,9 +54,11 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
54
54
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
55
55
|
import "animejs";
|
|
56
56
|
import "../shared-utils/url/absoluteUrl.js";
|
|
57
|
-
import "../shared-utils/Utils/
|
|
57
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
58
58
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
59
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
59
60
|
import "../shared-utils/five/transformPosition.js";
|
|
61
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
60
62
|
import "../shared-utils/isTruelyObject.js";
|
|
61
63
|
import "../shared-utils/animationFrame/index.js";
|
|
62
64
|
import "./utils/Objects/Pipe.js";
|
|
@@ -65,7 +67,7 @@ import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
|
65
67
|
import "../shared-utils/three/Extras/Core/Interpolations.js";
|
|
66
68
|
import "../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
67
69
|
const g = { flowSpeed: 0.6, rotateSpeed: 0 };
|
|
68
|
-
class
|
|
70
|
+
class Ae extends S {
|
|
69
71
|
constructor(e) {
|
|
70
72
|
super(e);
|
|
71
73
|
// ==================== public properties ====================
|
|
@@ -94,12 +96,12 @@ class be extends S {
|
|
|
94
96
|
const [t] = e, i = t.intersectObjects(this.pipeObjects, !1);
|
|
95
97
|
if (i.length === 0 || !this.data)
|
|
96
98
|
return;
|
|
97
|
-
const o = i[0].object.customID, a = this.data.pipes.find(({ id: h }) => h === o),
|
|
98
|
-
if (!(!a || !
|
|
99
|
+
const o = i[0].object.customID, a = this.data.pipes.find(({ id: h }) => h === o), p = this.data.pipelines.find((h) => a && h.pipes.includes(a));
|
|
100
|
+
if (!(!a || !p))
|
|
99
101
|
return this.hooks.emit("tap", {
|
|
100
102
|
intersectObjects: i,
|
|
101
103
|
pipe: a,
|
|
102
|
-
pipeline:
|
|
104
|
+
pipeline: p,
|
|
103
105
|
wantsFiveTapGestureParams: e
|
|
104
106
|
}), !1;
|
|
105
107
|
});
|
|
@@ -125,13 +127,13 @@ class be extends S {
|
|
|
125
127
|
return d(this, null, function* () {
|
|
126
128
|
const r = this.data;
|
|
127
129
|
this.data = yield this.formatData(e, s), this.removeAllPipes(), this.hooks.emit("dataChange", this.data, r), this.pipeObjects = yield Promise.all(
|
|
128
|
-
this.data.pipes.filter((o) => !!(o != null && o.texture)).map((b) => d(this, [b], function* ({ id: o, texture: a, path:
|
|
129
|
-
const l = yield this.loadPipeTexture(a), f = { id: o, path:
|
|
130
|
+
this.data.pipes.filter((o) => !!(o != null && o.texture)).map((b) => d(this, [b], function* ({ id: o, texture: a, path: p, radius: h }) {
|
|
131
|
+
const l = yield this.loadPipeTexture(a), f = { id: o, path: p, textureURL: a, texture: l, geometryConfig: { radius: h } };
|
|
130
132
|
return new D(f);
|
|
131
133
|
}))
|
|
132
134
|
), this.data.pipelines.forEach((o) => {
|
|
133
|
-
o.pipes.reduce((a,
|
|
134
|
-
const h = this.findPipeObjectWithID(
|
|
135
|
+
o.pipes.reduce((a, p) => {
|
|
136
|
+
const h = this.findPipeObjectWithID(p.id);
|
|
135
137
|
return h == null || h.setInitialDisplacement(a), a + ((h == null ? void 0 : h.pathLength) || 0);
|
|
136
138
|
}, 0);
|
|
137
139
|
}), this.hooks.emit("dataLoaded", this.data), this.state.visible === !1 && this.pipeObjects.forEach((o) => o.setOpacity(0)), this.state.enabled && (this.group.add(...this.pipeObjects), this.five.needsRender = !0), t && this.setState(t, { userAction: i });
|
|
@@ -228,10 +230,10 @@ class be extends S {
|
|
|
228
230
|
* */
|
|
229
231
|
switchPipelines(e) {
|
|
230
232
|
return d(this, null, function* () {
|
|
231
|
-
var
|
|
233
|
+
var p, h, b, l, f, w;
|
|
232
234
|
if (!this.data)
|
|
233
235
|
return;
|
|
234
|
-
const t = (
|
|
236
|
+
const t = (p = e == null ? void 0 : e.target) != null ? p : null, i = (h = e == null ? void 0 : e.userAction) != null ? h : !0;
|
|
235
237
|
this.updateState({ target: t }, i);
|
|
236
238
|
const s = { duration: 500 }, r = (l = (b = e == null ? void 0 : e.hideAnime) != null ? b : e == null ? void 0 : e.anime) != null ? l : s, o = (w = (f = e == null ? void 0 : e.showAnime) != null ? f : e == null ? void 0 : e.anime) != null ? w : s, a = {
|
|
237
239
|
target: t,
|
|
@@ -345,5 +347,5 @@ class be extends S {
|
|
|
345
347
|
}
|
|
346
348
|
}
|
|
347
349
|
export {
|
|
348
|
-
|
|
350
|
+
Ae as Controller
|
|
349
351
|
};
|
|
@@ -22,9 +22,11 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
23
|
import "animejs";
|
|
24
24
|
import "../shared-utils/url/absoluteUrl.js";
|
|
25
|
-
import "../shared-utils/Utils/
|
|
25
|
+
import "../shared-utils/Utils/FiveUtil.js";
|
|
26
26
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
27
|
+
import "../shared-utils/Utils/WorkUtil.js";
|
|
27
28
|
import "../shared-utils/five/transformPosition.js";
|
|
29
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
28
30
|
import "../shared-utils/equal.js";
|
|
29
31
|
import "../shared-utils/isTruelyObject.js";
|
|
30
32
|
import "../shared-utils/isNil.js";
|
|
@@ -37,8 +39,8 @@ import "../shared-utils/animationFrame/BetterTween.js";
|
|
|
37
39
|
import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
|
|
38
40
|
import "../shared-utils/three/Extras/Core/Interpolations.js";
|
|
39
41
|
import "../shared-utils/three/Extras/Core/Interpolations2.js";
|
|
40
|
-
const
|
|
42
|
+
const R = (r) => new o(r);
|
|
41
43
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
R as PipelinePlugin,
|
|
45
|
+
R as default
|
|
44
46
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import { Subscribe } from '../shared-utils/Subscribe';
|
|
3
3
|
import { WorkUtil } from '../shared-utils/Utils/WorkUtil';
|
|
4
|
+
import { FiveUtil } from '../shared-utils/Utils/FiveUtil';
|
|
4
5
|
/**
|
|
5
6
|
* 基本属性字段
|
|
6
7
|
*/
|
|
@@ -60,6 +61,7 @@ declare abstract class Controller<PluginState extends State = State, PluginEvent
|
|
|
60
61
|
readonly NAME?: string;
|
|
61
62
|
five: Five;
|
|
62
63
|
workUtil: WorkUtil;
|
|
64
|
+
fiveUtil: FiveUtil;
|
|
63
65
|
set workCode(workCode: string);
|
|
64
66
|
get workCode(): string;
|
|
65
67
|
/**
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var s = (
|
|
3
|
-
var
|
|
1
|
+
var o = Object.defineProperty;
|
|
2
|
+
var s = (i, t, r) => t in i ? o(i, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[t] = r;
|
|
3
|
+
var e = (i, t, r) => (s(i, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
4
|
import { Subscribe as l } from "../shared-utils/Subscribe.js";
|
|
5
5
|
import "hammerjs";
|
|
6
6
|
import "three";
|
|
@@ -9,22 +9,23 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
|
9
9
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
10
10
|
import "animejs";
|
|
11
11
|
import { absoluteUrl as a } from "../shared-utils/url/absoluteUrl.js";
|
|
12
|
-
import {
|
|
13
|
-
let
|
|
12
|
+
import { FiveUtil as h } from "../shared-utils/Utils/FiveUtil.js";
|
|
13
|
+
let c = class {
|
|
14
14
|
constructor(t, r) {
|
|
15
15
|
/**
|
|
16
16
|
* @realsee/dnalogel 版本号
|
|
17
17
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
e(this, "VERSION", "3.41.1-alpha.0");
|
|
19
|
+
e(this, "NAME");
|
|
20
|
+
e(this, "five");
|
|
21
|
+
e(this, "workUtil");
|
|
22
|
+
e(this, "fiveUtil");
|
|
22
23
|
/**
|
|
23
24
|
* @description: 插件事件钩子
|
|
24
25
|
*/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
this.five = t, this.
|
|
26
|
+
e(this, "hooks", new l());
|
|
27
|
+
e(this, "staticPrefix", "//vr-image-4.realsee-cdn.cn");
|
|
28
|
+
this.five = t, this.fiveUtil = new h(t), this.workUtil = this.fiveUtil.workUtil, r != null && r.staticPrefix && (this.staticPrefix = r.staticPrefix);
|
|
28
29
|
}
|
|
29
30
|
set workCode(t) {
|
|
30
31
|
this.workUtil.workCode = t, this.onWorkCodeChange();
|
|
@@ -48,5 +49,5 @@ let x = class {
|
|
|
48
49
|
}
|
|
49
50
|
};
|
|
50
51
|
export {
|
|
51
|
-
|
|
52
|
+
c as Controller
|
|
52
53
|
};
|
|
@@ -30,9 +30,9 @@ var u = (d, r, t) => new Promise((e, i) => {
|
|
|
30
30
|
import * as b from "three";
|
|
31
31
|
import { to as M } from "../../shared-utils/to.js";
|
|
32
32
|
import { equal as y } from "../../shared-utils/equal.js";
|
|
33
|
-
import { Main as
|
|
33
|
+
import { Main as _ } from "../Components/Main.js";
|
|
34
34
|
import { formatData as S } from "../utils/formatData.js";
|
|
35
|
-
import { CAMERA_IMAGE as
|
|
35
|
+
import { CAMERA_IMAGE as L } from "../Assets/camera.js";
|
|
36
36
|
import { omit as C } from "../../shared-utils/filter.js";
|
|
37
37
|
import { FLOOR_PLAN_ATTACHED_TO as D } from "../constant.js";
|
|
38
38
|
import { Controller as O } from "../../base/BasePluginWithData.js";
|
|
@@ -44,6 +44,7 @@ import "hammerjs";
|
|
|
44
44
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
45
45
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
46
46
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
47
|
+
import { waitFiveModelLoaded as U } from "../../shared-utils/five/fiveModelLoad.js";
|
|
47
48
|
import "animejs";
|
|
48
49
|
import { isNil as z } from "../../shared-utils/isNil.js";
|
|
49
50
|
import "../../shared-utils/isTruelyObject.js";
|
|
@@ -78,9 +79,11 @@ import "../../shared-utils/tap.js";
|
|
|
78
79
|
import "../../base/BasePlugin.js";
|
|
79
80
|
import "../../shared-utils/Subscribe.js";
|
|
80
81
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
81
|
-
import "../../shared-utils/Utils/
|
|
82
|
+
import "../../shared-utils/Utils/FiveUtil.js";
|
|
82
83
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
84
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
83
85
|
import "../../shared-utils/five/transformPosition.js";
|
|
86
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
84
87
|
import "../../shared-utils/nearlyEqual.js";
|
|
85
88
|
import "../../shared-utils/five/changeMode.js";
|
|
86
89
|
import "../../shared-utils/positionToVector3.js";
|
|
@@ -104,7 +107,7 @@ function G(d) {
|
|
|
104
107
|
const { latitude: r, longitude: t } = d, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
105
108
|
return e && i;
|
|
106
109
|
}
|
|
107
|
-
class
|
|
110
|
+
class re extends O {
|
|
108
111
|
constructor(t, e) {
|
|
109
112
|
var a, f;
|
|
110
113
|
super(t);
|
|
@@ -191,7 +194,7 @@ class ie extends O {
|
|
|
191
194
|
var h;
|
|
192
195
|
if (!this.state.enabled)
|
|
193
196
|
return;
|
|
194
|
-
if (!((h = this.
|
|
197
|
+
if (!((h = this.fiveUtil.model) != null && h.loaded))
|
|
195
198
|
throw new Error(m.ModelNotLoaded);
|
|
196
199
|
if (!this.data)
|
|
197
200
|
throw new Error(m.DataNotLoaded);
|
|
@@ -216,7 +219,7 @@ class ie extends O {
|
|
|
216
219
|
throw a ? new Error(a) : new Error(m.UnknownError);
|
|
217
220
|
if (!this.updateSize())
|
|
218
221
|
throw new Error(m.UpdateSizeError);
|
|
219
|
-
this.updatePosition(), this.floorIndex = i.floorIndex, this.
|
|
222
|
+
this.updatePosition(), this.floorIndex = i.floorIndex, this.fiveUtil.model.show(this.floorIndex);
|
|
220
223
|
});
|
|
221
224
|
return this.isHiddenByHideFunc = !1, this.showPromise = n().then(() => {
|
|
222
225
|
this.showPromise = void 0, this.showRejection = void 0;
|
|
@@ -324,7 +327,7 @@ class ie extends O {
|
|
|
324
327
|
roomAreaEnable: !0,
|
|
325
328
|
roomNameEnable: !0,
|
|
326
329
|
roomDimensionEnable: !0,
|
|
327
|
-
cameraImageUrl:
|
|
330
|
+
cameraImageUrl: L,
|
|
328
331
|
attachedTo: D.BOUNDING_CENTER,
|
|
329
332
|
getLabelElement: void 0,
|
|
330
333
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
@@ -334,7 +337,7 @@ class ie extends O {
|
|
|
334
337
|
getRoomDimensionText: (c, g) => (c / 1e3).toFixed(1) + "m × " + (g / 1e3).toFixed(1) + "m",
|
|
335
338
|
getRuleDistanceText: (c) => c.toString()
|
|
336
339
|
}, n = e ? C(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), n.missingFloorConfig), s = p(l(l({}, i), n), { missingFloorConfig: h });
|
|
337
|
-
this.state = { enabled: !0, visible: !1, config: s }, this.initContainer(), t
|
|
340
|
+
this.state = { enabled: !0, visible: !1, config: s }, this.initContainer(), U(t).then(this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
338
341
|
}
|
|
339
342
|
load(t, e, i = !0) {
|
|
340
343
|
return u(this, null, function* () {
|
|
@@ -380,7 +383,7 @@ class ie extends O {
|
|
|
380
383
|
/** 更新户型图位置 */
|
|
381
384
|
updatePosition() {
|
|
382
385
|
var s;
|
|
383
|
-
const t = k(this.five, this.floorIndex, this.state.config.attachedTo), e = (s = this.
|
|
386
|
+
const t = k(this.five, this.floorIndex, this.state.config.attachedTo), e = (s = this.fiveUtil.model) == null ? void 0 : s.bounding.getCenter(new b.Vector3()).setY(t);
|
|
384
387
|
if (!e)
|
|
385
388
|
return;
|
|
386
389
|
const i = e.clone().project(this.five.camera), n = (i.x + 1) / 2, h = -(i.y - 1) / 2;
|
|
@@ -434,9 +437,9 @@ class ie extends O {
|
|
|
434
437
|
});
|
|
435
438
|
if (this.app)
|
|
436
439
|
return this.app.$set(e);
|
|
437
|
-
this.app = new
|
|
440
|
+
this.app = new _({ target: this.container, intro: !0, props: e });
|
|
438
441
|
}
|
|
439
442
|
}
|
|
440
443
|
export {
|
|
441
|
-
|
|
444
|
+
re as Controller
|
|
442
445
|
};
|
|
@@ -58,18 +58,21 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
58
58
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
59
59
|
import "animejs";
|
|
60
60
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
61
|
-
import "../../shared-utils/Utils/
|
|
61
|
+
import "../../shared-utils/Utils/FiveUtil.js";
|
|
62
62
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
63
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
63
64
|
import "../../shared-utils/five/transformPosition.js";
|
|
65
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
64
66
|
import "../../shared-utils/getPxmm.js";
|
|
65
67
|
import "../utils/correctFiveState.js";
|
|
66
68
|
import "../utils/constant.js";
|
|
67
69
|
import "../../shared-utils/nearlyEqual.js";
|
|
68
70
|
import "../../shared-utils/five/changeMode.js";
|
|
69
71
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
72
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
70
73
|
import "../../shared-utils/isNil.js";
|
|
71
|
-
const
|
|
74
|
+
const bo = (o, r) => new t(o, r);
|
|
72
75
|
export {
|
|
73
|
-
|
|
74
|
-
|
|
76
|
+
bo as MapviewFloorplanPlugin,
|
|
77
|
+
bo as default
|
|
75
78
|
};
|
|
@@ -78,9 +78,11 @@ import "../../shared-utils/tap.js";
|
|
|
78
78
|
import "../../base/BasePlugin.js";
|
|
79
79
|
import "../../shared-utils/Subscribe.js";
|
|
80
80
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
81
|
-
import "../../shared-utils/Utils/
|
|
81
|
+
import "../../shared-utils/Utils/FiveUtil.js";
|
|
82
82
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
83
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
83
84
|
import "../../shared-utils/five/transformPosition.js";
|
|
85
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
84
86
|
import "../../shared-utils/nearlyEqual.js";
|
|
85
87
|
import "../../shared-utils/five/changeMode.js";
|
|
86
88
|
import "../../shared-utils/positionToVector3.js";
|
|
@@ -104,7 +106,7 @@ function z(d) {
|
|
|
104
106
|
const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
105
107
|
return e && i;
|
|
106
108
|
}
|
|
107
|
-
class
|
|
109
|
+
class ne extends T {
|
|
108
110
|
constructor(t, e) {
|
|
109
111
|
var a, f, m;
|
|
110
112
|
super(t);
|
|
@@ -435,5 +437,5 @@ class oe extends T {
|
|
|
435
437
|
}
|
|
436
438
|
}
|
|
437
439
|
export {
|
|
438
|
-
|
|
440
|
+
ne as Controller
|
|
439
441
|
};
|
|
@@ -59,17 +59,19 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
59
59
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
60
60
|
import "animejs";
|
|
61
61
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
62
|
-
import "../../shared-utils/Utils/
|
|
62
|
+
import "../../shared-utils/Utils/FiveUtil.js";
|
|
63
63
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
64
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
64
65
|
import "../../shared-utils/five/transformPosition.js";
|
|
66
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
65
67
|
import "../utils/correctFiveState.js";
|
|
66
68
|
import "../utils/constant.js";
|
|
67
69
|
import "../../shared-utils/nearlyEqual.js";
|
|
68
70
|
import "../../shared-utils/five/changeMode.js";
|
|
69
71
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
70
72
|
import "../../shared-utils/isNil.js";
|
|
71
|
-
const
|
|
73
|
+
const bo = (o, r) => new t(o, r);
|
|
72
74
|
export {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
+
bo as ModelFloorplanPlugin,
|
|
76
|
+
bo as default
|
|
75
77
|
};
|
|
@@ -68,11 +68,13 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
68
68
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
69
69
|
import "animejs";
|
|
70
70
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
71
|
-
import "../../shared-utils/Utils/
|
|
71
|
+
import "../../shared-utils/Utils/FiveUtil.js";
|
|
72
72
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
73
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
73
74
|
import "../../shared-utils/five/transformPosition.js";
|
|
75
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
74
76
|
import "../Assets/floorplanExtraObject.js";
|
|
75
|
-
class
|
|
77
|
+
class St extends O {
|
|
76
78
|
constructor(t, i) {
|
|
77
79
|
super(t);
|
|
78
80
|
// =============== public properties =================
|
|
@@ -215,5 +217,5 @@ class vt extends O {
|
|
|
215
217
|
}
|
|
216
218
|
}
|
|
217
219
|
export {
|
|
218
|
-
|
|
220
|
+
St as Controller
|
|
219
221
|
};
|
|
@@ -39,13 +39,15 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
39
39
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
40
40
|
import "animejs";
|
|
41
41
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
42
|
-
import "../../shared-utils/Utils/
|
|
42
|
+
import "../../shared-utils/Utils/FiveUtil.js";
|
|
43
43
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
44
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
44
45
|
import "../../shared-utils/five/transformPosition.js";
|
|
46
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
45
47
|
import "../utils/formatData.js";
|
|
46
48
|
import "../Assets/floorplanExtraObject.js";
|
|
47
|
-
const
|
|
49
|
+
const Z = (o, r) => new t(o, r);
|
|
48
50
|
export {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
+
Z as PanoFloorplanRadarPlugin,
|
|
52
|
+
Z as default
|
|
51
53
|
};
|
|
@@ -76,9 +76,11 @@ import "../../shared-utils/tap.js";
|
|
|
76
76
|
import "../../base/BasePlugin.js";
|
|
77
77
|
import "../../shared-utils/Subscribe.js";
|
|
78
78
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
79
|
-
import "../../shared-utils/Utils/
|
|
79
|
+
import "../../shared-utils/Utils/FiveUtil.js";
|
|
80
80
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
81
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
81
82
|
import "../../shared-utils/five/transformPosition.js";
|
|
83
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
82
84
|
import "../../shared-utils/nearlyEqual.js";
|
|
83
85
|
import "../../shared-utils/to.js";
|
|
84
86
|
import "../../shared-utils/positionToVector3.js";
|
|
@@ -94,7 +96,7 @@ import "../../shared-utils/three/centerPoint.js";
|
|
|
94
96
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
95
97
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
96
98
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
97
|
-
class
|
|
99
|
+
class Qt extends M {
|
|
98
100
|
constructor(t, e) {
|
|
99
101
|
var h, p;
|
|
100
102
|
super(t);
|
|
@@ -367,5 +369,5 @@ class Yt extends M {
|
|
|
367
369
|
}
|
|
368
370
|
}
|
|
369
371
|
export {
|
|
370
|
-
|
|
372
|
+
Qt as Controller
|
|
371
373
|
};
|
|
@@ -57,17 +57,19 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
57
57
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
58
58
|
import "animejs";
|
|
59
59
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
60
|
-
import "../../shared-utils/Utils/
|
|
60
|
+
import "../../shared-utils/Utils/FiveUtil.js";
|
|
61
61
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
62
|
+
import "../../shared-utils/Utils/WorkUtil.js";
|
|
62
63
|
import "../../shared-utils/five/transformPosition.js";
|
|
64
|
+
import "../../shared-utils/five/getFiveModel.js";
|
|
63
65
|
import "../../shared-utils/five/changeMode.js";
|
|
64
66
|
import "../../shared-utils/nearlyEqual.js";
|
|
65
67
|
import "../../shared-utils/to.js";
|
|
66
68
|
import "../../shared-utils/getPxmm.js";
|
|
67
69
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
68
70
|
import "../../shared-utils/isNil.js";
|
|
69
|
-
const
|
|
71
|
+
const Fo = (o, r) => new t(o, r);
|
|
70
72
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
+
Fo as TopviewFloorplanPlugin,
|
|
74
|
+
Fo as default
|
|
73
75
|
};
|