@realsee/dnalogel 2.30.2 → 3.0.0-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/Controller.d.ts +3 -2
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +3 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +6 -12
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +5 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +12 -6
- package/dist/PanoTagPlugin/controller/index.d.ts +2 -6
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +3 -2
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +66 -20
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +7 -2
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +8 -3
- package/dist/PanoTagPlugin/utils/index.d.ts +0 -2
- package/dist/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/dist/PanoTagPlugin/utils/tag/adaptConfig.d.ts +2 -0
- package/dist/floorplan/utils/correctFiveState.d.ts +1 -1
- package/dist/index.cjs.js +59 -59
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4722 -4731
- package/dist/index.umd.js +46 -46
- package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -3
- package/dist/shared-utils/five/adapt.d.ts +9 -0
- package/dist/shared-utils/five/fiveModelLoad.d.ts +9 -0
- package/dist/shared-utils/getPxmm.d.ts +1 -1
- package/dist/shared-utils/typescript/entries.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 +491 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +792 -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 +1050 -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 +361 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +525 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +356 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +347 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +414 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +346 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +471 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +343 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +471 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +308 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +329 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +354 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +370 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +352 -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 +348 -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 +351 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +372 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +305 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +308 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +308 -0
- package/docs/types/GuideLinePluginType.PathItem.html +308 -0
- package/docs/types/GuideLinePluginType.PluginData.html +317 -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 +353 -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/CSS3DRenderPlugin/Controller.d.ts +3 -2
- package/libs/CSS3DRenderPlugin/Controller.js +4 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +3 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +11 -11
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +68 -66
- package/libs/CruisePlugin/Controller.js +5 -3
- package/libs/CruisePlugin/index.js +8 -6
- package/libs/CurrentPanoImagePlugin/Controller.js +21 -18
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/Controller.js +7 -5
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -3
- package/libs/GuideLinePlugin/index.js +10 -8
- package/libs/PanoSpatialTagPlugin/Plugin.js +6 -18
- package/libs/PanoTagPlugin/Components/Tag/index.js +70 -71
- package/libs/PanoTagPlugin/Components/TagContainer.js +32 -33
- package/libs/PanoTagPlugin/Components/TagItem.js +115 -116
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +14 -14
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +6 -12
- package/libs/PanoTagPlugin/controller/TagComputer.js +168 -199
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +5 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +138 -117
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +12 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +178 -152
- package/libs/PanoTagPlugin/controller/index.d.ts +2 -6
- package/libs/PanoTagPlugin/controller/index.js +140 -148
- package/libs/PanoTagPlugin/index.js +16 -13
- package/libs/PanoTagPlugin/tag.config.js +11 -3
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +3 -2
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +66 -20
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +7 -2
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +8 -3
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
- package/libs/PanoTagPlugin/utils/index.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/index.js +23 -31
- package/libs/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.js +7 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +32 -33
- package/libs/floorplan/utils/correctFiveState.d.ts +1 -1
- package/libs/floorplan/utils/correctFiveState.js +30 -29
- package/libs/index.d.ts +1 -0
- package/libs/index.js +120 -117
- package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -3
- package/libs/shared-utils/five/FiveDomEvents.js +50 -56
- package/libs/shared-utils/five/adapt.d.ts +9 -0
- package/libs/shared-utils/five/adapt.js +16 -0
- package/libs/shared-utils/five/fiveModelLoad.d.ts +9 -0
- package/libs/shared-utils/five/fiveModelLoad.js +29 -0
- package/libs/shared-utils/five/mode.js +5 -5
- package/libs/shared-utils/getPxmm.d.ts +1 -1
- package/libs/shared-utils/getPxmm.js +1 -3
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/typescript/entries.d.ts +2 -0
- package/libs/shared-utils/typescript/entries.js +6 -0
- package/package.json +2 -6
- package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +0 -4
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +0 -4
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +0 -16
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 Hp } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as jp } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as kp } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as zp } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as Kp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as Wp, modelRoomLabelPluginServerParams as Xp } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as oe } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as te } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as me } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as ee } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as le } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as Pe, ROOM_FETILE_TYPE_MAP as ue, ROOM_TYPE_MAP as fe } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as ge } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as de } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as Te } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Ce, Rotation as _e } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as Ie } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as Oe } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as Ae } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as De } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as be } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as Ye } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as ce } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Ne } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as we } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as He } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as je } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as ke } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as ze } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as Ke } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as We } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as Ze } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as rn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as mn } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { index as en } from "./shared-utils/index.js";
|
|
38
|
+
import { CSS3DRender as ln } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
39
|
+
import { Model as Pn } from "./PanoMeasurePlugin/Model/index.js";
|
|
40
|
+
import { default as fn } from "./PanoMeasurePlugin/Model/point.js";
|
|
41
|
+
import { default as gn } from "./PanoMeasurePlugin/Model/line.js";
|
|
42
|
+
import { Polyline as dn } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
43
|
+
import { default as Tn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
44
|
+
import { DISPLAY_STRATEGY_TYPE as Cn } from "./ModelItemLabelPlugin/typings.js";
|
|
45
|
+
import { ModelItemLabelPlugin as En } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
46
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Rn } from "./ItemLabelPlugin/typings.js";
|
|
47
|
+
import { Plugin as yn } from "./ItemLabelPlugin/Plugin.js";
|
|
48
|
+
import { GuideLineItem$1 as Sn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
49
|
+
import { GuideLineModeItem$1 as Gn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
50
|
+
import { default as Fn } from "./CruisePlugin/Controller.js";
|
|
51
|
+
import { typing as vn } from "./CruisePlugin/typing/index.js";
|
|
52
|
+
import { default as Vn, pluginFlag as Nn } from "./PanoTagPlugin/controller/index.js";
|
|
53
|
+
import { defaultGlobalConfig as wn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
54
|
+
import { ContentType as Hn, DimensionType as Un, PointType as jn } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
55
|
+
import { Object3DHelperController as kn, PLUGIN as qn } from "./Object3DHelperPlugin/Controller.js";
|
|
56
|
+
import { typings as Jn } 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";
|
|
@@ -256,7 +256,6 @@ import "./vendor/gl-vec2/dot.js";
|
|
|
256
256
|
import "./shared-utils/five/mode.js";
|
|
257
257
|
import "./PanoTagPlugin/utils/addDebugPoints.js";
|
|
258
258
|
import "./PanoTagPlugin/utils/tag/tagCheck.js";
|
|
259
|
-
import "./PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
260
259
|
import "./PanoTagPlugin/utils/debounce.js";
|
|
261
260
|
import "./PanoTagPlugin/utils/throttle.js";
|
|
262
261
|
import "./PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -280,6 +279,8 @@ import "./shared-utils/three/getPositionsByObjectFit.js";
|
|
|
280
279
|
import "./shared-utils/three/FragmentTransparencyMaterial.js";
|
|
281
280
|
import "./shared-utils/five/FiveDomEvents.js";
|
|
282
281
|
import "./shared-utils/three/getObjectVisible.js";
|
|
282
|
+
import "./PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
283
|
+
import "./shared-utils/typescript/entries.js";
|
|
283
284
|
import "./shared-utils/five/getFloorIndex.js";
|
|
284
285
|
import "./shared-utils/util.js";
|
|
285
286
|
import "./PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -349,6 +350,7 @@ import "./PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
|
349
350
|
import "./PanoTagPlugin/Components/Common/TagPoint.js";
|
|
350
351
|
import "./shared-utils/three/GLTFLoader.js";
|
|
351
352
|
import "@realsee/five/gltf-loader";
|
|
353
|
+
import "./shared-utils/five/fiveModelLoad.js";
|
|
352
354
|
import "./GuideLinePlugin/Components/Tag.js";
|
|
353
355
|
import "./GuideLinePlugin/utils/index.js";
|
|
354
356
|
import "./CruisePlugin/utils/coordinatesAngle.js";
|
|
@@ -404,6 +406,7 @@ import "./shared-utils/three/objects/LineSegments.js";
|
|
|
404
406
|
import "./components/AreaLabel/LabelItem.js";
|
|
405
407
|
import "./components/AreaLabel/Assets/roomLabelBg.js";
|
|
406
408
|
import "./CurrentPanoImagePlugin/Controller.js";
|
|
409
|
+
import "./shared-utils/five/adapt.js";
|
|
407
410
|
import "./shared-utils/math/Interval.js";
|
|
408
411
|
import "./shared-utils/math/Rectangle.js";
|
|
409
412
|
import "./shared-utils/five/index.js";
|
|
@@ -412,66 +415,66 @@ import "./shared-utils/three/getRaycaster.js";
|
|
|
412
415
|
r();
|
|
413
416
|
o();
|
|
414
417
|
export {
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
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
|
-
|
|
418
|
+
rn as AreaMakerPlugin,
|
|
419
|
+
ln as CSS3DRender,
|
|
420
|
+
zp as CSS3DRenderPlugin,
|
|
421
|
+
Ce as CameraMovementEffect,
|
|
422
|
+
Te as CameraMovementPlugin,
|
|
423
|
+
Hn as ContentType,
|
|
424
|
+
ke as CruisePlugin,
|
|
425
|
+
Fn as CruisePluginController,
|
|
426
|
+
vn as CruisePluginTypes,
|
|
427
|
+
mn as CurrentPanoImagePlugin,
|
|
428
|
+
Ne as DIRECTION,
|
|
429
|
+
Cn as DISPLAY_STRATEGY_TYPE,
|
|
430
|
+
Un as DimensionType,
|
|
431
|
+
oe as FLOOR_PLAN_ATTACHED_TO,
|
|
432
|
+
Pe as FLOOR_TYPE_MAP,
|
|
433
|
+
Sn as GuideLineItem,
|
|
434
|
+
Gn as GuideLineModeItem,
|
|
435
|
+
je as GuideLinePlugin,
|
|
436
|
+
Rn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
437
|
+
yn as ItemLabelPlugin,
|
|
438
|
+
Tn as Magnifier,
|
|
439
|
+
me as MapviewFloorplanPlugin,
|
|
440
|
+
ge as ModelChassisCompassPlugin,
|
|
441
|
+
de as ModelEntryDoorGuidePlugin,
|
|
442
|
+
te as ModelFloorplanPlugin,
|
|
443
|
+
En as ModelItemLabelPlugin,
|
|
444
|
+
Wp as ModelRoomLabelPlugin,
|
|
445
|
+
ce as ModelTVVideoPlugin,
|
|
446
|
+
kp as ModelViewPlugin,
|
|
447
|
+
kn as Object3DHelperController,
|
|
448
|
+
Ke as Object3DHelperPlugin,
|
|
449
|
+
qn as PLUGIN,
|
|
450
|
+
Hp as PaintBrush,
|
|
451
|
+
jp as PaintBrushTypeEnum,
|
|
452
|
+
Ae as PanoCompassPlugin,
|
|
453
|
+
Kp as PanoCursorRaycasterPlugin,
|
|
454
|
+
He as PanoDoorLabelPlugin,
|
|
455
|
+
le as PanoFloorplanRadarPlugin,
|
|
456
|
+
De as PanoMeasurePlugin,
|
|
457
|
+
gn as PanoMeasurePluginLine,
|
|
458
|
+
Pn as PanoMeasurePluginModel,
|
|
459
|
+
fn as PanoMeasurePluginPoint,
|
|
460
|
+
dn as PanoMeasurePluginPolyline,
|
|
461
|
+
Ie as PanoRulerPlugin,
|
|
462
|
+
Oe as PanoRulerProPlugin,
|
|
463
|
+
be as PanoSpatialTagPlugin,
|
|
464
|
+
ze as PanoTagPlugin,
|
|
465
|
+
Vn as PanoTagPluginController,
|
|
466
|
+
We as PanoVideoPlugin,
|
|
467
|
+
Jn as PanoVideoPluginType,
|
|
468
|
+
Ze as PipelinePlugin,
|
|
469
|
+
jn as PointType,
|
|
470
|
+
ue as ROOM_FETILE_TYPE_MAP,
|
|
471
|
+
fe as ROOM_TYPE_MAP,
|
|
472
|
+
_e as Rotation,
|
|
473
|
+
ee as TopviewFloorplanPlugin,
|
|
474
|
+
en as Util,
|
|
475
|
+
wn as defaultGlobalConfig,
|
|
476
|
+
we as itemLabelPluginServerParams,
|
|
477
|
+
Ye as modelItemLabelPluginServerParams,
|
|
478
|
+
Xp as modelRoomLabelPluginServerParams,
|
|
479
|
+
Nn as pluginFlag
|
|
477
480
|
};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* 3. 基于第二点,废弃了之前使用浏览器原生事件监听点击的方式,改为使用 wantsTapGesture 的方式
|
|
7
7
|
* 4. 重构之后只会在 wantsTapGesture 事件触发的时候做射线检测
|
|
8
8
|
*/
|
|
9
|
-
import {
|
|
9
|
+
import type { Five } from '@realsee/five';
|
|
10
10
|
import type * as THREE from 'three';
|
|
11
11
|
type EventName = 'click';
|
|
12
12
|
type PreventFiveEvent = boolean;
|
|
@@ -35,7 +35,6 @@ type Object3DWithEvent = THREE.Object3D & {
|
|
|
35
35
|
export declare class FiveDomEvents {
|
|
36
36
|
private five;
|
|
37
37
|
private boundObject;
|
|
38
|
-
private extraObjects;
|
|
39
38
|
constructor(five: Five);
|
|
40
39
|
/**
|
|
41
40
|
* @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
|
|
@@ -56,6 +55,5 @@ export declare class FiveDomEvents {
|
|
|
56
55
|
private handleWantsTapGesture;
|
|
57
56
|
private objectIsBound;
|
|
58
57
|
private notify;
|
|
59
|
-
private updateFiveMeshes;
|
|
60
58
|
}
|
|
61
59
|
export {};
|
|
@@ -1,80 +1,74 @@
|
|
|
1
|
-
var O = Object.defineProperty,
|
|
2
|
-
var
|
|
1
|
+
var O = Object.defineProperty, g = Object.defineProperties;
|
|
2
|
+
var H = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var m = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var f = (
|
|
4
|
+
var L = Object.prototype.hasOwnProperty, $ = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var f = (i, e, t) => e in i ? O(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, p = (i, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
|
-
|
|
7
|
+
L.call(e, t) && f(i, t, e[t]);
|
|
8
8
|
if (m)
|
|
9
9
|
for (var t of m(e))
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
class B {
|
|
10
|
+
$.call(e, t) && f(i, t, e[t]);
|
|
11
|
+
return i;
|
|
12
|
+
}, _ = (i, e) => g(i, H(e));
|
|
13
|
+
var u = (i, e, t) => (f(i, typeof e != "symbol" ? e + "" : e, t), t);
|
|
14
|
+
import { getObjectVisible as x } from "../three/getObjectVisible.js";
|
|
15
|
+
class G {
|
|
17
16
|
constructor(e) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
var o;
|
|
17
|
+
u(this, "five");
|
|
18
|
+
u(this, "boundObject", {});
|
|
19
|
+
u(this, "handleWantsTapGesture", (e) => {
|
|
20
|
+
var d;
|
|
23
21
|
const t = "click", n = this.boundObject[t];
|
|
24
22
|
if (!n || (n == null ? void 0 : n.length) === 0)
|
|
25
23
|
return;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
if (!i || !this.objectIsBound(i))
|
|
24
|
+
const o = this.five.model.intersectRaycaster(e), s = e.intersectObjects(n, !0);
|
|
25
|
+
if (o.length > 0 && s.length > 0 && o[0].distance < s[0].distance)
|
|
29
26
|
return;
|
|
30
|
-
|
|
27
|
+
const r = (d = s[0]) == null ? void 0 : d.object;
|
|
28
|
+
if (!r || !this.objectIsBound(r))
|
|
29
|
+
return;
|
|
30
|
+
if (this.notify(t, r))
|
|
31
31
|
return !1;
|
|
32
32
|
});
|
|
33
|
-
|
|
33
|
+
u(this, "objectIsBound", (e) => {
|
|
34
34
|
let t = e._domEvent, n = e.parent;
|
|
35
35
|
for (; typeof t == "undefined" && n; )
|
|
36
36
|
t = n._domEvent, n = n.parent;
|
|
37
37
|
return !!t;
|
|
38
38
|
});
|
|
39
39
|
// eslint-disable-next-line max-params
|
|
40
|
-
|
|
41
|
-
let
|
|
42
|
-
const
|
|
40
|
+
u(this, "notify", (e, t, n, o) => {
|
|
41
|
+
let s = !1, r = [];
|
|
42
|
+
const l = [t];
|
|
43
43
|
let d = t;
|
|
44
44
|
for (; d.parent; )
|
|
45
|
-
d = d.parent,
|
|
46
|
-
for (const a of
|
|
47
|
-
if (
|
|
45
|
+
d = d.parent, l.push(d);
|
|
46
|
+
for (const a of l) {
|
|
47
|
+
if (s)
|
|
48
48
|
break;
|
|
49
|
-
const
|
|
50
|
-
if (!
|
|
49
|
+
const h = a._domEvent;
|
|
50
|
+
if (!h)
|
|
51
51
|
continue;
|
|
52
|
-
const E =
|
|
52
|
+
const E = h[`${e}Handler`];
|
|
53
53
|
if (E)
|
|
54
|
-
for (const [
|
|
55
|
-
if (v != null && v.checkVisible && !
|
|
54
|
+
for (const [b, v] of E) {
|
|
55
|
+
if (v != null && v.checkVisible && !x(a))
|
|
56
56
|
continue;
|
|
57
|
-
const
|
|
57
|
+
const c = b({
|
|
58
58
|
type: e,
|
|
59
59
|
target: a,
|
|
60
60
|
origDomEvent: n,
|
|
61
|
-
intersect:
|
|
61
|
+
intersect: o,
|
|
62
62
|
stopPropagation: () => {
|
|
63
|
-
|
|
63
|
+
s = !0;
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
|
-
|
|
66
|
+
r.push(c != null ? c : !0);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
return
|
|
70
|
-
});
|
|
71
|
-
r(this, "updateFiveMeshes", () => {
|
|
72
|
-
var e, t;
|
|
73
|
-
this.extraObjects = [], (t = (e = this.five.model) == null ? void 0 : e.originModel) == null || t.traverse((n) => {
|
|
74
|
-
n instanceof $ && this.extraObjects.push(n);
|
|
75
|
-
});
|
|
69
|
+
return r.some((a) => a === !0);
|
|
76
70
|
});
|
|
77
|
-
this.five = e,
|
|
71
|
+
this.five = e, e.on("wantsTapGesture", this.handleWantsTapGesture);
|
|
78
72
|
}
|
|
79
73
|
/**
|
|
80
74
|
* @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
|
|
@@ -98,24 +92,24 @@ class B {
|
|
|
98
92
|
* @param params.callback: 返回 false 可以不阻止 five 的 tap 事件; default: true
|
|
99
93
|
* @return {void}
|
|
100
94
|
*/
|
|
101
|
-
addEventListener(e, t, n,
|
|
102
|
-
var
|
|
103
|
-
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n,
|
|
95
|
+
addEventListener(e, t, n, o) {
|
|
96
|
+
var s;
|
|
97
|
+
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, _(p({}, o), { checkVisible: !0 })]), (s = this.boundObject[t]) == null || s.push(e);
|
|
104
98
|
}
|
|
105
|
-
removeEventListener(e, t, n, ...
|
|
106
|
-
var
|
|
99
|
+
removeEventListener(e, t, n, ...o) {
|
|
100
|
+
var r, l;
|
|
107
101
|
if (!e._domEvent || !e._domEvent[`${t}Handler`])
|
|
108
102
|
return;
|
|
109
|
-
const
|
|
110
|
-
if (
|
|
111
|
-
const d = (
|
|
112
|
-
d !== -1 && ((
|
|
103
|
+
const s = e._domEvent[`${t}Handler`].findIndex((d) => d[0] === n);
|
|
104
|
+
if (s !== -1 && (e._domEvent[`${t}Handler`].splice(s, 1), e._domEvent[`${t}Handler`].length === 0 && delete e._domEvent[`${t}Handler`], e._domEvent && Object.keys(e._domEvent).length === 0 && delete e._domEvent, !e._domEvent)) {
|
|
105
|
+
const d = (r = this.boundObject[t]) == null ? void 0 : r.findIndex((a) => a === e);
|
|
106
|
+
d !== -1 && ((l = this.boundObject[t]) == null || l.splice(d, 1));
|
|
113
107
|
}
|
|
114
108
|
}
|
|
115
109
|
dispose() {
|
|
116
|
-
this.five.off("
|
|
110
|
+
this.five.off("wantsTapGesture", this.handleWantsTapGesture), this.boundObject = {};
|
|
117
111
|
}
|
|
118
112
|
}
|
|
119
113
|
export {
|
|
120
|
-
|
|
114
|
+
G as FiveDomEvents
|
|
121
115
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description: 一些函数,来适配 Five@5.x 和 Five@6.x 的差异
|
|
3
|
+
*/
|
|
4
|
+
import type { Five } from '@realsee/five';
|
|
5
|
+
export declare function adaptPanoId(five: Five, func: (params?: {
|
|
6
|
+
panoIndex: number;
|
|
7
|
+
panoId: string;
|
|
8
|
+
derivedId: number;
|
|
9
|
+
}, ...args: any[]) => any): (panoIdOrPanoIndex: string | number, ...args: any[]) => void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function k(t, p) {
|
|
2
|
+
return function(n, ...s) {
|
|
3
|
+
var e, a;
|
|
4
|
+
if (typeof n == "number") {
|
|
5
|
+
const o = n, d = t.work.observers[n], c = (e = d == null ? void 0 : d.panoId) != null ? e : `${t.work.workCode}[${o}]`, i = d == null ? void 0 : d.derivedId;
|
|
6
|
+
p({ panoIndex: o, panoId: c, derivedId: i }, ...s);
|
|
7
|
+
} else if (typeof n == "string") {
|
|
8
|
+
const o = n, d = t.work.observers.find((f) => f.panoId === o), c = (a = d == null ? void 0 : d.index) != null ? a : d == null ? void 0 : d.panoIndex, i = d == null ? void 0 : d.derivedId;
|
|
9
|
+
p({ panoIndex: c, panoId: o, derivedId: i }, ...s);
|
|
10
|
+
} else
|
|
11
|
+
console.error(`adaptPano error: panoIdOrPanoIndex is ${n}`);
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
k as adaptPanoId
|
|
16
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Five } from '@realsee/five';
|
|
2
|
+
/**
|
|
3
|
+
* @description: 等待 five model 加载完成
|
|
4
|
+
*/
|
|
5
|
+
export declare function waitFiveModelLoaded(five: Five): Promise<void>;
|
|
6
|
+
/**
|
|
7
|
+
* @note five 6.0 修复了 多次 load work 时,`five.model.loaded` 不会变为 `false` 的问题,不再需要 `five.model.name === five.work?.model.file` 的判断了
|
|
8
|
+
*/
|
|
9
|
+
export declare function fiveModelIsLoaded(five: Five): boolean;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var l = (d, o, n) => new Promise((r, t) => {
|
|
2
|
+
var c = (e) => {
|
|
3
|
+
try {
|
|
4
|
+
a(n.next(e));
|
|
5
|
+
} catch (i) {
|
|
6
|
+
t(i);
|
|
7
|
+
}
|
|
8
|
+
}, u = (e) => {
|
|
9
|
+
try {
|
|
10
|
+
a(n.throw(e));
|
|
11
|
+
} catch (i) {
|
|
12
|
+
t(i);
|
|
13
|
+
}
|
|
14
|
+
}, a = (e) => e.done ? r(e.value) : Promise.resolve(e.value).then(c, u);
|
|
15
|
+
a((n = n.apply(d, o)).next());
|
|
16
|
+
});
|
|
17
|
+
function s(d) {
|
|
18
|
+
return l(this, null, function* () {
|
|
19
|
+
return new Promise((o) => {
|
|
20
|
+
f(d) ? o() : d.once("modelLoaded", () => o());
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
function f(d) {
|
|
25
|
+
return d.model.loaded;
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
s as waitFiveModelLoaded
|
|
29
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
function n(
|
|
2
|
-
return
|
|
1
|
+
function n(e) {
|
|
2
|
+
return e.toLowerCase().includes("panorama");
|
|
3
3
|
}
|
|
4
|
-
function
|
|
5
|
-
return !n(
|
|
4
|
+
function o(e) {
|
|
5
|
+
return !n(e);
|
|
6
6
|
}
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
o as isModelLike,
|
|
9
9
|
n as isPanoramaLike
|
|
10
10
|
};
|
|
@@ -9,7 +9,7 @@ export declare function getFloorY(five: Five, floorIndex: number): number;
|
|
|
9
9
|
* * FLOOR_PLAN_ATTACHED_TO.FLOOR:当前楼层地板的 Y
|
|
10
10
|
* * FLOOR_PLAN_ATTACHED_TO.BOUNDING_CENTER:当前模型中心的 Y
|
|
11
11
|
* * FLOOR_PLAN_ATTACHED_TO.BOUNDING_CENTER:当前楼层天花板的 Y
|
|
12
|
-
*/
|
|
12
|
+
*/
|
|
13
13
|
export declare function getAttachedY(five: Five, floorIndex: number, attachedTo?: FLOOR_PLAN_ATTACHED_TO): number;
|
|
14
14
|
/**
|
|
15
15
|
* 获取「在俯视图」状态下,模型 mm 与屏幕像素 px 的对应关系,即每 mm 对应多少 px
|
|
@@ -2,9 +2,7 @@ import { FLOOR_PLAN_ATTACHED_TO as m } from "../floorplan/constant.js";
|
|
|
2
2
|
import * as c from "three";
|
|
3
3
|
function s(o, t) {
|
|
4
4
|
const r = Math.max(...o.work.observers.map((n) => n.floorIndex));
|
|
5
|
-
return t > r ? o.model.bounding.max.y : Math.max(
|
|
6
|
-
...o.work.observers.filter((n) => n.floorIndex === t).map((n) => n.standingPosition.y)
|
|
7
|
-
);
|
|
5
|
+
return t > r ? o.model.bounding.max.y : Math.max(...o.work.observers.filter((n) => n.floorIndex === t).map((n) => n.standingPosition.y));
|
|
8
6
|
}
|
|
9
7
|
function l(o, t, r = m.BOUNDING_CENTER) {
|
|
10
8
|
const n = s(o, t), e = s(o, t + 1);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.0.0-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": "
|
|
10
|
+
"version": "3.0.0-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*",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@babel/core": "^7.22.9",
|
|
39
|
-
"@realsee/five": "
|
|
39
|
+
"@realsee/five": "6.0.0-alpha.8",
|
|
40
40
|
"@sveltejs/vite-plugin-svelte": "^2.4.2",
|
|
41
41
|
"@tsconfig/svelte": "^4.0.1",
|
|
42
42
|
"@tweenjs/tween.js": "^20.0.3",
|
|
@@ -84,9 +84,5 @@
|
|
|
84
84
|
"earcut": "^2.2.4",
|
|
85
85
|
"hammerjs": "^2.0.8",
|
|
86
86
|
"tslib": "^2.6.0"
|
|
87
|
-
},
|
|
88
|
-
"peerDependencies": {
|
|
89
|
-
"@realsee/five": "^5.0.0",
|
|
90
|
-
"three": ">=0.115.0 <=0.117.1"
|
|
91
87
|
}
|
|
92
88
|
}
|