@realsee/dnalogel 3.2.0 → 3.3.0-dev.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/PanoTagPlugin/controller/TagUtil.d.ts +8 -4
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +2 -2
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -3
- package/dist/index.cjs.js +55 -55
- package/dist/index.js +4088 -4068
- package/dist/index.umd.js +52 -52
- package/dist/shared-utils/five/getFloorIndex.d.ts +2 -8
- package/dist/shared-utils/five/transformPosition.d.ts +2 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +120 -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 +725 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +678 -0
- package/docs/classes/CSS3DRender.html +773 -0
- package/docs/classes/CruisePluginController.html +672 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +476 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +856 -0
- package/docs/classes/Magnifier.html +480 -0
- package/docs/classes/ModelRoomLabelController.html +398 -0
- package/docs/classes/Object3DHelperController.html +640 -0
- package/docs/classes/PaintBrush.html +502 -0
- package/docs/classes/PanoMeasurePluginLine.html +522 -0
- package/docs/classes/PanoMeasurePluginModel.html +571 -0
- package/docs/classes/PanoMeasurePluginPoint.html +362 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +567 -0
- package/docs/classes/PanoTagPluginController.html +1077 -0
- package/docs/classes/Util.BetterTween.html +416 -0
- package/docs/classes/Util.Interval.html +432 -0
- package/docs/classes/Util.LineSegments.html +384 -0
- package/docs/classes/Util.Magnifier.html +503 -0
- package/docs/classes/Util.Object3D.html +406 -0
- package/docs/classes/Util.PointDomHelper.html +407 -0
- package/docs/classes/Util.PointHelper.html +398 -0
- package/docs/classes/Util.PointSelectorHelper.html +454 -0
- package/docs/classes/Util.Rectangle.html +455 -0
- package/docs/enums/CameraMovementEffect.html +310 -0
- package/docs/enums/ContentType.html +446 -0
- package/docs/enums/DIRECTION.html +320 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +320 -0
- package/docs/enums/DimensionType.html +310 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +313 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +320 -0
- package/docs/enums/PaintBrushTypeEnum.html +313 -0
- package/docs/enums/PointType.html +310 -0
- package/docs/enums/Rotation.html +317 -0
- package/docs/functions/AreaMakerPlugin.html +290 -0
- package/docs/functions/CSS3DRenderPlugin.html +288 -0
- package/docs/functions/CameraMovementPlugin.html +293 -0
- package/docs/functions/CruisePlugin.html +290 -0
- package/docs/functions/CurrentPanoImagePlugin.html +290 -0
- package/docs/functions/GuideLinePlugin.html +290 -0
- package/docs/functions/ItemLabelPlugin.html +290 -0
- package/docs/functions/MapviewFloorplanPlugin.html +290 -0
- package/docs/functions/ModelChassisCompassPlugin.html +293 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +293 -0
- package/docs/functions/ModelFloorplanPlugin.html +290 -0
- package/docs/functions/ModelItemLabelPlugin.html +290 -0
- package/docs/functions/ModelRoomLabelPlugin.html +288 -0
- package/docs/functions/ModelTVVideoPlugin.html +290 -0
- package/docs/functions/ModelViewPlugin.html +293 -0
- package/docs/functions/Object3DHelperPlugin.html +288 -0
- package/docs/functions/PanoCompassPlugin.html +290 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +294 -0
- package/docs/functions/PanoDoorLabelPlugin.html +290 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +290 -0
- package/docs/functions/PanoMeasurePlugin.html +290 -0
- package/docs/functions/PanoRulerPlugin.html +293 -0
- package/docs/functions/PanoRulerProPlugin.html +293 -0
- package/docs/functions/PanoSpatialTagPlugin.html +293 -0
- package/docs/functions/PanoTagPlugin.html +295 -0
- package/docs/functions/PanoVideoPlugin.html +299 -0
- package/docs/functions/PipelinePlugin.html +288 -0
- package/docs/functions/TopviewFloorplanPlugin.html +290 -0
- package/docs/functions/Util.absoluteUrl.html +326 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +329 -0
- package/docs/functions/Util.equal.html +338 -0
- package/docs/functions/Util.getCoordsFromClient.html +328 -0
- package/docs/functions/Util.getCoordsFromElement.html +328 -0
- package/docs/functions/Util.getFrameTime.html +320 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +328 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +328 -0
- package/docs/functions/Util.isAbsoluteURL.html +321 -0
- package/docs/functions/Util.isModelLike.html +321 -0
- package/docs/functions/Util.isNil.html +329 -0
- package/docs/functions/Util.isPanoramaLike.html +321 -0
- package/docs/functions/Util.nextFrame.html +334 -0
- package/docs/functions/Util.notNil.html +329 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +350 -0
- package/docs/functions/Util.tweenProgress.html +323 -0
- package/docs/functions/Util.uuid.html +319 -0
- package/docs/functions/pluginFlag.html +288 -0
- package/docs/index.html +354 -0
- package/docs/interfaces/AddTagConfig.html +303 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +329 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +334 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +620 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +333 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +383 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +368 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +333 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +326 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +325 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +354 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +449 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +325 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +358 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +359 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +361 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +696 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +385 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +421 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +411 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +351 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +319 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +408 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +382 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +521 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +323 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +315 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +337 -0
- package/docs/interfaces/EventMap.html +542 -0
- package/docs/interfaces/FloorplanBounding.html +332 -0
- package/docs/interfaces/FloorplanData.html +335 -0
- package/docs/interfaces/FloorplanEntrance.html +360 -0
- package/docs/interfaces/FloorplanExtraObject.html +350 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +339 -0
- package/docs/interfaces/FloorplanFloorData.html +328 -0
- package/docs/interfaces/FloorplanImagePosition.html +314 -0
- package/docs/interfaces/FloorplanObserver.html +332 -0
- package/docs/interfaces/FloorplanOutlineItem.html +328 -0
- package/docs/interfaces/FloorplanPosition.html +314 -0
- package/docs/interfaces/FloorplanRoomItem.html +379 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +320 -0
- package/docs/interfaces/FloorplanServerBounding.html +332 -0
- package/docs/interfaces/FloorplanServerComputedData.html +331 -0
- package/docs/interfaces/FloorplanServerData.html +314 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +331 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +317 -0
- package/docs/interfaces/FloorplanServerEntrance.html +360 -0
- package/docs/interfaces/FloorplanServerFloorData.html +328 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +314 -0
- package/docs/interfaces/FloorplanServerObserver.html +332 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +328 -0
- package/docs/interfaces/FloorplanServerPosition.html +314 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +391 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +320 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +323 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +362 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +526 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +357 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +348 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +415 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +337 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +347 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +483 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +344 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +483 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +309 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +330 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +355 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +371 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +353 -0
- package/docs/interfaces/HelperOffset.html +332 -0
- package/docs/interfaces/ImagePlaneGroup.html +306 -0
- package/docs/interfaces/ItemLabelPluginData.html +303 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +388 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +324 -0
- package/docs/interfaces/MinMax.html +310 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +310 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +346 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +310 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +317 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +354 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +303 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +388 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +310 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +303 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +324 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +348 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +303 -0
- package/docs/interfaces/ModelViewPluginExportType.html +416 -0
- package/docs/interfaces/Object3DHelperState.html +317 -0
- package/docs/interfaces/ObjectHelperControllers.html +324 -0
- package/docs/interfaces/PaintBrushAction.html +363 -0
- package/docs/interfaces/PaintBrushConfigs.html +361 -0
- package/docs/interfaces/PaintBrushState.html +345 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +425 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +282 -0
- package/docs/interfaces/PanoMeasureParameterType.html +449 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +317 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +314 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +310 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +320 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +377 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +326 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +317 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +353 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +323 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +310 -0
- package/docs/interfaces/PanoRulerProPluginState.html +317 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +296 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +285 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +353 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +335 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +431 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +331 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +352 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +338 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +331 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +323 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +341 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +314 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +420 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +314 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +349 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +368 -0
- package/docs/interfaces/Point.html +317 -0
- package/docs/interfaces/Room.html +324 -0
- package/docs/interfaces/RoomInfo.html +310 -0
- package/docs/interfaces/RoomLabel.html +386 -0
- package/docs/interfaces/RoomRules.html +285 -0
- package/docs/interfaces/Rooms.html +285 -0
- package/docs/interfaces/Scissor.html +344 -0
- package/docs/interfaces/State.html +331 -0
- package/docs/interfaces/TagCacheInterface.html +362 -0
- package/docs/interfaces/TagConfig.html +565 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +306 -0
- package/docs/interfaces/TagIconUrl.html +363 -0
- package/docs/interfaces/TagObjectGroup.html +306 -0
- package/docs/interfaces/TagStyle.html +316 -0
- package/docs/interfaces/Tags.html +2688 -0
- package/docs/interfaces/TemporaryState.html +303 -0
- package/docs/interfaces/Util.MagnifierParameter.html +391 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +350 -0
- package/docs/interfaces/Util.PointIntersection.html +365 -0
- package/docs/modules/AreaMakerPluginType.html +323 -0
- package/docs/modules/CruisePluginTypes.html +328 -0
- package/docs/modules/CurrentPanoImagePluginType.html +297 -0
- package/docs/modules/GuideLineItem.html +289 -0
- package/docs/modules/GuideLineModeItem.html +294 -0
- package/docs/modules/GuideLinePluginType.html +350 -0
- package/docs/modules/PanoVideoPluginType.html +301 -0
- package/docs/modules/Util.html +351 -0
- package/docs/modules.html +540 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +331 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +301 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +301 -0
- package/docs/types/ArrayPosition.html +279 -0
- package/docs/types/AudioAppearance.html +279 -0
- package/docs/types/AudioTagTypeConfigKey.html +279 -0
- package/docs/types/CSS3DRenderExportType.html +279 -0
- package/docs/types/CSS3DRenderPluginExportType.html +279 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +279 -0
- package/docs/types/ClassFunctionParameters.html +286 -0
- package/docs/types/Color.html +279 -0
- package/docs/types/ContentTypeConfigKey.html +279 -0
- package/docs/types/ContentTypeConfigKeySplit.html +279 -0
- package/docs/types/ContentTypeMap.html +279 -0
- package/docs/types/Create3DDomContainerReturnType.html +279 -0
- package/docs/types/Create3DElementReturnType.html +279 -0
- package/docs/types/CruisePluginExportType.html +279 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +318 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +295 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +279 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +291 -0
- package/docs/types/DeprecatedTagProperty.html +294 -0
- package/docs/types/Direction-1.html +279 -0
- package/docs/types/Direction4.html +279 -0
- package/docs/types/ElementRenderer.html +303 -0
- package/docs/types/FloorplanRuleLabels.html +282 -0
- package/docs/types/FloorplanServerRuleLabels.html +279 -0
- package/docs/types/GuideLinePluginExportType.html +279 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +352 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +373 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +306 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +309 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +309 -0
- package/docs/types/GuideLinePluginType.PathItem.html +309 -0
- package/docs/types/GuideLinePluginType.PluginData.html +318 -0
- package/docs/types/HelperEventMap.html +517 -0
- package/docs/types/LoadTagConfig.html +279 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +279 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +279 -0
- package/docs/types/MediaData.html +295 -0
- package/docs/types/MediaStore.html +284 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +286 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +279 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +279 -0
- package/docs/types/ModelId.html +279 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +279 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +279 -0
- package/docs/types/MoveArgs.html +289 -0
- package/docs/types/MoveOpts.html +287 -0
- package/docs/types/Object3DHelperEventMap.html +372 -0
- package/docs/types/ObjectFit.html +279 -0
- package/docs/types/PaintBrushEventMap.html +310 -0
- package/docs/types/PanoCompassPluginData.html +279 -0
- package/docs/types/PanoCompassPluginExportType.html +279 -0
- package/docs/types/PanoCompassPluginParameterType.html +279 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +279 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +279 -0
- package/docs/types/PanoIndex.html +279 -0
- package/docs/types/PanoMeasurePluginEvent.html +279 -0
- package/docs/types/PanoMeasureReturnType.html +279 -0
- package/docs/types/PanoSpatialTagPluginId.html +279 -0
- package/docs/types/PanoTagPluginExportInterface.html +279 -0
- package/docs/types/PanoTagPluginParamsInterface.html +279 -0
- package/docs/types/PanoVideoPluginParameterType.html +279 -0
- package/docs/types/PanoVideoPluginReturnType.html +279 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +287 -0
- package/docs/types/PipelinePluginParameterType.html +279 -0
- package/docs/types/PipelinePluginReturnType.html +279 -0
- package/docs/types/PlaneTag.html +287 -0
- package/docs/types/Point2DTag.html +287 -0
- package/docs/types/Point3DTag.html +287 -0
- package/docs/types/PointTag.html +284 -0
- package/docs/types/PointTagInstance.html +284 -0
- package/docs/types/Position.html +279 -0
- package/docs/types/RotateArgs.html +291 -0
- package/docs/types/RotateOpts.html +287 -0
- package/docs/types/RuleLabelsKey.html +279 -0
- package/docs/types/RuleLabelsValue.html +279 -0
- package/docs/types/StickType.html +279 -0
- package/docs/types/Tag.html +345 -0
- package/docs/types/Tag2D.html +287 -0
- package/docs/types/Tag3D.html +287 -0
- package/docs/types/TagConfigByKey.html +284 -0
- package/docs/types/TagContentType.html +279 -0
- package/docs/types/TagDimensionType.html +281 -0
- package/docs/types/TagElement.html +289 -0
- package/docs/types/TagEvents.html +332 -0
- package/docs/types/TagGLTFObject.html +302 -0
- package/docs/types/TagHooks.html +279 -0
- package/docs/types/TagId.html +279 -0
- package/docs/types/TagInstance.html +355 -0
- package/docs/types/TagPointType.html +282 -0
- package/docs/types/TagRendererMap.html +284 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +279 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +279 -0
- package/docs/types/WorkCode.html +279 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +289 -0
- package/docs/variables/PLUGIN.html +279 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +282 -0
- package/docs/variables/ROOM_TYPE_MAP.html +289 -0
- package/docs/variables/defaultGlobalConfig.html +279 -0
- package/docs/variables/itemLabelPluginServerParams.html +286 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +286 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +286 -0
- package/libs/CruisePlugin/Controller.js +35 -34
- package/libs/CruisePlugin/index.js +6 -5
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +8 -7
- package/libs/PanoTagPlugin/controller/TagComputer.js +90 -96
- package/libs/PanoTagPlugin/controller/TagRender.js +86 -86
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +8 -4
- package/libs/PanoTagPlugin/controller/TagUtil.js +119 -103
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/index.js +43 -38
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +2 -2
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -3
- package/libs/PanoTagPlugin/utils/tagPosition.js +15 -15
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +117 -116
- package/libs/shared-utils/five/getFloorIndex.d.ts +2 -8
- package/libs/shared-utils/five/getFloorIndex.js +16 -12
- package/libs/shared-utils/five/transformPosition.d.ts +2 -0
- package/libs/shared-utils/five/transformPosition.js +10 -0
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./controller/index.js";
|
|
2
|
-
import { pluginFlag as
|
|
3
|
-
import { defaultGlobalConfig as
|
|
4
|
-
import { ContentType as
|
|
2
|
+
import { pluginFlag as Mt } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as Ot } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as Rt, DimensionType as St, PointType as Ut } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "@realsee/five";
|
|
7
7
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -60,6 +60,7 @@ import "../shared-utils/five/calculateThreeMouse.js";
|
|
|
60
60
|
import "./utils/tag/adaptConfig.js";
|
|
61
61
|
import "../shared-utils/typescript/entries.js";
|
|
62
62
|
import "../shared-utils/url/getUrl.js";
|
|
63
|
+
import "../shared-utils/five/transformPosition.js";
|
|
63
64
|
import "../shared-utils/five/getFloorIndex.js";
|
|
64
65
|
import "../shared-utils/safeObj.js";
|
|
65
66
|
import "./Components/TagContainer.js";
|
|
@@ -141,14 +142,14 @@ import "@realsee/five/gltf-loader";
|
|
|
141
142
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
142
143
|
import "../shared-utils/animationFrame/index.js";
|
|
143
144
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
144
|
-
const
|
|
145
|
+
const Jt = (o, t) => new r(o, t);
|
|
145
146
|
export {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
Rt as ContentType,
|
|
148
|
+
St as DimensionType,
|
|
149
|
+
Jt as PanoTagPlugin,
|
|
149
150
|
r as PanoTagPluginController,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
Ut as PointType,
|
|
152
|
+
Jt as default,
|
|
153
|
+
Ot as defaultGlobalConfig,
|
|
154
|
+
Mt as pluginFlag
|
|
154
155
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GLTFObject } from '@realsee/five/gltf-loader';
|
|
2
|
-
import type { Group } from 'three';
|
|
2
|
+
import type { Group, Vector3 } from 'three';
|
|
3
3
|
import type { TagContentType } from './TagData';
|
|
4
4
|
import type { ImagePlane } from '../../utils/model/mediaPlane';
|
|
5
5
|
import type { TagInstance } from './TagInstance';
|
|
@@ -7,7 +7,7 @@ import type { TagConfig } from '../..';
|
|
|
7
7
|
import type { Mode } from '@realsee/five';
|
|
8
8
|
export type TagId = string | number;
|
|
9
9
|
export type ArrayPosition = number[];
|
|
10
|
-
export type Position = ArrayPosition;
|
|
10
|
+
export type Position = ArrayPosition | Vector3;
|
|
11
11
|
export type PanoIndex = number;
|
|
12
12
|
export type WorkCode = string;
|
|
13
13
|
export type ModelId = string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Vector3 } from 'three';
|
|
2
1
|
import type { TagInstance } from '../typings';
|
|
3
|
-
export declare function getTagPosition(tag: TagInstance): Vector3 | Vector3[];
|
|
4
|
-
export declare function getTagCenterPosition(tag: TagInstance): Vector3;
|
|
2
|
+
export declare function getTagPosition(tag: TagInstance): import("three").Vector3 | import("three").Vector3[];
|
|
3
|
+
export declare function getTagCenterPosition(tag: TagInstance): import("three").Vector3;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Matrix4 as n
|
|
2
|
-
import { centerPoint as
|
|
3
|
-
import { isMediaModelTag as
|
|
4
|
-
import { vector3Position as s } from "../../shared-utils/positionToVector3.js";
|
|
5
|
-
function p(
|
|
6
|
-
const
|
|
7
|
-
if (
|
|
8
|
-
const
|
|
9
|
-
return
|
|
1
|
+
import { Matrix4 as n } from "three";
|
|
2
|
+
import { centerPoint as e } from "../../shared-utils/three/centerPoint.js";
|
|
3
|
+
import { isMediaModelTag as a } from "./tag/tagCheck.js";
|
|
4
|
+
import { anyPositionToVector3 as m, vector3Position as s } from "../../shared-utils/positionToVector3.js";
|
|
5
|
+
function p(o) {
|
|
6
|
+
const i = (() => {
|
|
7
|
+
if (a(o) && o.matrix) {
|
|
8
|
+
const r = new n().fromArray(o.matrix);
|
|
9
|
+
return o.data.mediaPosition.map((t) => m(t).clone().applyMatrix4(r));
|
|
10
10
|
} else
|
|
11
|
-
return
|
|
11
|
+
return o.position;
|
|
12
12
|
})();
|
|
13
|
-
return s(
|
|
13
|
+
return s(i);
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
const
|
|
17
|
-
return
|
|
15
|
+
function x(o) {
|
|
16
|
+
const i = p(o);
|
|
17
|
+
return e(...Array.isArray(i) ? i : [i]);
|
|
18
18
|
}
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
x as getTagCenterPosition,
|
|
21
21
|
p as getTagPosition
|
|
22
22
|
};
|
package/libs/base/BasePlugin.js
CHANGED
package/libs/index.js
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
2
|
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
-
import { PaintBrush as
|
|
4
|
-
import { PaintBrushTypeEnum as
|
|
5
|
-
import { ModelViewPlugin as
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
10
|
-
import { ModelFloorplanPlugin as
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
12
|
-
import { TopviewFloorplanPlugin as
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
21
|
-
import { PanoCompassPlugin as
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import { PanoSpatialTagPlugin as
|
|
24
|
-
import { modelItemLabelPluginServerParams as
|
|
25
|
-
import { ModelTVVideoPlugin as
|
|
26
|
-
import { DIRECTION as
|
|
27
|
-
import { itemLabelPluginServerParams as
|
|
28
|
-
import { PanoDoorLabelPlugin as
|
|
29
|
-
import { GuideLinePlugin as
|
|
30
|
-
import { CruisePlugin as
|
|
31
|
-
import { PanoTagPlugin as
|
|
32
|
-
import { Object3DHelperPlugin as
|
|
33
|
-
import { PanoVideoPlugin as
|
|
34
|
-
import { PipelinePlugin as
|
|
35
|
-
import { AreaMakerPlugin as
|
|
36
|
-
import { CurrentPanoImagePlugin as
|
|
37
|
-
import { index as
|
|
38
|
-
import { CSS3DRender as
|
|
39
|
-
import { Model as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { Polyline as
|
|
43
|
-
import { default as
|
|
44
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
45
|
-
import { ModelItemLabelPlugin as
|
|
46
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
47
|
-
import { Plugin as
|
|
48
|
-
import { GuideLineItem$1 as
|
|
49
|
-
import { GuideLineModeItem$1 as
|
|
50
|
-
import { default as
|
|
51
|
-
import { typing as
|
|
52
|
-
import { default as
|
|
53
|
-
import { defaultGlobalConfig as
|
|
54
|
-
import { ContentType as
|
|
55
|
-
import { Object3DHelperController as
|
|
56
|
-
import { typings as
|
|
3
|
+
import { PaintBrush as kp } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as zp } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Kp } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as Wp } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as Zp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as re, modelRoomLabelPluginServerParams as te } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as me } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as ee } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as le } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as Pe } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as fe } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as ge, ROOM_FETILE_TYPE_MAP as se, ROOM_TYPE_MAP as de } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Te } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as Ce } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as Ee } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Re, Rotation as Oe } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as Ae } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as De } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as be } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as Ye } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as ce } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as Ne } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as we } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as He } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as je } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as ke } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as ze } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as Ke } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as We } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as Ze } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as rn } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as mn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as en } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as ln } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { index as Pn } from "./shared-utils/index.js";
|
|
38
|
+
import { CSS3DRender as fn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
39
|
+
import { Model as gn } from "./PanoMeasurePlugin/Model/index.js";
|
|
40
|
+
import { default as dn } from "./PanoMeasurePlugin/Model/point.js";
|
|
41
|
+
import { default as Tn } from "./PanoMeasurePlugin/Model/line.js";
|
|
42
|
+
import { Polyline as Cn } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
43
|
+
import { default as En } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
44
|
+
import { DISPLAY_STRATEGY_TYPE as Rn } from "./ModelItemLabelPlugin/typings.js";
|
|
45
|
+
import { ModelItemLabelPlugin as yn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
46
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Sn } from "./ItemLabelPlugin/typings.js";
|
|
47
|
+
import { Plugin as Gn } from "./ItemLabelPlugin/Plugin.js";
|
|
48
|
+
import { GuideLineItem$1 as Fn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
49
|
+
import { GuideLineModeItem$1 as vn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
50
|
+
import { default as Vn } from "./CruisePlugin/Controller.js";
|
|
51
|
+
import { typing as hn } from "./CruisePlugin/typing/index.js";
|
|
52
|
+
import { default as Bn, pluginFlag as Hn } from "./PanoTagPlugin/controller/index.js";
|
|
53
|
+
import { defaultGlobalConfig as jn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
54
|
+
import { ContentType as kn, DimensionType as qn, PointType as zn } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
55
|
+
import { Object3DHelperController as Kn, PLUGIN as Qn } from "./Object3DHelperPlugin/Controller.js";
|
|
56
|
+
import { typings as Xn } from "./PanoVideoPlugin/typings/index.js";
|
|
57
57
|
import "./components/PaintBrush/Controller.js";
|
|
58
58
|
import "./components/PaintBrush/utils.js";
|
|
59
59
|
import "./components/PaintBrush/tween.js";
|
|
@@ -286,6 +286,7 @@ import "./shared-utils/five/calculateThreeMouse.js";
|
|
|
286
286
|
import "./PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
287
287
|
import "./shared-utils/typescript/entries.js";
|
|
288
288
|
import "./shared-utils/url/getUrl.js";
|
|
289
|
+
import "./shared-utils/five/transformPosition.js";
|
|
289
290
|
import "./shared-utils/five/getFloorIndex.js";
|
|
290
291
|
import "./PanoTagPlugin/Components/TagContainer.js";
|
|
291
292
|
import "./PanoTagPlugin/Components/TagItem.js";
|
|
@@ -418,66 +419,66 @@ import "./shared-utils/three/getRaycaster.js";
|
|
|
418
419
|
r();
|
|
419
420
|
o();
|
|
420
421
|
export {
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
422
|
+
en as AreaMakerPlugin,
|
|
423
|
+
fn as CSS3DRender,
|
|
424
|
+
Wp as CSS3DRenderPlugin,
|
|
425
|
+
Re as CameraMovementEffect,
|
|
426
|
+
Ee as CameraMovementPlugin,
|
|
427
|
+
kn as ContentType,
|
|
428
|
+
Ke as CruisePlugin,
|
|
429
|
+
Vn as CruisePluginController,
|
|
430
|
+
hn as CruisePluginTypes,
|
|
431
|
+
ln as CurrentPanoImagePlugin,
|
|
432
|
+
He as DIRECTION,
|
|
433
|
+
Rn as DISPLAY_STRATEGY_TYPE,
|
|
434
|
+
qn as DimensionType,
|
|
435
|
+
me as FLOOR_PLAN_ATTACHED_TO,
|
|
436
|
+
ge as FLOOR_TYPE_MAP,
|
|
437
|
+
Fn as GuideLineItem,
|
|
438
|
+
vn as GuideLineModeItem,
|
|
439
|
+
ze as GuideLinePlugin,
|
|
440
|
+
Sn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
441
|
+
Gn as ItemLabelPlugin,
|
|
442
|
+
En as Magnifier,
|
|
443
|
+
le as MapviewFloorplanPlugin,
|
|
444
|
+
Te as ModelChassisCompassPlugin,
|
|
445
|
+
Ce as ModelEntryDoorGuidePlugin,
|
|
446
|
+
ee as ModelFloorplanPlugin,
|
|
447
|
+
yn as ModelItemLabelPlugin,
|
|
448
|
+
re as ModelRoomLabelPlugin,
|
|
449
|
+
we as ModelTVVideoPlugin,
|
|
450
|
+
Kp as ModelViewPlugin,
|
|
451
|
+
Kn as Object3DHelperController,
|
|
452
|
+
Ze as Object3DHelperPlugin,
|
|
453
|
+
Qn as PLUGIN,
|
|
454
|
+
kp as PaintBrush,
|
|
455
|
+
zp as PaintBrushTypeEnum,
|
|
456
|
+
be as PanoCompassPlugin,
|
|
457
|
+
Zp as PanoCursorRaycasterPlugin,
|
|
458
|
+
ke as PanoDoorLabelPlugin,
|
|
459
|
+
fe as PanoFloorplanRadarPlugin,
|
|
460
|
+
Ye as PanoMeasurePlugin,
|
|
461
|
+
Tn as PanoMeasurePluginLine,
|
|
462
|
+
gn as PanoMeasurePluginModel,
|
|
463
|
+
dn as PanoMeasurePluginPoint,
|
|
464
|
+
Cn as PanoMeasurePluginPolyline,
|
|
465
|
+
Ae as PanoRulerPlugin,
|
|
466
|
+
De as PanoRulerProPlugin,
|
|
467
|
+
ce as PanoSpatialTagPlugin,
|
|
468
|
+
We as PanoTagPlugin,
|
|
469
|
+
Bn as PanoTagPluginController,
|
|
470
|
+
rn as PanoVideoPlugin,
|
|
471
|
+
Xn as PanoVideoPluginType,
|
|
472
|
+
mn as PipelinePlugin,
|
|
473
|
+
zn as PointType,
|
|
474
|
+
se as ROOM_FETILE_TYPE_MAP,
|
|
475
|
+
de as ROOM_TYPE_MAP,
|
|
476
|
+
Oe as Rotation,
|
|
477
|
+
Pe as TopviewFloorplanPlugin,
|
|
478
|
+
Pn as Util,
|
|
479
|
+
jn as defaultGlobalConfig,
|
|
480
|
+
je as itemLabelPluginServerParams,
|
|
481
|
+
Ne as modelItemLabelPluginServerParams,
|
|
482
|
+
te as modelRoomLabelPluginServerParams,
|
|
483
|
+
Hn as pluginFlag
|
|
483
484
|
};
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
position: {
|
|
4
|
-
x: number;
|
|
5
|
-
y: number;
|
|
6
|
-
z: number;
|
|
7
|
-
};
|
|
8
|
-
}[], point: {
|
|
1
|
+
import type { Work } from '@realsee/five';
|
|
2
|
+
export default function getFloorIndex(work: Work, point: {
|
|
9
3
|
y: number;
|
|
10
4
|
}): number;
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { transformPosition as c } from "./transformPosition.js";
|
|
2
|
+
function a(t, f) {
|
|
3
|
+
if (!t)
|
|
4
|
+
return 0;
|
|
5
|
+
const s = t.observers;
|
|
6
|
+
if (!f || !s)
|
|
7
|
+
return console.error("getFloorIndex: invalid arguments: ", { point: f, observer: s }), 0;
|
|
4
8
|
const e = [];
|
|
5
|
-
|
|
6
|
-
var n,
|
|
7
|
-
const
|
|
8
|
-
e[
|
|
9
|
+
s.forEach((r) => {
|
|
10
|
+
var n, l;
|
|
11
|
+
const o = (l = (n = r.floorIndex) != null ? n : r.floor_index) != null ? l : 0;
|
|
12
|
+
e[o] || (e[o] = []), e[o].push(c(r.position, t.options.transform).y);
|
|
9
13
|
});
|
|
10
|
-
const
|
|
11
|
-
for (let
|
|
12
|
-
if (
|
|
13
|
-
return
|
|
14
|
+
const i = e.map((r) => r.reduce((o, n) => o + n, 0) / r.length);
|
|
15
|
+
for (let r = i.length - 1; r > 0; r--)
|
|
16
|
+
if (f.y >= i[r])
|
|
17
|
+
return r;
|
|
14
18
|
return 0;
|
|
15
19
|
}
|
|
16
20
|
export {
|
|
17
|
-
|
|
21
|
+
a as getFloorIndex
|
|
18
22
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as n from "three";
|
|
2
|
+
const c = (o, t) => {
|
|
3
|
+
if (!t)
|
|
4
|
+
return o;
|
|
5
|
+
const e = new n.Vector3(), r = new n.Quaternion(), a = new n.Vector3();
|
|
6
|
+
return t.decompose(e, r, a), o.clone().multiply(a).applyQuaternion(r).add(e);
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
c as transformPosition
|
|
10
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.3.0-dev.0",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "3.
|
|
10
|
+
"version": "3.3.0-dev.0",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|