@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
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
var
|
|
1
|
+
var $ = Object.defineProperty, _ = Object.defineProperties;
|
|
2
|
+
var k = Object.getOwnPropertyDescriptors;
|
|
2
3
|
var R = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var C = (
|
|
4
|
+
var P = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var C = (n, e, t) => e in n ? $(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, g = (n, e) => {
|
|
5
6
|
for (var t in e || (e = {}))
|
|
6
|
-
|
|
7
|
+
P.call(e, t) && C(n, t, e[t]);
|
|
7
8
|
if (R)
|
|
8
9
|
for (var t of R(e))
|
|
9
|
-
|
|
10
|
-
return
|
|
11
|
-
};
|
|
12
|
-
var i = (
|
|
13
|
-
var p = (
|
|
10
|
+
L.call(e, t) && C(n, t, e[t]);
|
|
11
|
+
return n;
|
|
12
|
+
}, v = (n, e) => _(n, k(e));
|
|
13
|
+
var i = (n, e, t) => (C(n, typeof e != "symbol" ? e + "" : e, t), t);
|
|
14
|
+
var p = (n, e, t) => new Promise((s, r) => {
|
|
14
15
|
var d = (c) => {
|
|
15
16
|
try {
|
|
16
17
|
l(t.next(c));
|
|
@@ -24,46 +25,46 @@ var p = (o, e, t) => new Promise((s, r) => {
|
|
|
24
25
|
r(S);
|
|
25
26
|
}
|
|
26
27
|
}, l = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(d, f);
|
|
27
|
-
l((t = t.apply(
|
|
28
|
+
l((t = t.apply(n, e)).next());
|
|
28
29
|
});
|
|
29
|
-
import { anyPositionToVector3 as
|
|
30
|
-
import
|
|
31
|
-
import { Subscribe as
|
|
32
|
-
import { CSS3DObjectPlus as
|
|
33
|
-
import { MinRatio as
|
|
34
|
-
import { CSS3DFrontScene as
|
|
35
|
-
import { CSS3DFrontGroup as
|
|
36
|
-
import { CSS3DObject as
|
|
30
|
+
import { anyPositionToVector3 as q } from "../../../shared-utils/positionToVector3.js";
|
|
31
|
+
import B from "./CSS3DRenderer.js";
|
|
32
|
+
import { Subscribe as A } from "../../../shared-utils/Subscribe.js";
|
|
33
|
+
import { CSS3DObjectPlus as W } from "./CSS3DObject.js";
|
|
34
|
+
import { MinRatio as fe } from "./CSS3DObject.js";
|
|
35
|
+
import { CSS3DFrontScene as H, CSS3DBehindScene as T } from "./CSS3DScene.js";
|
|
36
|
+
import { CSS3DFrontGroup as U, CSS3DBehindGroup as z } from "./CSS3DGroup.js";
|
|
37
|
+
import { CSS3DObject as j } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
37
38
|
import "three";
|
|
38
39
|
import "../getAllCSS3DObject.js";
|
|
39
40
|
import "../createResizeObserver.js";
|
|
40
41
|
import "../even.js";
|
|
41
42
|
import "./OpacityMesh.js";
|
|
42
43
|
import "../../../shared-utils/three/centerPoint.js";
|
|
43
|
-
const
|
|
44
|
+
const J = 3, G = "CSS3DRenderer", b = `${G}@${J}`, u = () => {
|
|
44
45
|
console.error(`${b} is disposed`);
|
|
45
|
-
},
|
|
46
|
+
}, o = {
|
|
46
47
|
css3DObjects: [],
|
|
47
48
|
frontModeStore: {
|
|
48
|
-
css3DRenderer: new
|
|
49
|
+
css3DRenderer: new B()
|
|
49
50
|
},
|
|
50
51
|
behindModeStore: {
|
|
51
|
-
css3DRenderer: new
|
|
52
|
+
css3DRenderer: new B()
|
|
52
53
|
}
|
|
53
54
|
};
|
|
54
|
-
function
|
|
55
|
-
return
|
|
55
|
+
function w(n) {
|
|
56
|
+
return o.css3DObjects.find((e) => e.id === n);
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
-
|
|
58
|
+
function K(n) {
|
|
59
|
+
o.frontModeStore.css3DRenderer.setWrapper(n);
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
-
|
|
61
|
+
function Q(n) {
|
|
62
|
+
o.behindModeStore.css3DRenderer.setWrapper(n);
|
|
62
63
|
}
|
|
63
|
-
class
|
|
64
|
+
class y {
|
|
64
65
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
65
66
|
constructor(e) {
|
|
66
|
-
i(this, "hooks", new
|
|
67
|
+
i(this, "hooks", new A());
|
|
67
68
|
i(this, "state", {
|
|
68
69
|
enabled: !0,
|
|
69
70
|
visible: !0,
|
|
@@ -71,7 +72,7 @@ class w {
|
|
|
71
72
|
});
|
|
72
73
|
i(this, "_scene");
|
|
73
74
|
i(this, "store", {
|
|
74
|
-
frontModeGroup: new
|
|
75
|
+
frontModeGroup: new U()
|
|
75
76
|
});
|
|
76
77
|
/**
|
|
77
78
|
* @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
|
|
@@ -117,24 +118,25 @@ class w {
|
|
|
117
118
|
mode: "front",
|
|
118
119
|
autoRender: !0,
|
|
119
120
|
container: document.createElement("div"),
|
|
120
|
-
pointerEvents: "none"
|
|
121
|
+
pointerEvents: "none",
|
|
122
|
+
wrapperStyle: {}
|
|
121
123
|
};
|
|
122
124
|
return Object.assign(h, s);
|
|
123
|
-
})(), d = t.map(
|
|
125
|
+
})(), d = t.map(q);
|
|
124
126
|
if ((d == null ? void 0 : d.length) < 4)
|
|
125
127
|
return console.error(`${b}: requires 4 point but params may have fewer`);
|
|
126
|
-
const { ratio: f, devicePixelRatio: l, mode: c, autoRender: S, container: O, pointerEvents: F } = r;
|
|
128
|
+
const { ratio: f, devicePixelRatio: l, mode: c, autoRender: S, container: O, pointerEvents: F, wrapperStyle: I } = r;
|
|
127
129
|
let D = !1;
|
|
128
|
-
const a = this.createObject(d, { ratio: f, dpr: l, container: O, mode: c, pointerEvents: F });
|
|
129
|
-
|
|
130
|
-
const
|
|
130
|
+
const a = this.createObject(d, { ratio: f, dpr: l, container: O, mode: c, pointerEvents: F, wrapperStyle: I });
|
|
131
|
+
o.css3DObjects.push(a), r.scene && this.setScene(r.scene);
|
|
132
|
+
const N = () => {
|
|
131
133
|
if (D)
|
|
132
134
|
return;
|
|
133
135
|
const h = a.mode === "front" ? this.getFrontCSS3DObjectGroup() : this.getBehindCSS3DObjectGroup();
|
|
134
136
|
h && h.add(a);
|
|
135
137
|
}, E = () => {
|
|
136
|
-
D || (
|
|
137
|
-
}, m = (h) => this.setVisibleById(a.id, h), M = (h) => this.setEnabledById(a.id, h),
|
|
138
|
+
D || (N(), this.render(e), this.hooks.emit("render"));
|
|
139
|
+
}, m = (h) => this.setVisibleById(a.id, h), M = (h) => this.setEnabledById(a.id, h), x = () => (D = !0, a.removeFromParent(), !0), V = c === "front" ? o.frontModeStore.css3DRenderer : o.behindModeStore.css3DRenderer;
|
|
138
140
|
return S && E(), {
|
|
139
141
|
id: a.uuid,
|
|
140
142
|
container: O,
|
|
@@ -146,23 +148,23 @@ class w {
|
|
|
146
148
|
enable: () => M(!0),
|
|
147
149
|
disable: () => M(!1),
|
|
148
150
|
setEnabled: M,
|
|
149
|
-
dispose:
|
|
150
|
-
appendToElement: (h) =>
|
|
151
|
+
dispose: x,
|
|
152
|
+
appendToElement: (h) => V.setWrapper(h)
|
|
151
153
|
};
|
|
152
154
|
});
|
|
153
155
|
i(this, "setVisibleById", (e, t) => {
|
|
154
156
|
var s;
|
|
155
|
-
(s =
|
|
157
|
+
(s = w(e)) == null || s.setVisible(t);
|
|
156
158
|
});
|
|
157
159
|
i(this, "setEnabledById", (e, t) => {
|
|
158
|
-
const s =
|
|
160
|
+
const s = w(e);
|
|
159
161
|
if (!s)
|
|
160
162
|
return;
|
|
161
163
|
const r = s.mode === "front" ? this.getFrontCSS3DObjectGroup({ addGroupIfNotExists: !1 }) : this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 });
|
|
162
164
|
r && (t ? r.add(s) : r.remove(s));
|
|
163
165
|
});
|
|
164
166
|
i(this, "createObject", (e, t) => {
|
|
165
|
-
const s = new
|
|
167
|
+
const s = new W(v(g({ cornerPoints: e }, t), { style: t.wrapperStyle }));
|
|
166
168
|
return s.element.classList.add(`${G}__container`), s.element.id = `${G}__container--${s.uuid}`, s;
|
|
167
169
|
});
|
|
168
170
|
e && this.setScene(e);
|
|
@@ -171,16 +173,16 @@ class w {
|
|
|
171
173
|
return this._scene || console.error("scene doesn't exist!, please call setScene(scene) first"), this._scene;
|
|
172
174
|
}
|
|
173
175
|
static get frontModeCSS3DRenderer() {
|
|
174
|
-
return
|
|
176
|
+
return o.frontModeStore.css3DRenderer;
|
|
175
177
|
}
|
|
176
178
|
static get behindModeCSS3DRenderer() {
|
|
177
|
-
return
|
|
179
|
+
return o.behindModeStore.css3DRenderer;
|
|
178
180
|
}
|
|
179
181
|
get frontModeCSS3DRenderer() {
|
|
180
|
-
return
|
|
182
|
+
return o.frontModeStore.css3DRenderer;
|
|
181
183
|
}
|
|
182
184
|
get behindModeCSS3DRenderer() {
|
|
183
|
-
return
|
|
185
|
+
return o.behindModeStore.css3DRenderer;
|
|
184
186
|
}
|
|
185
187
|
setScene(e) {
|
|
186
188
|
this._scene = e;
|
|
@@ -223,30 +225,30 @@ class w {
|
|
|
223
225
|
}
|
|
224
226
|
getFrontCSS3DScene({ createSceneIfNotExists: e = !1 } = {}) {
|
|
225
227
|
var s;
|
|
226
|
-
const t = (s =
|
|
228
|
+
const t = (s = o.frontModeStore) == null ? void 0 : s.css3DScene;
|
|
227
229
|
if (t)
|
|
228
230
|
return t;
|
|
229
231
|
if (e) {
|
|
230
|
-
const r = new
|
|
231
|
-
|
|
232
|
+
const r = new H();
|
|
233
|
+
o.frontModeStore.css3DScene = r;
|
|
232
234
|
}
|
|
233
|
-
return
|
|
235
|
+
return o.frontModeStore.css3DScene;
|
|
234
236
|
}
|
|
235
237
|
getBehindCSS3DScene({ createSceneIfNotExists: e = !1 } = {}) {
|
|
236
238
|
var s, r;
|
|
237
|
-
const t = (s =
|
|
239
|
+
const t = (s = o.behindModeStore) == null ? void 0 : s.css3DScene;
|
|
238
240
|
if (t)
|
|
239
241
|
return t;
|
|
240
242
|
if (e) {
|
|
241
|
-
const d = (r =
|
|
243
|
+
const d = (r = o.behindModeStore.scene) != null ? r : this.scene;
|
|
242
244
|
if (!d) {
|
|
243
245
|
console.error(`${b}: scene is required when mode is behind`);
|
|
244
246
|
return;
|
|
245
247
|
}
|
|
246
|
-
const f = new
|
|
247
|
-
|
|
248
|
+
const f = new T(d);
|
|
249
|
+
o.behindModeStore.css3DScene = f, o.behindModeStore.scene = d;
|
|
248
250
|
}
|
|
249
|
-
return
|
|
251
|
+
return o.behindModeStore.css3DScene;
|
|
250
252
|
}
|
|
251
253
|
getFrontCSS3DObjectGroup({ addGroupIfNotExists: e = !0 } = {}) {
|
|
252
254
|
const t = this.getFrontCSS3DScene({ createSceneIfNotExists: e });
|
|
@@ -256,7 +258,7 @@ class w {
|
|
|
256
258
|
var s;
|
|
257
259
|
const t = this.getBehindCSS3DScene({ createSceneIfNotExists: e });
|
|
258
260
|
if (e && t && this.scene) {
|
|
259
|
-
const r = (s = this.store.behindModeGroup) != null ? s : new
|
|
261
|
+
const r = (s = this.store.behindModeGroup) != null ? s : new z(this.scene);
|
|
260
262
|
this.store.behindModeGroup = r, t.getObjectById(r.id) || t.add(r);
|
|
261
263
|
}
|
|
262
264
|
return this.store.behindModeGroup;
|
|
@@ -267,13 +269,13 @@ class w {
|
|
|
267
269
|
const r = this.getFrontCSS3DScene({ createSceneIfNotExists: !0 });
|
|
268
270
|
if (!r)
|
|
269
271
|
return console.error(`${b}: css3DScene is required when mode is front`);
|
|
270
|
-
|
|
272
|
+
o.frontModeStore.css3DRenderer.renderEveryFrame(r, e);
|
|
271
273
|
}
|
|
272
274
|
if (((s = (t = this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 })) == null ? void 0 : t.CSS3DObjectLength) != null ? s : 0) > 0) {
|
|
273
275
|
const r = this.getBehindCSS3DScene({ createSceneIfNotExists: !0 });
|
|
274
276
|
if (!r)
|
|
275
277
|
return console.error(`${b}: css3DScene is required when mode is behind`);
|
|
276
|
-
|
|
278
|
+
o.behindModeStore.css3DRenderer.renderEveryFrame(r, e);
|
|
277
279
|
}
|
|
278
280
|
}
|
|
279
281
|
handleShow() {
|
|
@@ -295,19 +297,19 @@ class w {
|
|
|
295
297
|
handleDisable() {
|
|
296
298
|
var e, t, s;
|
|
297
299
|
this.store.frontModeGroup.children.forEach((r) => {
|
|
298
|
-
r instanceof
|
|
300
|
+
r instanceof j && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
|
|
299
301
|
}), (e = this.store.behindModeGroup) == null || e.children.forEach((r) => {
|
|
300
|
-
r instanceof
|
|
302
|
+
r instanceof j && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
|
|
301
303
|
}), (t = this.getFrontCSS3DScene()) == null || t.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((s = this.getBehindCSS3DScene()) == null || s.remove(this.store.behindModeGroup));
|
|
302
304
|
}
|
|
303
305
|
handleDispose() {
|
|
304
306
|
this.handleDisable();
|
|
305
307
|
}
|
|
306
308
|
}
|
|
307
|
-
i(
|
|
309
|
+
i(y, "setFrontModeContainer", K), i(y, "setBehindModeContainer", Q);
|
|
308
310
|
export {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
+
y as CSS3DRender,
|
|
312
|
+
fe as MinRatio,
|
|
311
313
|
b as PLUGIN,
|
|
312
|
-
|
|
314
|
+
o as globalStore
|
|
313
315
|
};
|
|
@@ -76,7 +76,6 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
76
76
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
77
77
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
78
78
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
79
|
-
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
80
79
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
81
80
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
82
81
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -105,6 +104,8 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
105
104
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
106
105
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
107
106
|
import "../shared-utils/three/getObjectVisible.js";
|
|
107
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
108
|
+
import "../shared-utils/typescript/entries.js";
|
|
108
109
|
import "../shared-utils/five/getFloorIndex.js";
|
|
109
110
|
import "../shared-utils/safeObj.js";
|
|
110
111
|
import "../shared-utils/util.js";
|
|
@@ -183,6 +184,7 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
183
184
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
184
185
|
import "../shared-utils/three/GLTFLoader.js";
|
|
185
186
|
import "@realsee/five/gltf-loader";
|
|
187
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
186
188
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
187
189
|
import "../GuideLinePlugin/utils/index.js";
|
|
188
190
|
import "./Controller.js";
|
|
@@ -192,7 +194,7 @@ import "../shared-utils/nearlyEqual.js";
|
|
|
192
194
|
import "./utils/coordinatesToVector.js";
|
|
193
195
|
import "../shared-utils/isTruelyObject.js";
|
|
194
196
|
import "./utils/formatRad.js";
|
|
195
|
-
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`,
|
|
197
|
+
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`, tr = (c) => `${x}--${c}`, D = () => {
|
|
196
198
|
console.error(`${x} is disposed`);
|
|
197
199
|
}, W = () => {
|
|
198
200
|
console.warn(`${x} is disabled`);
|
|
@@ -747,5 +749,5 @@ class z extends V {
|
|
|
747
749
|
I(z, "PluginVersion", M);
|
|
748
750
|
export {
|
|
749
751
|
z as default,
|
|
750
|
-
|
|
752
|
+
tr as pluginFlag
|
|
751
753
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i from "./Controller.js";
|
|
2
|
-
import { typing as
|
|
2
|
+
import { typing as lo } from "./typing/index.js";
|
|
3
3
|
import "../base/BasePluginWithData.js";
|
|
4
4
|
import "../base/BasePlugin.js";
|
|
5
5
|
import "../shared-utils/Subscribe.js";
|
|
@@ -44,7 +44,6 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
44
44
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
45
45
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
46
46
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
47
|
-
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
48
47
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
49
48
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
50
49
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -73,6 +72,8 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
73
72
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
74
73
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
75
74
|
import "../shared-utils/three/getObjectVisible.js";
|
|
75
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
76
|
+
import "../shared-utils/typescript/entries.js";
|
|
76
77
|
import "../shared-utils/five/getFloorIndex.js";
|
|
77
78
|
import "../shared-utils/safeObj.js";
|
|
78
79
|
import "../shared-utils/util.js";
|
|
@@ -152,6 +153,7 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
152
153
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
153
154
|
import "../shared-utils/three/GLTFLoader.js";
|
|
154
155
|
import "@realsee/five/gltf-loader";
|
|
156
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
155
157
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
156
158
|
import "../GuideLinePlugin/utils/index.js";
|
|
157
159
|
import "../shared-utils/to.js";
|
|
@@ -164,10 +166,10 @@ import "./utils/vectorToCoordinates.js";
|
|
|
164
166
|
import "./utils/formatRad.js";
|
|
165
167
|
import "./utils/linerValue.js";
|
|
166
168
|
import "./utils/sleep.js";
|
|
167
|
-
const
|
|
169
|
+
const no = (r) => new i(r);
|
|
168
170
|
export {
|
|
169
|
-
|
|
171
|
+
no as CruisePlugin,
|
|
170
172
|
i as CruisePluginController,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
+
lo as CruisePluginTypes,
|
|
174
|
+
no as default
|
|
173
175
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
1
|
+
var v = Object.defineProperty;
|
|
2
2
|
var g = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var p = (r, o, e) => o in r ?
|
|
3
|
+
var b = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var p = (r, o, e) => o in r ? v(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e, d = (r, o) => {
|
|
5
5
|
for (var e in o || (o = {}))
|
|
6
|
-
|
|
6
|
+
b.call(o, e) && p(r, e, o[e]);
|
|
7
7
|
if (g)
|
|
8
8
|
for (var e of g(o))
|
|
9
|
-
|
|
9
|
+
M.call(o, e) && p(r, e, o[e]);
|
|
10
10
|
return r;
|
|
11
11
|
};
|
|
12
12
|
var n = (r, o, e) => (p(r, typeof o != "symbol" ? o + "" : o, e), e);
|
|
@@ -27,15 +27,16 @@ var f = (r, o, e) => new Promise((i, t) => {
|
|
|
27
27
|
u((e = e.apply(r, o)).next());
|
|
28
28
|
});
|
|
29
29
|
import * as a from "three";
|
|
30
|
-
import { Controller as
|
|
31
|
-
import { tweenProgress as
|
|
30
|
+
import { Controller as A } from "../base/BasePlugin.js";
|
|
31
|
+
import { tweenProgress as w } from "../shared-utils/animationFrame/BetterTween.js";
|
|
32
32
|
import "hammerjs";
|
|
33
33
|
import "@realsee/five";
|
|
34
34
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
35
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
36
36
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
37
|
-
import { equal as
|
|
38
|
-
import { loadTexture as
|
|
37
|
+
import { equal as P } from "../shared-utils/equal.js";
|
|
38
|
+
import { loadTexture as k } from "../shared-utils/three/loadTexture.js";
|
|
39
|
+
import { adaptPanoId as m } from "../shared-utils/five/adapt.js";
|
|
39
40
|
import "../shared-utils/Subscribe.js";
|
|
40
41
|
import "../shared-utils/absoluteUrl.js";
|
|
41
42
|
import "../shared-utils/animationFrame/index.js";
|
|
@@ -51,7 +52,7 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
51
52
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
52
53
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
53
54
|
import "../shared-utils/isTruelyObject.js";
|
|
54
|
-
class
|
|
55
|
+
class K extends A {
|
|
55
56
|
constructor(e, i) {
|
|
56
57
|
super(e);
|
|
57
58
|
// ==================== public properties ====================
|
|
@@ -96,21 +97,23 @@ class z extends M {
|
|
|
96
97
|
this.lastArrivedPanoIndex = -1, this.updateMeshVisible();
|
|
97
98
|
});
|
|
98
99
|
/** 走点前 */
|
|
99
|
-
|
|
100
|
+
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
101
|
+
n(this, "onFivePanoWillArrive", m(this.five, ({ panoIndex: e }) => {
|
|
100
102
|
var i;
|
|
101
103
|
e !== this.five.getCurrentState().panoIndex && (this.isInPanoMoveAnime = !0, (i = this.opacityAnimeTween) == null || i.dispose(), this.updateMeshVisible());
|
|
102
|
-
});
|
|
104
|
+
}));
|
|
103
105
|
/** 走点后 */
|
|
104
|
-
|
|
106
|
+
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
107
|
+
n(this, "onFivePanoArrived", m(this.five, ({ panoIndex: e }) => {
|
|
105
108
|
e !== this.lastArrivedPanoIndex && (this.lastArrivedPanoIndex = e, this.isInPanoMoveAnime = !1, this.updateMeshPosition(e), this.updateMeshVisible(), this.five.needsRender = !0);
|
|
106
|
-
});
|
|
109
|
+
}));
|
|
107
110
|
n(this, "onMeshVisibleChange", (e) => {
|
|
108
111
|
var i;
|
|
109
112
|
if ((i = this.opacityAnimeTween) == null || i.dispose(), !e) {
|
|
110
113
|
this.mesh.visible = !1;
|
|
111
114
|
return;
|
|
112
115
|
}
|
|
113
|
-
this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween =
|
|
116
|
+
this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween = w(1e3).onUpdate(({ progress: t }) => {
|
|
114
117
|
var s;
|
|
115
118
|
(s = this.mesh) == null || s.material.setValues({ opacity: t }), this.five.needsRender = !0;
|
|
116
119
|
}).play();
|
|
@@ -198,7 +201,7 @@ class z extends M {
|
|
|
198
201
|
*/
|
|
199
202
|
setState(e, i = {}) {
|
|
200
203
|
const t = this.state;
|
|
201
|
-
if (
|
|
204
|
+
if (P(e, t, { deep: !0 }))
|
|
202
205
|
return;
|
|
203
206
|
const s = i.userAction !== void 0 ? i.userAction : !0;
|
|
204
207
|
if (this.updateState(e, s), e.enabled !== void 0 && t.enabled !== e.enabled && (e.enabled ? this.checkMsg.pluginDisabled = "" : this.checkMsg.pluginDisabled = "调用 setState 禁用", e.enabled ? this._enable({ userAction: s }) : this._disable({ userAction: s })), e.visible !== void 0 && t.visible !== e.visible) {
|
|
@@ -245,7 +248,7 @@ class z extends M {
|
|
|
245
248
|
reloadTexture(e) {
|
|
246
249
|
return f(this, null, function* () {
|
|
247
250
|
if (this.mesh.material.map = null, e !== "") {
|
|
248
|
-
const i =
|
|
251
|
+
const i = k(e);
|
|
249
252
|
this.textureLoadingPromise = i;
|
|
250
253
|
const t = yield i;
|
|
251
254
|
this.textureLoadingPromise === i && (this.onTextureLoaded(t), this.textureLoadingPromise = null);
|
|
@@ -277,5 +280,5 @@ class z extends M {
|
|
|
277
280
|
}
|
|
278
281
|
}
|
|
279
282
|
export {
|
|
280
|
-
|
|
283
|
+
K as CurrentPanoImagePluginController
|
|
281
284
|
};
|
|
@@ -24,8 +24,9 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
24
24
|
import "../shared-utils/equal.js";
|
|
25
25
|
import "../shared-utils/isTruelyObject.js";
|
|
26
26
|
import "../shared-utils/three/loadTexture.js";
|
|
27
|
-
|
|
27
|
+
import "../shared-utils/five/adapt.js";
|
|
28
|
+
const B = (r, o) => new t(r, o);
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
B as CurrentPanoImagePlugin,
|
|
31
|
+
B as default
|
|
31
32
|
};
|
|
@@ -69,7 +69,6 @@ import "../shared-utils/three/loadTexture.js";
|
|
|
69
69
|
import "../PanoTagPlugin/controller/index.js";
|
|
70
70
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
71
71
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
72
|
-
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
73
72
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
74
73
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
75
74
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -98,6 +97,8 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
98
97
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
99
98
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
100
99
|
import "../shared-utils/three/getObjectVisible.js";
|
|
100
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
101
|
+
import "../shared-utils/typescript/entries.js";
|
|
101
102
|
import "../shared-utils/five/getFloorIndex.js";
|
|
102
103
|
import "../shared-utils/safeObj.js";
|
|
103
104
|
import "../shared-utils/util.js";
|
|
@@ -177,6 +178,7 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
177
178
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
178
179
|
import "../shared-utils/three/GLTFLoader.js";
|
|
179
180
|
import "@realsee/five/gltf-loader";
|
|
181
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
180
182
|
import "./Components/Tag.js";
|
|
181
183
|
import "./utils/index.js";
|
|
182
184
|
import "../shared-utils/to.js";
|
|
@@ -191,8 +193,8 @@ import "../CruisePlugin/utils/vectorToCoordinates.js";
|
|
|
191
193
|
import "../CruisePlugin/utils/formatRad.js";
|
|
192
194
|
import "../CruisePlugin/utils/linerValue.js";
|
|
193
195
|
import "../CruisePlugin/utils/sleep.js";
|
|
194
|
-
const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`,
|
|
195
|
-
class
|
|
196
|
+
const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`, Rr = (s) => `${g}--${s}`;
|
|
197
|
+
class Br extends P {
|
|
196
198
|
constructor(t, i) {
|
|
197
199
|
super(t, i);
|
|
198
200
|
d(this, "version", V);
|
|
@@ -351,6 +353,6 @@ class Hr extends P {
|
|
|
351
353
|
}
|
|
352
354
|
}
|
|
353
355
|
export {
|
|
354
|
-
|
|
355
|
-
|
|
356
|
+
Br as default,
|
|
357
|
+
Rr as pluginFlag
|
|
356
358
|
};
|
|
@@ -4,7 +4,7 @@ import "../shared-utils/log.js";
|
|
|
4
4
|
import "../shared-utils/to.js";
|
|
5
5
|
import "@realsee/five";
|
|
6
6
|
import "../shared-utils/five/changeMode.js";
|
|
7
|
-
import { GuideLineItem as
|
|
7
|
+
import { GuideLineItem as eo } from "./GuideLineItem/index.js";
|
|
8
8
|
import "three";
|
|
9
9
|
import "./utils/createLineGeometry.js";
|
|
10
10
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -38,7 +38,6 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
38
38
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
39
39
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
40
40
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
41
|
-
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
42
41
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
43
42
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
44
43
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -69,6 +68,8 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
69
68
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
70
69
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
71
70
|
import "../shared-utils/three/getObjectVisible.js";
|
|
71
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
72
|
+
import "../shared-utils/typescript/entries.js";
|
|
72
73
|
import "../shared-utils/five/getFloorIndex.js";
|
|
73
74
|
import "../shared-utils/safeObj.js";
|
|
74
75
|
import "../shared-utils/util.js";
|
|
@@ -148,6 +149,7 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
148
149
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
149
150
|
import "../shared-utils/three/GLTFLoader.js";
|
|
150
151
|
import "@realsee/five/gltf-loader";
|
|
152
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
151
153
|
import "./Components/Tag.js";
|
|
152
154
|
import "./utils/index.js";
|
|
153
155
|
import "../base/BasePluginWithData.js";
|
|
@@ -164,5 +166,5 @@ import "../CruisePlugin/utils/formatRad.js";
|
|
|
164
166
|
import "../CruisePlugin/utils/linerValue.js";
|
|
165
167
|
import "../CruisePlugin/utils/sleep.js";
|
|
166
168
|
export {
|
|
167
|
-
|
|
169
|
+
eo as GuideLineItem
|
|
168
170
|
};
|
|
@@ -13,7 +13,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
13
13
|
import "./Components/Tag.js";
|
|
14
14
|
import "./utils/index.js";
|
|
15
15
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
16
|
-
import { GuideLineModeItem as
|
|
16
|
+
import { GuideLineModeItem as Si } from "./GuideLineModeItem/index.js";
|
|
17
17
|
import "../vendor/polyline-normals/index.js";
|
|
18
18
|
import "../vendor/polyline-miter-util/index.js";
|
|
19
19
|
import "../vendor/gl-vec2/add.js";
|
|
@@ -36,7 +36,6 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
36
36
|
import "../shared-utils/animationFrame/index.js";
|
|
37
37
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
38
38
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
39
|
-
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
40
39
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
41
40
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
42
41
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -67,6 +66,8 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
67
66
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
68
67
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
69
68
|
import "../shared-utils/three/getObjectVisible.js";
|
|
69
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
70
|
+
import "../shared-utils/typescript/entries.js";
|
|
70
71
|
import "../shared-utils/five/getFloorIndex.js";
|
|
71
72
|
import "../shared-utils/safeObj.js";
|
|
72
73
|
import "../shared-utils/util.js";
|
|
@@ -146,6 +147,7 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
146
147
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
147
148
|
import "../shared-utils/three/GLTFLoader.js";
|
|
148
149
|
import "@realsee/five/gltf-loader";
|
|
150
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
149
151
|
export {
|
|
150
|
-
|
|
152
|
+
Si as GuideLineModeItem
|
|
151
153
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as Gt } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as at } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -51,7 +51,6 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
51
51
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
52
52
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
53
53
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
54
|
-
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
55
54
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
56
55
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
57
56
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -80,6 +79,8 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
80
79
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
81
80
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
82
81
|
import "../shared-utils/three/getObjectVisible.js";
|
|
82
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
83
|
+
import "../shared-utils/typescript/entries.js";
|
|
83
84
|
import "../shared-utils/five/getFloorIndex.js";
|
|
84
85
|
import "../shared-utils/safeObj.js";
|
|
85
86
|
import "../shared-utils/util.js";
|
|
@@ -158,15 +159,16 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
158
159
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
159
160
|
import "../shared-utils/three/GLTFLoader.js";
|
|
160
161
|
import "@realsee/five/gltf-loader";
|
|
162
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
161
163
|
import "./Components/Tag.js";
|
|
162
164
|
import "./utils/index.js";
|
|
163
165
|
import "../shared-utils/to.js";
|
|
164
166
|
import "../shared-utils/five/changeMode.js";
|
|
165
167
|
import "../shared-utils/nearlyEqual.js";
|
|
166
|
-
const
|
|
168
|
+
const nt = (i, o) => new t(i, o);
|
|
167
169
|
export {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
Gt as GuideLineItem,
|
|
171
|
+
at as GuideLineModeItem,
|
|
172
|
+
nt as GuideLinePlugin,
|
|
173
|
+
nt as default
|
|
172
174
|
};
|