@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,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,48 @@ 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 pe } 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";
|
|
40
|
+
import "../../../shared-utils/util.js";
|
|
39
41
|
import "../createResizeObserver.js";
|
|
40
42
|
import "../even.js";
|
|
41
43
|
import "./OpacityMesh.js";
|
|
42
44
|
import "../../../shared-utils/three/centerPoint.js";
|
|
43
|
-
|
|
45
|
+
import "../../../shared-utils/three/getObjectVisible.js";
|
|
46
|
+
const J = 3, G = "CSS3DRenderer", b = `${G}@${J}`, u = () => {
|
|
44
47
|
console.error(`${b} is disposed`);
|
|
45
|
-
},
|
|
48
|
+
}, o = {
|
|
46
49
|
css3DObjects: [],
|
|
47
50
|
frontModeStore: {
|
|
48
|
-
css3DRenderer: new
|
|
51
|
+
css3DRenderer: new B()
|
|
49
52
|
},
|
|
50
53
|
behindModeStore: {
|
|
51
|
-
css3DRenderer: new
|
|
54
|
+
css3DRenderer: new B()
|
|
52
55
|
}
|
|
53
56
|
};
|
|
54
|
-
function
|
|
55
|
-
return
|
|
57
|
+
function w(n) {
|
|
58
|
+
return o.css3DObjects.find((e) => e.id === n);
|
|
56
59
|
}
|
|
57
|
-
function
|
|
58
|
-
|
|
60
|
+
function K(n) {
|
|
61
|
+
o.frontModeStore.css3DRenderer.setWrapper(n);
|
|
59
62
|
}
|
|
60
|
-
function
|
|
61
|
-
|
|
63
|
+
function Q(n) {
|
|
64
|
+
o.behindModeStore.css3DRenderer.setWrapper(n);
|
|
62
65
|
}
|
|
63
|
-
class
|
|
66
|
+
class y {
|
|
64
67
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
65
68
|
constructor(e) {
|
|
66
|
-
i(this, "hooks", new
|
|
69
|
+
i(this, "hooks", new A());
|
|
67
70
|
i(this, "state", {
|
|
68
71
|
enabled: !0,
|
|
69
72
|
visible: !0,
|
|
@@ -71,7 +74,7 @@ class w {
|
|
|
71
74
|
});
|
|
72
75
|
i(this, "_scene");
|
|
73
76
|
i(this, "store", {
|
|
74
|
-
frontModeGroup: new
|
|
77
|
+
frontModeGroup: new U()
|
|
75
78
|
});
|
|
76
79
|
/**
|
|
77
80
|
* @description 根据传入的四个点位创建一个 3d dom容器,可以通过ReactDom.render()的方式将react组件放到容器中
|
|
@@ -117,24 +120,25 @@ class w {
|
|
|
117
120
|
mode: "front",
|
|
118
121
|
autoRender: !0,
|
|
119
122
|
container: document.createElement("div"),
|
|
120
|
-
pointerEvents: "none"
|
|
123
|
+
pointerEvents: "none",
|
|
124
|
+
wrapperStyle: {}
|
|
121
125
|
};
|
|
122
126
|
return Object.assign(h, s);
|
|
123
|
-
})(), d = t.map(
|
|
127
|
+
})(), d = t.map(q);
|
|
124
128
|
if ((d == null ? void 0 : d.length) < 4)
|
|
125
129
|
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;
|
|
130
|
+
const { ratio: f, devicePixelRatio: l, mode: c, autoRender: S, container: O, pointerEvents: F, wrapperStyle: I } = r;
|
|
127
131
|
let D = !1;
|
|
128
|
-
const a = this.createObject(d, { ratio: f, dpr: l, container: O, mode: c, pointerEvents: F });
|
|
129
|
-
|
|
130
|
-
const
|
|
132
|
+
const a = this.createObject(d, { ratio: f, dpr: l, container: O, mode: c, pointerEvents: F, wrapperStyle: I });
|
|
133
|
+
o.css3DObjects.push(a), r.scene && this.setScene(r.scene);
|
|
134
|
+
const N = () => {
|
|
131
135
|
if (D)
|
|
132
136
|
return;
|
|
133
137
|
const h = a.mode === "front" ? this.getFrontCSS3DObjectGroup() : this.getBehindCSS3DObjectGroup();
|
|
134
138
|
h && h.add(a);
|
|
135
139
|
}, E = () => {
|
|
136
|
-
D || (
|
|
137
|
-
}, m = (h) => this.setVisibleById(a.id, h), M = (h) => this.setEnabledById(a.id, h),
|
|
140
|
+
D || (N(), this.render(e), this.hooks.emit("render"));
|
|
141
|
+
}, 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
142
|
return S && E(), {
|
|
139
143
|
id: a.uuid,
|
|
140
144
|
container: O,
|
|
@@ -146,23 +150,23 @@ class w {
|
|
|
146
150
|
enable: () => M(!0),
|
|
147
151
|
disable: () => M(!1),
|
|
148
152
|
setEnabled: M,
|
|
149
|
-
dispose:
|
|
150
|
-
appendToElement: (h) =>
|
|
153
|
+
dispose: x,
|
|
154
|
+
appendToElement: (h) => V.setWrapper(h)
|
|
151
155
|
};
|
|
152
156
|
});
|
|
153
157
|
i(this, "setVisibleById", (e, t) => {
|
|
154
158
|
var s;
|
|
155
|
-
(s =
|
|
159
|
+
(s = w(e)) == null || s.setVisible(t);
|
|
156
160
|
});
|
|
157
161
|
i(this, "setEnabledById", (e, t) => {
|
|
158
|
-
const s =
|
|
162
|
+
const s = w(e);
|
|
159
163
|
if (!s)
|
|
160
164
|
return;
|
|
161
165
|
const r = s.mode === "front" ? this.getFrontCSS3DObjectGroup({ addGroupIfNotExists: !1 }) : this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 });
|
|
162
166
|
r && (t ? r.add(s) : r.remove(s));
|
|
163
167
|
});
|
|
164
168
|
i(this, "createObject", (e, t) => {
|
|
165
|
-
const s = new
|
|
169
|
+
const s = new W(v(g({ cornerPoints: e }, t), { style: t.wrapperStyle }));
|
|
166
170
|
return s.element.classList.add(`${G}__container`), s.element.id = `${G}__container--${s.uuid}`, s;
|
|
167
171
|
});
|
|
168
172
|
e && this.setScene(e);
|
|
@@ -171,16 +175,16 @@ class w {
|
|
|
171
175
|
return this._scene || console.error("scene doesn't exist!, please call setScene(scene) first"), this._scene;
|
|
172
176
|
}
|
|
173
177
|
static get frontModeCSS3DRenderer() {
|
|
174
|
-
return
|
|
178
|
+
return o.frontModeStore.css3DRenderer;
|
|
175
179
|
}
|
|
176
180
|
static get behindModeCSS3DRenderer() {
|
|
177
|
-
return
|
|
181
|
+
return o.behindModeStore.css3DRenderer;
|
|
178
182
|
}
|
|
179
183
|
get frontModeCSS3DRenderer() {
|
|
180
|
-
return
|
|
184
|
+
return o.frontModeStore.css3DRenderer;
|
|
181
185
|
}
|
|
182
186
|
get behindModeCSS3DRenderer() {
|
|
183
|
-
return
|
|
187
|
+
return o.behindModeStore.css3DRenderer;
|
|
184
188
|
}
|
|
185
189
|
setScene(e) {
|
|
186
190
|
this._scene = e;
|
|
@@ -223,30 +227,30 @@ class w {
|
|
|
223
227
|
}
|
|
224
228
|
getFrontCSS3DScene({ createSceneIfNotExists: e = !1 } = {}) {
|
|
225
229
|
var s;
|
|
226
|
-
const t = (s =
|
|
230
|
+
const t = (s = o.frontModeStore) == null ? void 0 : s.css3DScene;
|
|
227
231
|
if (t)
|
|
228
232
|
return t;
|
|
229
233
|
if (e) {
|
|
230
|
-
const r = new
|
|
231
|
-
|
|
234
|
+
const r = new H();
|
|
235
|
+
o.frontModeStore.css3DScene = r;
|
|
232
236
|
}
|
|
233
|
-
return
|
|
237
|
+
return o.frontModeStore.css3DScene;
|
|
234
238
|
}
|
|
235
239
|
getBehindCSS3DScene({ createSceneIfNotExists: e = !1 } = {}) {
|
|
236
240
|
var s, r;
|
|
237
|
-
const t = (s =
|
|
241
|
+
const t = (s = o.behindModeStore) == null ? void 0 : s.css3DScene;
|
|
238
242
|
if (t)
|
|
239
243
|
return t;
|
|
240
244
|
if (e) {
|
|
241
|
-
const d = (r =
|
|
245
|
+
const d = (r = o.behindModeStore.scene) != null ? r : this.scene;
|
|
242
246
|
if (!d) {
|
|
243
247
|
console.error(`${b}: scene is required when mode is behind`);
|
|
244
248
|
return;
|
|
245
249
|
}
|
|
246
|
-
const f = new
|
|
247
|
-
|
|
250
|
+
const f = new T(d);
|
|
251
|
+
o.behindModeStore.css3DScene = f, o.behindModeStore.scene = d;
|
|
248
252
|
}
|
|
249
|
-
return
|
|
253
|
+
return o.behindModeStore.css3DScene;
|
|
250
254
|
}
|
|
251
255
|
getFrontCSS3DObjectGroup({ addGroupIfNotExists: e = !0 } = {}) {
|
|
252
256
|
const t = this.getFrontCSS3DScene({ createSceneIfNotExists: e });
|
|
@@ -256,7 +260,7 @@ class w {
|
|
|
256
260
|
var s;
|
|
257
261
|
const t = this.getBehindCSS3DScene({ createSceneIfNotExists: e });
|
|
258
262
|
if (e && t && this.scene) {
|
|
259
|
-
const r = (s = this.store.behindModeGroup) != null ? s : new
|
|
263
|
+
const r = (s = this.store.behindModeGroup) != null ? s : new z(this.scene);
|
|
260
264
|
this.store.behindModeGroup = r, t.getObjectById(r.id) || t.add(r);
|
|
261
265
|
}
|
|
262
266
|
return this.store.behindModeGroup;
|
|
@@ -267,13 +271,13 @@ class w {
|
|
|
267
271
|
const r = this.getFrontCSS3DScene({ createSceneIfNotExists: !0 });
|
|
268
272
|
if (!r)
|
|
269
273
|
return console.error(`${b}: css3DScene is required when mode is front`);
|
|
270
|
-
|
|
274
|
+
o.frontModeStore.css3DRenderer.renderEveryFrame(r, e);
|
|
271
275
|
}
|
|
272
276
|
if (((s = (t = this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 })) == null ? void 0 : t.CSS3DObjectLength) != null ? s : 0) > 0) {
|
|
273
277
|
const r = this.getBehindCSS3DScene({ createSceneIfNotExists: !0 });
|
|
274
278
|
if (!r)
|
|
275
279
|
return console.error(`${b}: css3DScene is required when mode is behind`);
|
|
276
|
-
|
|
280
|
+
o.behindModeStore.css3DRenderer.renderEveryFrame(r, e);
|
|
277
281
|
}
|
|
278
282
|
}
|
|
279
283
|
handleShow() {
|
|
@@ -295,19 +299,19 @@ class w {
|
|
|
295
299
|
handleDisable() {
|
|
296
300
|
var e, t, s;
|
|
297
301
|
this.store.frontModeGroup.children.forEach((r) => {
|
|
298
|
-
r instanceof
|
|
302
|
+
r instanceof j && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
|
|
299
303
|
}), (e = this.store.behindModeGroup) == null || e.children.forEach((r) => {
|
|
300
|
-
r instanceof
|
|
304
|
+
r instanceof j && r.element instanceof Element && r.element.parentNode !== null && r.element.remove();
|
|
301
305
|
}), (t = this.getFrontCSS3DScene()) == null || t.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((s = this.getBehindCSS3DScene()) == null || s.remove(this.store.behindModeGroup));
|
|
302
306
|
}
|
|
303
307
|
handleDispose() {
|
|
304
308
|
this.handleDisable();
|
|
305
309
|
}
|
|
306
310
|
}
|
|
307
|
-
i(
|
|
311
|
+
i(y, "setFrontModeContainer", K), i(y, "setBehindModeContainer", Q);
|
|
308
312
|
export {
|
|
309
|
-
|
|
310
|
-
|
|
313
|
+
y as CSS3DRender,
|
|
314
|
+
pe as MinRatio,
|
|
311
315
|
b as PLUGIN,
|
|
312
|
-
|
|
316
|
+
o as globalStore
|
|
313
317
|
};
|
|
@@ -4,8 +4,9 @@ var n = (r, t, e) => (l(r, typeof t != "symbol" ? t + "" : t, e), e);
|
|
|
4
4
|
import { CSS3DRenderer as p } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
5
5
|
import h from "../getAllCSS3DObject.js";
|
|
6
6
|
import u from "../createResizeObserver.js";
|
|
7
|
+
import "../../../shared-utils/util.js";
|
|
7
8
|
import "../even.js";
|
|
8
|
-
class
|
|
9
|
+
class F extends p {
|
|
9
10
|
constructor() {
|
|
10
11
|
super();
|
|
11
12
|
n(this, "wrapper");
|
|
@@ -43,6 +44,6 @@ class A extends p {
|
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
F as ICSS3DRenderer,
|
|
48
|
+
F as default
|
|
48
49
|
};
|
|
@@ -1,39 +1,40 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
2
|
var h = (n, r, e) => r in n ? a(n, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[r] = e;
|
|
3
|
-
var
|
|
4
|
-
import * as
|
|
3
|
+
var i = (n, r, e) => (h(n, typeof r != "symbol" ? r + "" : r, e), e);
|
|
4
|
+
import * as s from "three";
|
|
5
5
|
import o from "../getAllCSS3DObject.js";
|
|
6
|
-
|
|
6
|
+
import "../../../shared-utils/util.js";
|
|
7
|
+
class m extends s.Scene {
|
|
7
8
|
constructor() {
|
|
8
9
|
super();
|
|
9
10
|
}
|
|
10
11
|
add(...r) {
|
|
11
|
-
return super.add(...r), o(
|
|
12
|
+
return super.add(...r), o(r).forEach((e) => {
|
|
12
13
|
e.mode = "front";
|
|
13
14
|
}), this;
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
|
-
class
|
|
17
|
+
class u extends s.Scene {
|
|
17
18
|
constructor(e) {
|
|
18
19
|
super();
|
|
19
|
-
|
|
20
|
+
i(this, "scene");
|
|
20
21
|
if (!e)
|
|
21
22
|
throw new Error("CSS3DBehindScene: scene is required");
|
|
22
23
|
this.scene = e;
|
|
23
24
|
}
|
|
24
25
|
add(...e) {
|
|
25
|
-
return super.add(...e), o(
|
|
26
|
+
return super.add(...e), o(e).forEach((t) => {
|
|
26
27
|
t.mode = "behind", this.scene.add(t.getOpacityMesh());
|
|
27
28
|
}), this;
|
|
28
29
|
}
|
|
29
30
|
remove(...e) {
|
|
30
|
-
return o(
|
|
31
|
+
return o(e).forEach((t) => {
|
|
31
32
|
var d;
|
|
32
33
|
(d = t.opacityMesh) == null || d.removeFromParent(), t.opacityMesh = null;
|
|
33
34
|
}), super.remove(...e), this;
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
u as CSS3DBehindScene,
|
|
39
|
+
m as CSS3DFrontScene
|
|
39
40
|
};
|
|
@@ -47,15 +47,17 @@ import "../shared-utils/positionToVector3.js";
|
|
|
47
47
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
48
48
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
49
49
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
50
|
+
import "../shared-utils/util.js";
|
|
50
51
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
51
52
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
52
53
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
53
54
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
54
55
|
import "../shared-utils/three/centerPoint.js";
|
|
56
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
55
57
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
56
58
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
57
59
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
58
|
-
import "../shared-utils/absoluteUrl.js";
|
|
60
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
59
61
|
import "../GuideLinePlugin/Controller.js";
|
|
60
62
|
import "../GuideLinePlugin/GuideLineItem/index.js";
|
|
61
63
|
import "../GuideLinePlugin/GuideLineModeItem/index.js";
|
|
@@ -76,7 +78,6 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
76
78
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
77
79
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
78
80
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
79
|
-
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
80
81
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
81
82
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
82
83
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -103,11 +104,13 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
103
104
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
104
105
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
105
106
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
107
|
+
import "../shared-utils/three/getNormal.js";
|
|
106
108
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
107
|
-
import "../
|
|
109
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
110
|
+
import "../shared-utils/typescript/entries.js";
|
|
111
|
+
import "../shared-utils/url/getUrl.js";
|
|
108
112
|
import "../shared-utils/five/getFloorIndex.js";
|
|
109
113
|
import "../shared-utils/safeObj.js";
|
|
110
|
-
import "../shared-utils/util.js";
|
|
111
114
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
112
115
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
113
116
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -183,6 +186,7 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
183
186
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
184
187
|
import "../shared-utils/three/GLTFLoader.js";
|
|
185
188
|
import "@realsee/five/gltf-loader";
|
|
189
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
186
190
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
187
191
|
import "../GuideLinePlugin/utils/index.js";
|
|
188
192
|
import "./Controller.js";
|
|
@@ -192,7 +196,7 @@ import "../shared-utils/nearlyEqual.js";
|
|
|
192
196
|
import "./utils/coordinatesToVector.js";
|
|
193
197
|
import "../shared-utils/isTruelyObject.js";
|
|
194
198
|
import "./utils/formatRad.js";
|
|
195
|
-
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`,
|
|
199
|
+
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`, rr = (c) => `${x}--${c}`, D = () => {
|
|
196
200
|
console.error(`${x} is disposed`);
|
|
197
201
|
}, W = () => {
|
|
198
202
|
console.warn(`${x} is disabled`);
|
|
@@ -239,30 +243,30 @@ class z extends V {
|
|
|
239
243
|
*/
|
|
240
244
|
load(e, t, i) {
|
|
241
245
|
return v(this, null, function* () {
|
|
242
|
-
var o, m,
|
|
246
|
+
var o, m, f, u, h, P;
|
|
243
247
|
if (this.state.disposed)
|
|
244
248
|
return D();
|
|
245
|
-
this.privateState.fiveOriginGetProgress || (m = (o = this.five.controller) == null ? void 0 : o.cameraMotion) != null && m.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (u = (
|
|
249
|
+
this.privateState.fiveOriginGetProgress || (m = (o = this.five.controller) == null ? void 0 : o.cameraMotion) != null && m.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (u = (f = this.five.controller) == null ? void 0 : f.cameraMotion) == null ? void 0 : u.getProgress), this.clear();
|
|
246
250
|
const r = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, n = yield this.formatData(e);
|
|
247
251
|
this.data = n, this.hooks.emit("dataChange", n, r);
|
|
248
252
|
let s = [], d;
|
|
249
|
-
const a = this.data.keyframes.filter((
|
|
250
|
-
a.filter((
|
|
253
|
+
const a = this.data.keyframes.filter((p) => p.data.panoIndex !== void 0);
|
|
254
|
+
a.filter((p, y) => {
|
|
251
255
|
var S;
|
|
252
|
-
return
|
|
253
|
-
}).map((
|
|
256
|
+
return p.data.panoIndex !== ((S = a[y - 1]) == null ? void 0 : S.data.panoIndex);
|
|
257
|
+
}).map((p) => p.data.panoIndex).forEach((p) => {
|
|
254
258
|
var S, k;
|
|
255
|
-
const y = (S = this.five.work.observers[
|
|
259
|
+
const y = (S = this.five.work.observers[p]) == null ? void 0 : S.floorIndex;
|
|
256
260
|
if (y !== void 0)
|
|
257
261
|
if (d === y) {
|
|
258
262
|
const b = s.length - 1;
|
|
259
|
-
s[b] = [...(k = s[b]) != null ? k : [],
|
|
263
|
+
s[b] = [...(k = s[b]) != null ? k : [], p];
|
|
260
264
|
} else {
|
|
261
265
|
d = y;
|
|
262
266
|
const b = s.length;
|
|
263
|
-
s[b] = [
|
|
267
|
+
s[b] = [p];
|
|
264
268
|
}
|
|
265
|
-
}), !this.GuideLine && ((h = this.config) == null ? void 0 : h.useGuideLine) !== !1 && n.useGuildLine !== !1 && (this.GuideLine = $(this.five, this.config)), (P = this.GuideLine) == null || P.load({ routes: s.map((
|
|
269
|
+
}), !this.GuideLine && ((h = this.config) == null ? void 0 : h.useGuideLine) !== !1 && n.useGuildLine !== !1 && (this.GuideLine = $(this.five, this.config)), (P = this.GuideLine) == null || P.load({ routes: s.map((p) => ({ panoIndexList: p })), config: n.guildPluginOptions }), t ? this.setState(t, { userAction: i }) : (this.setState({ playing: !1 }, { userAction: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing, { userAction: !1 }), this.changeSpeed(this.state.speed)), this.clearPauseData(), console.debug(`${x} loaded`, n), this.hooks.emit("dataLoaded", n);
|
|
266
270
|
});
|
|
267
271
|
}
|
|
268
272
|
/**
|
|
@@ -362,12 +366,12 @@ class z extends V {
|
|
|
362
366
|
const { moveEffect: n, moveToFirstPanoEffect: s, moveToFirstPanoDuration: d } = i;
|
|
363
367
|
return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration = d, i.panoIndexList.forEach((a, o) => {
|
|
364
368
|
const m = (() => {
|
|
365
|
-
var
|
|
366
|
-
const
|
|
367
|
-
if (
|
|
369
|
+
var p, y, S, k;
|
|
370
|
+
const f = i.panoIndexList.slice(o).find((b) => b !== a);
|
|
371
|
+
if (f === void 0)
|
|
368
372
|
return;
|
|
369
|
-
const u = (
|
|
370
|
-
if (!h || !u || ((S = t[a]) == null ? void 0 : S.floorIndex) !== ((k = t[
|
|
373
|
+
const u = (p = t[a]) == null ? void 0 : p.position, h = (y = t[f]) == null ? void 0 : y.position;
|
|
374
|
+
if (!h || !u || ((S = t[a]) == null ? void 0 : S.floorIndex) !== ((k = t[f]) == null ? void 0 : k.floorIndex))
|
|
371
375
|
return;
|
|
372
376
|
const P = new j.Vector3().subVectors(h, u);
|
|
373
377
|
return N(P.normalize());
|
|
@@ -420,23 +424,23 @@ class z extends V {
|
|
|
420
424
|
const d = t.keyframes, a = this.getPauseData();
|
|
421
425
|
(e == null ? void 0 : e.notEmitEvent) !== !0 && n.emit("play", { userAction: (u = e == null ? void 0 : e.userAction) != null ? u : !0 });
|
|
422
426
|
let o = !1;
|
|
423
|
-
const
|
|
427
|
+
const f = yield (() => v(this, null, function* () {
|
|
424
428
|
var h, P;
|
|
425
429
|
if ((e == null ? void 0 : e.playFromIndex) !== void 0)
|
|
426
430
|
return e.playFromIndex;
|
|
427
431
|
if ((e == null ? void 0 : e.playFromId) !== void 0)
|
|
428
|
-
return (h = this.data) == null ? void 0 : h.keyframes.findIndex((
|
|
432
|
+
return (h = this.data) == null ? void 0 : h.keyframes.findIndex((p) => p.id === e.playFromId);
|
|
429
433
|
if (a != null && a.keyframeId) {
|
|
430
|
-
const
|
|
434
|
+
const p = (P = this.data) == null ? void 0 : P.keyframes.find((y) => y.id === a.keyframeId);
|
|
431
435
|
if (a != null && a.fiveState && (yield this.move(a.fiveState, {
|
|
432
436
|
moveEffect: r.moveToFirstPanoEffect,
|
|
433
437
|
duration: r.moveToFirstPanoDuration
|
|
434
|
-
})),
|
|
435
|
-
if (
|
|
436
|
-
return
|
|
437
|
-
if (
|
|
438
|
+
})), p) {
|
|
439
|
+
if (p.data.effect === "Move")
|
|
440
|
+
return p.index;
|
|
441
|
+
if (p.data.effect === "Rotate") {
|
|
438
442
|
const y = a.duration !== void 0 ? a.duration * (1 - a.playedProgress) : void 0;
|
|
439
|
-
return yield this.playKeyframe(
|
|
443
|
+
return yield this.playKeyframe(p, { duration: y }), o = !0, p.index + 1;
|
|
440
444
|
}
|
|
441
445
|
}
|
|
442
446
|
}
|
|
@@ -445,7 +449,7 @@ class z extends V {
|
|
|
445
449
|
for (const h of d) {
|
|
446
450
|
if (r.broke || !i.playing || !r.playing || s !== r.playId)
|
|
447
451
|
return;
|
|
448
|
-
if (!(
|
|
452
|
+
if (!(f !== void 0 && h.index < f))
|
|
449
453
|
try {
|
|
450
454
|
n.emit("playIndexChange", h.index, h), yield this.playKeyframe(h, {
|
|
451
455
|
moveEffect: o === !1 ? r.moveToFirstPanoEffect : void 0,
|
|
@@ -574,11 +578,11 @@ class z extends V {
|
|
|
574
578
|
return v(this, arguments, function* (e, t = {}) {
|
|
575
579
|
const { five: r, privateState: n, state: s } = this, d = (() => {
|
|
576
580
|
var u, h;
|
|
577
|
-
const m = (u = s.config) == null ? void 0 : u.speedConfig,
|
|
581
|
+
const m = (u = s.config) == null ? void 0 : u.speedConfig, f = (h = e.rotateSpeed) != null ? h : m == null ? void 0 : m.rotateSpeed;
|
|
578
582
|
if ((m == null ? void 0 : m.rotateSpeedUnit) === void 0)
|
|
579
|
-
return
|
|
580
|
-
if (
|
|
581
|
-
return m.rotateSpeedUnit === "rad/ms" ?
|
|
583
|
+
return f;
|
|
584
|
+
if (f !== void 0)
|
|
585
|
+
return m.rotateSpeedUnit === "rad/ms" ? f : f / 1e3;
|
|
582
586
|
})(), a = (() => {
|
|
583
587
|
if (t.duration)
|
|
584
588
|
return t.duration;
|
|
@@ -606,8 +610,8 @@ class z extends V {
|
|
|
606
610
|
const s = i.getCurrentState().mode !== "Panorama";
|
|
607
611
|
s && (this.privateState.modeChanging = !0);
|
|
608
612
|
const d = (() => {
|
|
609
|
-
var
|
|
610
|
-
const o = (
|
|
613
|
+
var f, u;
|
|
614
|
+
const o = (f = n.config) == null ? void 0 : f.speedConfig, m = (u = e.moveSpeed) != null ? u : o == null ? void 0 : o.moveSpeed;
|
|
611
615
|
if ((o == null ? void 0 : o.moveSpeedUnit) === void 0)
|
|
612
616
|
return m;
|
|
613
617
|
if (m !== void 0)
|
|
@@ -622,13 +626,13 @@ class z extends V {
|
|
|
622
626
|
return 800;
|
|
623
627
|
})();
|
|
624
628
|
r.currentPlayKeyframe && (r.currentPlayKeyframe.originDuration = a), yield new Promise((o) => {
|
|
625
|
-
var m,
|
|
629
|
+
var m, f, u;
|
|
626
630
|
i.moveToPano(e.panoIndex, {
|
|
627
631
|
latitude: e.latitude,
|
|
628
632
|
longitude: e.longitude,
|
|
629
633
|
fov: e.fov,
|
|
630
634
|
duration: this.getSpeededDuration(a),
|
|
631
|
-
effect: (u = (
|
|
635
|
+
effect: (u = (f = t == null ? void 0 : t.moveEffect) != null ? f : (m = this.state.config) == null ? void 0 : m.moveEffect) != null ? u : e.moveEffect,
|
|
632
636
|
moveCancelCallback: () => o(),
|
|
633
637
|
moveEndCallback: () => o()
|
|
634
638
|
}), s && i.once("panoArrived", () => o());
|
|
@@ -747,5 +751,5 @@ class z extends V {
|
|
|
747
751
|
I(z, "PluginVersion", M);
|
|
748
752
|
export {
|
|
749
753
|
z as default,
|
|
750
|
-
|
|
754
|
+
rr as pluginFlag
|
|
751
755
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i from "./Controller.js";
|
|
2
|
-
import { typing as
|
|
2
|
+
import { typing as Co } from "./typing/index.js";
|
|
3
3
|
import "../base/BasePluginWithData.js";
|
|
4
4
|
import "../base/BasePlugin.js";
|
|
5
5
|
import "../shared-utils/Subscribe.js";
|
|
@@ -12,15 +12,17 @@ import "../shared-utils/positionToVector3.js";
|
|
|
12
12
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
13
13
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
14
14
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
15
|
+
import "../shared-utils/util.js";
|
|
15
16
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
16
17
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
17
18
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
18
19
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
19
20
|
import "../shared-utils/three/centerPoint.js";
|
|
21
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
20
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
21
23
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
22
24
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
|
-
import "../shared-utils/absoluteUrl.js";
|
|
25
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
24
26
|
import "../GuideLinePlugin/index.js";
|
|
25
27
|
import "../GuideLinePlugin/Controller.js";
|
|
26
28
|
import "../shared-utils/equal.js";
|
|
@@ -44,7 +46,6 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
44
46
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
45
47
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
46
48
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
47
|
-
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
48
49
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
49
50
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
50
51
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -71,11 +72,13 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
71
72
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
72
73
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
73
74
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
75
|
+
import "../shared-utils/three/getNormal.js";
|
|
74
76
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
75
|
-
import "../
|
|
77
|
+
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
78
|
+
import "../shared-utils/typescript/entries.js";
|
|
79
|
+
import "../shared-utils/url/getUrl.js";
|
|
76
80
|
import "../shared-utils/five/getFloorIndex.js";
|
|
77
81
|
import "../shared-utils/safeObj.js";
|
|
78
|
-
import "../shared-utils/util.js";
|
|
79
82
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
80
83
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
81
84
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -152,6 +155,7 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
152
155
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
153
156
|
import "../shared-utils/three/GLTFLoader.js";
|
|
154
157
|
import "@realsee/five/gltf-loader";
|
|
158
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
155
159
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
156
160
|
import "../GuideLinePlugin/utils/index.js";
|
|
157
161
|
import "../shared-utils/to.js";
|
|
@@ -164,10 +168,10 @@ import "./utils/vectorToCoordinates.js";
|
|
|
164
168
|
import "./utils/formatRad.js";
|
|
165
169
|
import "./utils/linerValue.js";
|
|
166
170
|
import "./utils/sleep.js";
|
|
167
|
-
const
|
|
171
|
+
const uo = (r) => new i(r);
|
|
168
172
|
export {
|
|
169
|
-
|
|
173
|
+
uo as CruisePlugin,
|
|
170
174
|
i as CruisePluginController,
|
|
171
|
-
|
|
172
|
-
|
|
175
|
+
Co as CruisePluginTypes,
|
|
176
|
+
uo as default
|
|
173
177
|
};
|