@realsee/dnalogel 2.30.3 → 3.0.0-2
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/getAllCSS3DObject.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -4
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +5 -7
- 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 +61 -61
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5316 -5318
- package/dist/index.umd.js +48 -48
- 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/index.d.ts +1 -1
- package/dist/shared-utils/nearlyEqual.d.ts +7 -0
- package/dist/shared-utils/three/getNormal.d.ts +2 -0
- package/dist/shared-utils/typescript/entries.d.ts +2 -0
- package/dist/shared-utils/url/getUrl.d.ts +4 -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/AreaMakerPlugin/Controller.js +5 -3
- package/libs/AreaMakerPlugin/index.js +5 -3
- package/libs/AreaMakerPlugin/utils/Item.js +9 -7
- package/libs/CSS3DRenderPlugin/Controller.d.ts +3 -2
- package/libs/CSS3DRenderPlugin/Controller.js +9 -6
- package/libs/CSS3DRenderPlugin/index.js +8 -6
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +23 -22
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +5 -7
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +43 -53
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +70 -66
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +4 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +11 -10
- package/libs/CruisePlugin/Controller.js +42 -38
- package/libs/CruisePlugin/index.js +13 -9
- package/libs/CurrentPanoImagePlugin/Controller.js +27 -22
- package/libs/CurrentPanoImagePlugin/index.js +7 -4
- package/libs/GuideLinePlugin/Controller.js +29 -25
- package/libs/GuideLinePlugin/GuideLineItem.js +10 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +10 -6
- package/libs/GuideLinePlugin/index.js +15 -11
- package/libs/ModelTVVideoPlugin/Plugin.js +6 -4
- package/libs/ModelTVVideoPlugin/index.js +5 -3
- package/libs/Object3DHelperPlugin/Controller.js +5 -3
- package/libs/Object3DHelperPlugin/index.js +8 -6
- package/libs/PanoCompassPlugin/Controller.js +5 -3
- package/libs/PanoCompassPlugin/index.js +6 -4
- package/libs/PanoDoorLabelPlugin/BaseController.js +9 -7
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -3
- package/libs/PanoDoorLabelPlugin/index.js +6 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +5 -3
- package/libs/PanoMeasurePlugin/Components/Controller1.js +55 -53
- package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -2
- package/libs/PanoMeasurePlugin/Controller/index.js +5 -3
- package/libs/PanoMeasurePlugin/Model/area.js +4 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +25 -23
- package/libs/PanoMeasurePlugin/index.js +16 -14
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +14 -12
- package/libs/PanoSpatialTagPlugin/Plugin.js +12 -22
- package/libs/PanoSpatialTagPlugin/index.js +3 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +206 -205
- package/libs/PanoTagPlugin/Components/TagContainer.js +12 -11
- package/libs/PanoTagPlugin/Components/TagItem.js +129 -128
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +17 -15
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +6 -12
- package/libs/PanoTagPlugin/controller/TagComputer.js +172 -201
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +5 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +143 -120
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +12 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +186 -153
- package/libs/PanoTagPlugin/controller/index.d.ts +2 -6
- package/libs/PanoTagPlugin/controller/index.js +145 -151
- package/libs/PanoTagPlugin/index.js +21 -16
- 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/model/mediaPlane.js +97 -99
- 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/PanoVideoPlugin/Controller.js +5 -3
- package/libs/PanoVideoPlugin/VideoMeshController.js +4 -2
- package/libs/PanoVideoPlugin/index.js +8 -6
- package/libs/PipelinePlugin/Controller.js +5 -3
- package/libs/PipelinePlugin/index.js +6 -4
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +4 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +14 -12
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +2 -0
- package/libs/base/BasePlugin.js +2 -2
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -5
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -3
- package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +33 -31
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -4
- package/libs/floorplan/index.js +1 -0
- 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 +125 -120
- 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/changeMode.js +11 -11
- 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/index.d.ts +1 -1
- package/libs/shared-utils/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/nearlyEqual.d.ts +7 -0
- package/libs/shared-utils/nearlyEqual.js +9 -3
- package/libs/shared-utils/three/getNormal.d.ts +2 -0
- package/libs/shared-utils/three/getNormal.js +10 -0
- package/libs/shared-utils/typescript/entries.d.ts +2 -0
- package/libs/shared-utils/typescript/entries.js +6 -0
- package/libs/shared-utils/url/getUrl.d.ts +4 -0
- package/libs/shared-utils/url/getUrl.js +7 -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/dist/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{absoluteUrl.d.ts → url/absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{absoluteUrl.js → url/absoluteUrl.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var p = (r, o, e) => o in r ?
|
|
1
|
+
var v = Object.defineProperty;
|
|
2
|
+
var m = Object.getOwnPropertySymbols;
|
|
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
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var e of
|
|
9
|
-
|
|
6
|
+
b.call(o, e) && p(r, e, o[e]);
|
|
7
|
+
if (m)
|
|
8
|
+
for (var e of m(o))
|
|
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,31 +27,34 @@ 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 g } from "../shared-utils/five/adapt.js";
|
|
39
40
|
import "../shared-utils/Subscribe.js";
|
|
40
|
-
import "../shared-utils/absoluteUrl.js";
|
|
41
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
41
42
|
import "../shared-utils/animationFrame/index.js";
|
|
42
43
|
import "../shared-utils/positionToVector3.js";
|
|
43
44
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
44
45
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
46
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
47
|
+
import "../shared-utils/util.js";
|
|
46
48
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
47
49
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
48
50
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
49
51
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
50
52
|
import "../shared-utils/three/centerPoint.js";
|
|
53
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
51
54
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
52
55
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
53
56
|
import "../shared-utils/isTruelyObject.js";
|
|
54
|
-
class
|
|
57
|
+
class X extends A {
|
|
55
58
|
constructor(e, i) {
|
|
56
59
|
super(e);
|
|
57
60
|
// ==================== public properties ====================
|
|
@@ -96,21 +99,23 @@ class z extends M {
|
|
|
96
99
|
this.lastArrivedPanoIndex = -1, this.updateMeshVisible();
|
|
97
100
|
});
|
|
98
101
|
/** 走点前 */
|
|
99
|
-
|
|
102
|
+
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
103
|
+
n(this, "onFivePanoWillArrive", g(this.five, ({ panoIndex: e }) => {
|
|
100
104
|
var i;
|
|
101
105
|
e !== this.five.getCurrentState().panoIndex && (this.isInPanoMoveAnime = !0, (i = this.opacityAnimeTween) == null || i.dispose(), this.updateMeshVisible());
|
|
102
|
-
});
|
|
106
|
+
}));
|
|
103
107
|
/** 走点后 */
|
|
104
|
-
|
|
108
|
+
// eslint-disable-next-line @typescript-eslint/member-ordering
|
|
109
|
+
n(this, "onFivePanoArrived", g(this.five, ({ panoIndex: e }) => {
|
|
105
110
|
e !== this.lastArrivedPanoIndex && (this.lastArrivedPanoIndex = e, this.isInPanoMoveAnime = !1, this.updateMeshPosition(e), this.updateMeshVisible(), this.five.needsRender = !0);
|
|
106
|
-
});
|
|
111
|
+
}));
|
|
107
112
|
n(this, "onMeshVisibleChange", (e) => {
|
|
108
113
|
var i;
|
|
109
114
|
if ((i = this.opacityAnimeTween) == null || i.dispose(), !e) {
|
|
110
115
|
this.mesh.visible = !1;
|
|
111
116
|
return;
|
|
112
117
|
}
|
|
113
|
-
this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween =
|
|
118
|
+
this.mesh.material.setValues({ opacity: 0 }), this.mesh.visible = !0, this.opacityAnimeTween = w(1e3).onUpdate(({ progress: t }) => {
|
|
114
119
|
var s;
|
|
115
120
|
(s = this.mesh) == null || s.material.setValues({ opacity: t }), this.five.needsRender = !0;
|
|
116
121
|
}).play();
|
|
@@ -198,7 +203,7 @@ class z extends M {
|
|
|
198
203
|
*/
|
|
199
204
|
setState(e, i = {}) {
|
|
200
205
|
const t = this.state;
|
|
201
|
-
if (
|
|
206
|
+
if (P(e, t, { deep: !0 }))
|
|
202
207
|
return;
|
|
203
208
|
const s = i.userAction !== void 0 ? i.userAction : !0;
|
|
204
209
|
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 +250,7 @@ class z extends M {
|
|
|
245
250
|
reloadTexture(e) {
|
|
246
251
|
return f(this, null, function* () {
|
|
247
252
|
if (this.mesh.material.map = null, e !== "") {
|
|
248
|
-
const i =
|
|
253
|
+
const i = k(e);
|
|
249
254
|
this.textureLoadingPromise = i;
|
|
250
255
|
const t = yield i;
|
|
251
256
|
this.textureLoadingPromise === i && (this.onTextureLoaded(t), this.textureLoadingPromise = null);
|
|
@@ -277,5 +282,5 @@ class z extends M {
|
|
|
277
282
|
}
|
|
278
283
|
}
|
|
279
284
|
export {
|
|
280
|
-
|
|
285
|
+
X as CurrentPanoImagePluginController
|
|
281
286
|
};
|
|
@@ -10,22 +10,25 @@ import "../shared-utils/positionToVector3.js";
|
|
|
10
10
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
11
11
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
12
12
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
13
|
+
import "../shared-utils/util.js";
|
|
13
14
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
14
15
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
15
16
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
16
17
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
17
18
|
import "../shared-utils/three/centerPoint.js";
|
|
19
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
18
20
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
19
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
20
22
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
21
|
-
import "../shared-utils/absoluteUrl.js";
|
|
23
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
22
24
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
23
25
|
import "../shared-utils/animationFrame/index.js";
|
|
24
26
|
import "../shared-utils/equal.js";
|
|
25
27
|
import "../shared-utils/isTruelyObject.js";
|
|
26
28
|
import "../shared-utils/three/loadTexture.js";
|
|
27
|
-
|
|
29
|
+
import "../shared-utils/five/adapt.js";
|
|
30
|
+
const E = (r, o) => new t(r, o);
|
|
28
31
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
32
|
+
E as CurrentPanoImagePlugin,
|
|
33
|
+
E as default
|
|
31
34
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
var M = Object.defineProperty;
|
|
2
2
|
var G = Object.getOwnPropertySymbols;
|
|
3
3
|
var N = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var f = (
|
|
4
|
+
var f = (p, o, t) => o in p ? M(p, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : p[o] = t, c = (p, o) => {
|
|
5
5
|
for (var t in o || (o = {}))
|
|
6
|
-
N.call(o, t) && f(
|
|
6
|
+
N.call(o, t) && f(p, t, o[t]);
|
|
7
7
|
if (G)
|
|
8
8
|
for (var t of G(o))
|
|
9
|
-
O.call(o, t) && f(
|
|
10
|
-
return
|
|
9
|
+
O.call(o, t) && f(p, t, o[t]);
|
|
10
|
+
return p;
|
|
11
11
|
};
|
|
12
|
-
var d = (
|
|
13
|
-
var u = (
|
|
12
|
+
var d = (p, o, t) => (f(p, typeof o != "symbol" ? o + "" : o, t), t);
|
|
13
|
+
var u = (p, o, t) => new Promise((i, s) => {
|
|
14
14
|
var a = (m) => {
|
|
15
15
|
try {
|
|
16
16
|
r(t.next(m));
|
|
17
17
|
} catch (n) {
|
|
18
|
-
|
|
18
|
+
s(n);
|
|
19
19
|
}
|
|
20
20
|
}, e = (m) => {
|
|
21
21
|
try {
|
|
22
22
|
r(t.throw(m));
|
|
23
23
|
} catch (n) {
|
|
24
|
-
|
|
24
|
+
s(n);
|
|
25
25
|
}
|
|
26
26
|
}, r = (m) => m.done ? i(m.value) : Promise.resolve(m.value).then(a, e);
|
|
27
|
-
r((t = t.apply(
|
|
27
|
+
r((t = t.apply(p, o)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as P } from "../base/BasePluginWithData.js";
|
|
30
30
|
import { equal as $ } from "../shared-utils/equal.js";
|
|
@@ -42,15 +42,17 @@ import "../shared-utils/positionToVector3.js";
|
|
|
42
42
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
43
43
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
44
44
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
45
|
+
import "../shared-utils/util.js";
|
|
45
46
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
46
47
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
47
48
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
48
49
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
49
50
|
import "../shared-utils/three/centerPoint.js";
|
|
51
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
50
52
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
51
53
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
52
54
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
53
|
-
import "../shared-utils/absoluteUrl.js";
|
|
55
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
54
56
|
import "../shared-utils/isTruelyObject.js";
|
|
55
57
|
import "./GuideLineModeItem/index.js";
|
|
56
58
|
import "../shared-utils/log.js";
|
|
@@ -69,7 +71,6 @@ import "../shared-utils/three/loadTexture.js";
|
|
|
69
71
|
import "../PanoTagPlugin/controller/index.js";
|
|
70
72
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
71
73
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
72
|
-
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
73
74
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
74
75
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
75
76
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -96,11 +97,13 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
96
97
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
97
98
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
98
99
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
100
|
+
import "../shared-utils/three/getNormal.js";
|
|
99
101
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
100
|
-
import "../
|
|
102
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
103
|
+
import "../shared-utils/typescript/entries.js";
|
|
104
|
+
import "../shared-utils/url/getUrl.js";
|
|
101
105
|
import "../shared-utils/five/getFloorIndex.js";
|
|
102
106
|
import "../shared-utils/safeObj.js";
|
|
103
|
-
import "../shared-utils/util.js";
|
|
104
107
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
105
108
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
106
109
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -177,6 +180,7 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
177
180
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
178
181
|
import "../shared-utils/three/GLTFLoader.js";
|
|
179
182
|
import "@realsee/five/gltf-loader";
|
|
183
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
180
184
|
import "./Components/Tag.js";
|
|
181
185
|
import "./utils/index.js";
|
|
182
186
|
import "../shared-utils/to.js";
|
|
@@ -191,8 +195,8 @@ import "../CruisePlugin/utils/vectorToCoordinates.js";
|
|
|
191
195
|
import "../CruisePlugin/utils/formatRad.js";
|
|
192
196
|
import "../CruisePlugin/utils/linerValue.js";
|
|
193
197
|
import "../CruisePlugin/utils/sleep.js";
|
|
194
|
-
const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`,
|
|
195
|
-
class
|
|
198
|
+
const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`, Jr = (p) => `${g}--${p}`;
|
|
199
|
+
class qr extends P {
|
|
196
200
|
constructor(t, i) {
|
|
197
201
|
super(t, i);
|
|
198
202
|
d(this, "version", V);
|
|
@@ -220,7 +224,7 @@ class Hr extends P {
|
|
|
220
224
|
get disposed() {
|
|
221
225
|
return this._disposed;
|
|
222
226
|
}
|
|
223
|
-
load(t, i,
|
|
227
|
+
load(t, i, s = !0) {
|
|
224
228
|
return u(this, null, function* () {
|
|
225
229
|
var v, w, E, I, y, L, D;
|
|
226
230
|
if (this.disposed)
|
|
@@ -240,7 +244,7 @@ class Hr extends P {
|
|
|
240
244
|
})) != null ? y : [], A = (D = (L = e.lines) == null ? void 0 : L.map((l) => S({}, n, l))) != null ? D : [], C = [...h, ...A];
|
|
241
245
|
yield this.waitFiveLoaded(), this.clear(), C.forEach((l) => {
|
|
242
246
|
this.addGuideLineItem(l);
|
|
243
|
-
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction:
|
|
247
|
+
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", e), console.debug(`${g} loaded`, e);
|
|
244
248
|
});
|
|
245
249
|
}
|
|
246
250
|
formatData(t) {
|
|
@@ -276,13 +280,13 @@ class Hr extends P {
|
|
|
276
280
|
var a;
|
|
277
281
|
if (this.disposed)
|
|
278
282
|
return this.disposedErrorLog();
|
|
279
|
-
const
|
|
280
|
-
this.state = c(c({}, this.state), t), t.visible !== void 0 && t.visible !==
|
|
283
|
+
const s = c({}, this.state);
|
|
284
|
+
this.state = c(c({}, this.state), t), t.visible !== void 0 && t.visible !== s.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== s.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), $(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (a = i == null ? void 0 : i.userAction) != null ? a : !0 }), this.five.needsRender = !0);
|
|
281
285
|
}
|
|
282
286
|
/** 添加一个 GuideLineItem */
|
|
283
287
|
addGuideLineItem(t) {
|
|
284
|
-
const i = t.render_id || t.id,
|
|
285
|
-
|
|
288
|
+
const i = t.render_id || t.id, s = this.itemMap.get(i);
|
|
289
|
+
s && this.removeGuideLineItem(s);
|
|
286
290
|
const a = new k({ five: this.five, id: i, plugin: this });
|
|
287
291
|
return this.itemMap.set(i, a), t && a.setData(t), this.heightOffset += 1e-4, a.setHeightOffset(this.heightOffset), a;
|
|
288
292
|
}
|
|
@@ -300,7 +304,7 @@ class Hr extends P {
|
|
|
300
304
|
function i(e) {
|
|
301
305
|
return Array.isArray(e) && e.every((r) => typeof r == "number");
|
|
302
306
|
}
|
|
303
|
-
function
|
|
307
|
+
function s(e, r) {
|
|
304
308
|
return new T.Vector3().fromArray(e).distanceTo(new T.Vector3().fromArray(r)) < 0.01;
|
|
305
309
|
}
|
|
306
310
|
function a(e) {
|
|
@@ -308,7 +312,7 @@ class Hr extends P {
|
|
|
308
312
|
const r = (m = e.tag) == null ? void 0 : m.position;
|
|
309
313
|
return i(r) ? t.every((n) => {
|
|
310
314
|
var h;
|
|
311
|
-
return i((h = n.tag) == null ? void 0 : h.position) ? !
|
|
315
|
+
return i((h = n.tag) == null ? void 0 : h.position) ? !s(r, n.tag.position) : !0;
|
|
312
316
|
}) : !1;
|
|
313
317
|
}
|
|
314
318
|
this.itemMap.forEach((e) => {
|
|
@@ -351,6 +355,6 @@ class Hr extends P {
|
|
|
351
355
|
}
|
|
352
356
|
}
|
|
353
357
|
export {
|
|
354
|
-
|
|
355
|
-
|
|
358
|
+
qr as default,
|
|
359
|
+
Jr as pluginFlag
|
|
356
360
|
};
|
|
@@ -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 no } from "./GuideLineItem/index.js";
|
|
8
8
|
import "three";
|
|
9
9
|
import "./utils/createLineGeometry.js";
|
|
10
10
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -22,12 +22,14 @@ import "../shared-utils/positionToVector3.js";
|
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
23
23
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
24
24
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
25
|
+
import "../shared-utils/util.js";
|
|
25
26
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
26
27
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
27
28
|
import "../shared-utils/Subscribe.js";
|
|
28
29
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
29
30
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
30
31
|
import "../shared-utils/three/centerPoint.js";
|
|
32
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
31
33
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
32
34
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
33
35
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -38,7 +40,6 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
38
40
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
39
41
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
40
42
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
41
|
-
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
42
43
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
43
44
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
44
45
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -56,7 +57,7 @@ import "../PanoTagPlugin/utils/planeNormal.js";
|
|
|
56
57
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
57
58
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
58
59
|
import "../base/BasePlugin.js";
|
|
59
|
-
import "../shared-utils/absoluteUrl.js";
|
|
60
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
60
61
|
import "../vendor/svelte/store/index.js";
|
|
61
62
|
import "../vendor/svelte/internal/index.js";
|
|
62
63
|
import "../shared-utils/device.js";
|
|
@@ -67,11 +68,13 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
67
68
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
68
69
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
69
70
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
71
|
+
import "../shared-utils/three/getNormal.js";
|
|
70
72
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
71
|
-
import "../
|
|
73
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
74
|
+
import "../shared-utils/typescript/entries.js";
|
|
75
|
+
import "../shared-utils/url/getUrl.js";
|
|
72
76
|
import "../shared-utils/five/getFloorIndex.js";
|
|
73
77
|
import "../shared-utils/safeObj.js";
|
|
74
|
-
import "../shared-utils/util.js";
|
|
75
78
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
76
79
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
77
80
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -148,6 +151,7 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
148
151
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
149
152
|
import "../shared-utils/three/GLTFLoader.js";
|
|
150
153
|
import "@realsee/five/gltf-loader";
|
|
154
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
151
155
|
import "./Components/Tag.js";
|
|
152
156
|
import "./utils/index.js";
|
|
153
157
|
import "../base/BasePluginWithData.js";
|
|
@@ -164,5 +168,5 @@ import "../CruisePlugin/utils/formatRad.js";
|
|
|
164
168
|
import "../CruisePlugin/utils/linerValue.js";
|
|
165
169
|
import "../CruisePlugin/utils/sleep.js";
|
|
166
170
|
export {
|
|
167
|
-
|
|
171
|
+
no as GuideLineItem
|
|
168
172
|
};
|
|
@@ -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 Ui } 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";
|
|
@@ -25,18 +25,19 @@ import "../shared-utils/positionToVector3.js";
|
|
|
25
25
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
26
26
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
27
27
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
28
|
+
import "../shared-utils/util.js";
|
|
28
29
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
29
30
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
30
31
|
import "../shared-utils/Subscribe.js";
|
|
31
32
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
32
33
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
33
34
|
import "../shared-utils/three/centerPoint.js";
|
|
35
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
34
36
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
35
37
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
36
38
|
import "../shared-utils/animationFrame/index.js";
|
|
37
39
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
38
40
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
39
|
-
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
40
41
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
41
42
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
42
43
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -54,7 +55,7 @@ import "../PanoTagPlugin/utils/planeNormal.js";
|
|
|
54
55
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
55
56
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
56
57
|
import "../base/BasePlugin.js";
|
|
57
|
-
import "../shared-utils/absoluteUrl.js";
|
|
58
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
58
59
|
import "../vendor/svelte/store/index.js";
|
|
59
60
|
import "../vendor/svelte/internal/index.js";
|
|
60
61
|
import "../shared-utils/device.js";
|
|
@@ -65,11 +66,13 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
65
66
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
66
67
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
67
68
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
69
|
+
import "../shared-utils/three/getNormal.js";
|
|
68
70
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
69
|
-
import "../
|
|
71
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
72
|
+
import "../shared-utils/typescript/entries.js";
|
|
73
|
+
import "../shared-utils/url/getUrl.js";
|
|
70
74
|
import "../shared-utils/five/getFloorIndex.js";
|
|
71
75
|
import "../shared-utils/safeObj.js";
|
|
72
|
-
import "../shared-utils/util.js";
|
|
73
76
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
74
77
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
75
78
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -146,6 +149,7 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
146
149
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
147
150
|
import "../shared-utils/three/GLTFLoader.js";
|
|
148
151
|
import "@realsee/five/gltf-loader";
|
|
152
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
149
153
|
export {
|
|
150
|
-
|
|
154
|
+
Ui as GuideLineModeItem
|
|
151
155
|
};
|
|
@@ -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 at } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as lt } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -13,15 +13,17 @@ import "../shared-utils/positionToVector3.js";
|
|
|
13
13
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
14
14
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
15
15
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
16
|
+
import "../shared-utils/util.js";
|
|
16
17
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
17
18
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
18
19
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
19
20
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
20
21
|
import "../shared-utils/three/centerPoint.js";
|
|
22
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
21
23
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
22
24
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
23
25
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
|
-
import "../shared-utils/absoluteUrl.js";
|
|
26
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
25
27
|
import "../shared-utils/equal.js";
|
|
26
28
|
import "../shared-utils/isTruelyObject.js";
|
|
27
29
|
import "../CruisePlugin/Controller.js";
|
|
@@ -51,7 +53,6 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
51
53
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
52
54
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
53
55
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
54
|
-
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
55
56
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
56
57
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
57
58
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -78,11 +79,13 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
78
79
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
79
80
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
80
81
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
82
|
+
import "../shared-utils/three/getNormal.js";
|
|
81
83
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
82
|
-
import "../
|
|
84
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
85
|
+
import "../shared-utils/typescript/entries.js";
|
|
86
|
+
import "../shared-utils/url/getUrl.js";
|
|
83
87
|
import "../shared-utils/five/getFloorIndex.js";
|
|
84
88
|
import "../shared-utils/safeObj.js";
|
|
85
|
-
import "../shared-utils/util.js";
|
|
86
89
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
87
90
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
88
91
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -158,15 +161,16 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
158
161
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
159
162
|
import "../shared-utils/three/GLTFLoader.js";
|
|
160
163
|
import "@realsee/five/gltf-loader";
|
|
164
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
161
165
|
import "./Components/Tag.js";
|
|
162
166
|
import "./utils/index.js";
|
|
163
167
|
import "../shared-utils/to.js";
|
|
164
168
|
import "../shared-utils/five/changeMode.js";
|
|
165
169
|
import "../shared-utils/nearlyEqual.js";
|
|
166
|
-
const
|
|
170
|
+
const ut = (i, o) => new t(i, o);
|
|
167
171
|
export {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
+
at as GuideLineItem,
|
|
173
|
+
lt as GuideLineModeItem,
|
|
174
|
+
ut as GuideLinePlugin,
|
|
175
|
+
ut as default
|
|
172
176
|
};
|
|
@@ -25,12 +25,14 @@ import "../shared-utils/positionToVector3.js";
|
|
|
25
25
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
26
26
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
27
27
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
28
|
+
import "../shared-utils/util.js";
|
|
28
29
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
29
30
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
30
31
|
import "../shared-utils/Subscribe.js";
|
|
31
32
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
32
33
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
33
34
|
import "../shared-utils/three/centerPoint.js";
|
|
35
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
34
36
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
35
37
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
36
38
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
@@ -38,8 +40,8 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
38
40
|
import "hammerjs";
|
|
39
41
|
import "@realsee/five";
|
|
40
42
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
41
|
-
import "../shared-utils/absoluteUrl.js";
|
|
42
|
-
const
|
|
43
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
44
|
+
const de = (s, { videoElement: g }) => {
|
|
43
45
|
const e = {
|
|
44
46
|
videoMeshes: [],
|
|
45
47
|
videoTextureEnabled: !1,
|
|
@@ -182,6 +184,6 @@ const ae = (s, { videoElement: g }) => {
|
|
|
182
184
|
}), { enable: h, disable: m, load: L, dispose: V, state: e, css3DRenderPlugin: f };
|
|
183
185
|
};
|
|
184
186
|
export {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
+
de as ModelTVVideoPlugin,
|
|
188
|
+
de as default
|
|
187
189
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelTVVideoPlugin as r } from "./Plugin.js";
|
|
2
|
-
import { DIRECTION as
|
|
2
|
+
import { DIRECTION as j } from "./typings.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "./utils/parseData.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/index.js";
|
|
@@ -9,12 +9,14 @@ import "../shared-utils/positionToVector3.js";
|
|
|
9
9
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
10
10
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
11
11
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
12
|
+
import "../shared-utils/util.js";
|
|
12
13
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
13
14
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
14
15
|
import "../shared-utils/Subscribe.js";
|
|
15
16
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
16
17
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
17
18
|
import "../shared-utils/three/centerPoint.js";
|
|
19
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
18
20
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
19
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
20
22
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
@@ -22,10 +24,10 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
22
24
|
import "hammerjs";
|
|
23
25
|
import "@realsee/five";
|
|
24
26
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
25
|
-
import "../shared-utils/absoluteUrl.js";
|
|
27
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
26
28
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
27
29
|
export {
|
|
28
|
-
|
|
30
|
+
j as DIRECTION,
|
|
29
31
|
r as ModelTVVideoPlugin,
|
|
30
32
|
r as default
|
|
31
33
|
};
|
|
@@ -47,7 +47,7 @@ import { ScaleController as A } from "../shared-utils/Object3DHelper/Controller/
|
|
|
47
47
|
import "../shared-utils/Subscribe.js";
|
|
48
48
|
import "hammerjs";
|
|
49
49
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
|
-
import "../shared-utils/absoluteUrl.js";
|
|
50
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
51
51
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
52
52
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
53
53
|
import "../shared-utils/three/IObject3D.js";
|
|
@@ -71,11 +71,13 @@ import "../shared-utils/positionToVector3.js";
|
|
|
71
71
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
72
72
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
73
73
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
74
|
+
import "../shared-utils/util.js";
|
|
74
75
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
75
76
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
76
77
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
77
78
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
78
79
|
import "../shared-utils/three/centerPoint.js";
|
|
80
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
79
81
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
80
82
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
81
83
|
const S = "Object3DHelperPlugin", w = S, J = () => {
|
|
@@ -85,7 +87,7 @@ const S = "Object3DHelperPlugin", w = S, J = () => {
|
|
|
85
87
|
}, Q = () => {
|
|
86
88
|
console.error(`${w} is disabled`);
|
|
87
89
|
};
|
|
88
|
-
class
|
|
90
|
+
class Xe extends k {
|
|
89
91
|
constructor(e) {
|
|
90
92
|
super(e);
|
|
91
93
|
m(this, "name", S);
|
|
@@ -230,6 +232,6 @@ class Qe extends k {
|
|
|
230
232
|
}
|
|
231
233
|
}
|
|
232
234
|
export {
|
|
233
|
-
|
|
235
|
+
Xe as Object3DHelperController,
|
|
234
236
|
w as PLUGIN
|
|
235
237
|
};
|