@realsee/dnalogel 3.0.0-10 → 3.0.0-11
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 +2 -3
- package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +4 -0
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +7 -5
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +0 -1
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +12 -6
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -5
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +6 -12
- package/dist/PanoTagPlugin/controller/index.d.ts +6 -2
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -3
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -67
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -7
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -8
- package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +4 -0
- package/dist/PanoTagPlugin/utils/index.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/dist/index.cjs.js +62 -62
- package/dist/index.d.ts +0 -1
- package/dist/index.js +6317 -6321
- package/dist/index.umd.js +49 -49
- package/dist/shared-utils/five/FiveDomEvents.d.ts +3 -1
- package/dist/shared-utils/index.d.ts +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -31
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -32
- package/docs/classes/CSS3DRender.html +30 -31
- package/docs/classes/CruisePluginController.html +25 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -20
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -35
- package/docs/classes/Magnifier.html +19 -20
- package/docs/classes/ModelRoomLabelController.html +10 -11
- package/docs/classes/Object3DHelperController.html +24 -25
- package/docs/classes/PaintBrush.html +14 -15
- package/docs/classes/PanoMeasurePluginLine.html +26 -27
- package/docs/classes/PanoMeasurePluginModel.html +26 -27
- package/docs/classes/PanoMeasurePluginPoint.html +10 -11
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -27
- package/docs/classes/PanoTagPluginController.html +108 -54
- package/docs/classes/Util.BetterTween.html +8 -9
- package/docs/classes/Util.Interval.html +11 -12
- package/docs/classes/Util.LineSegments.html +7 -8
- package/docs/classes/Util.Magnifier.html +19 -20
- package/docs/classes/Util.Object3D.html +7 -8
- package/docs/classes/Util.PointDomHelper.html +10 -11
- package/docs/classes/Util.PointHelper.html +10 -11
- package/docs/classes/Util.PointSelectorHelper.html +15 -16
- package/docs/classes/Util.Rectangle.html +12 -13
- package/docs/enums/CameraMovementEffect.html +6 -7
- package/docs/enums/ContentType.html +19 -20
- package/docs/enums/DIRECTION.html +8 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -9
- package/docs/enums/DimensionType.html +6 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -9
- package/docs/enums/PaintBrushTypeEnum.html +7 -8
- package/docs/enums/PointType.html +6 -7
- package/docs/enums/Rotation.html +7 -8
- package/docs/functions/AreaMakerPlugin.html +4 -5
- package/docs/functions/CSS3DRenderPlugin.html +3 -4
- package/docs/functions/CameraMovementPlugin.html +3 -4
- package/docs/functions/CruisePlugin.html +3 -4
- package/docs/functions/CurrentPanoImagePlugin.html +3 -4
- package/docs/functions/GuideLinePlugin.html +4 -5
- package/docs/functions/ItemLabelPlugin.html +3 -4
- package/docs/functions/MapviewFloorplanPlugin.html +3 -4
- package/docs/functions/ModelChassisCompassPlugin.html +3 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -4
- package/docs/functions/ModelFloorplanPlugin.html +3 -4
- package/docs/functions/ModelItemLabelPlugin.html +3 -4
- package/docs/functions/ModelRoomLabelPlugin.html +3 -4
- package/docs/functions/ModelTVVideoPlugin.html +3 -4
- package/docs/functions/ModelViewPlugin.html +3 -4
- package/docs/functions/Object3DHelperPlugin.html +3 -4
- package/docs/functions/PanoCompassPlugin.html +3 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -4
- package/docs/functions/PanoDoorLabelPlugin.html +3 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -4
- package/docs/functions/PanoMeasurePlugin.html +3 -4
- package/docs/functions/PanoRulerPlugin.html +3 -4
- package/docs/functions/PanoRulerProPlugin.html +3 -4
- package/docs/functions/PanoSpatialTagPlugin.html +3 -4
- package/docs/functions/PanoTagPlugin.html +3 -4
- package/docs/functions/PanoVideoPlugin.html +3 -4
- package/docs/functions/PipelinePlugin.html +3 -4
- package/docs/functions/TopviewFloorplanPlugin.html +3 -4
- package/docs/functions/Util.absoluteUrl.html +4 -5
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -5
- package/docs/functions/Util.equal.html +4 -5
- package/docs/functions/Util.getCoordsFromClient.html +4 -5
- package/docs/functions/Util.getCoordsFromElement.html +4 -5
- package/docs/functions/Util.getFrameTime.html +4 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -5
- package/docs/functions/Util.isAbsoluteURL.html +4 -5
- package/docs/functions/Util.isModelLike.html +4 -5
- package/docs/functions/Util.isNil.html +4 -5
- package/docs/functions/Util.isPanoramaLike.html +4 -5
- package/docs/functions/Util.nextFrame.html +4 -5
- package/docs/functions/Util.notNil.html +4 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -5
- package/docs/functions/Util.tweenProgress.html +4 -5
- package/docs/functions/Util.uuid.html +4 -5
- package/docs/functions/pluginFlag.html +4 -5
- package/docs/index.html +4 -5
- package/docs/interfaces/AddTagConfig.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -15
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -7
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -9
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -8
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -6
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -8
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -11
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -12
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -7
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -6
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -8
- package/docs/interfaces/EventMap.html +14 -15
- package/docs/interfaces/FloorplanBounding.html +7 -8
- package/docs/interfaces/FloorplanData.html +9 -10
- package/docs/interfaces/FloorplanEntrance.html +10 -11
- package/docs/interfaces/FloorplanExtraObject.html +9 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -8
- package/docs/interfaces/FloorplanFloorData.html +8 -9
- package/docs/interfaces/FloorplanImagePosition.html +6 -7
- package/docs/interfaces/FloorplanObserver.html +8 -9
- package/docs/interfaces/FloorplanOutlineItem.html +8 -9
- package/docs/interfaces/FloorplanPosition.html +6 -7
- package/docs/interfaces/FloorplanRoomItem.html +12 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -7
- package/docs/interfaces/FloorplanServerBounding.html +7 -8
- package/docs/interfaces/FloorplanServerComputedData.html +9 -10
- package/docs/interfaces/FloorplanServerData.html +6 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -8
- package/docs/interfaces/FloorplanServerEntrance.html +10 -11
- package/docs/interfaces/FloorplanServerFloorData.html +8 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -7
- package/docs/interfaces/FloorplanServerObserver.html +8 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -9
- package/docs/interfaces/FloorplanServerPosition.html +6 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -7
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -13
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -18
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -18
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -9
- package/docs/interfaces/HelperOffset.html +7 -8
- package/docs/interfaces/ImagePlaneGroup.html +5 -6
- package/docs/interfaces/ItemLabelPluginData.html +5 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -9
- package/docs/interfaces/MinMax.html +6 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -6
- package/docs/interfaces/ModelViewPluginExportType.html +10 -11
- package/docs/interfaces/Object3DHelperState.html +7 -8
- package/docs/interfaces/ObjectHelperControllers.html +8 -9
- package/docs/interfaces/PaintBrushAction.html +11 -12
- package/docs/interfaces/PaintBrushConfigs.html +11 -12
- package/docs/interfaces/PaintBrushState.html +9 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -5
- package/docs/interfaces/PanoMeasureParameterType.html +15 -16
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -7
- package/docs/interfaces/PanoRulerProPluginState.html +7 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -10
- package/docs/interfaces/Point.html +7 -8
- package/docs/interfaces/Room.html +8 -9
- package/docs/interfaces/RoomInfo.html +6 -7
- package/docs/interfaces/RoomLabel.html +13 -14
- package/docs/interfaces/RoomRules.html +4 -5
- package/docs/interfaces/Rooms.html +4 -5
- package/docs/interfaces/Scissor.html +8 -9
- package/docs/interfaces/State.html +7 -8
- package/docs/interfaces/TagCacheInterface.html +11 -12
- package/docs/interfaces/TagConfig.html +27 -45
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -6
- package/docs/interfaces/TagIconUrl.html +11 -12
- package/docs/interfaces/TagObjectGroup.html +5 -6
- package/docs/interfaces/TagStyle.html +5 -6
- package/docs/interfaces/Tags.html +10 -2153
- package/docs/interfaces/TemporaryState.html +5 -6
- package/docs/interfaces/Util.MagnifierParameter.html +10 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -8
- package/docs/interfaces/Util.PointIntersection.html +7 -8
- package/docs/modules/AreaMakerPluginType.html +4 -5
- package/docs/modules/CruisePluginTypes.html +4 -5
- package/docs/modules/CurrentPanoImagePluginType.html +4 -5
- package/docs/modules/GuideLineItem.html +4 -5
- package/docs/modules/GuideLineModeItem.html +4 -5
- package/docs/modules/GuideLinePluginType.html +4 -5
- package/docs/modules/PanoVideoPluginType.html +4 -5
- package/docs/modules/Util.html +4 -5
- package/docs/modules.html +4 -6
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -5
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -5
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -5
- package/docs/types/ArrayPosition.html +4 -5
- package/docs/types/AudioAppearance.html +4 -5
- package/docs/types/AudioTagTypeConfigKey.html +4 -5
- package/docs/types/CSS3DRenderExportType.html +4 -5
- package/docs/types/CSS3DRenderPluginExportType.html +4 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -5
- package/docs/types/ClassFunctionParameters.html +4 -5
- package/docs/types/Color.html +4 -5
- package/docs/types/ContentTypeConfigKey.html +5 -6
- package/docs/types/ContentTypeConfigKeySplit.html +5 -6
- package/docs/types/ContentTypeMap.html +4 -5
- package/docs/types/Create3DDomContainerReturnType.html +4 -5
- package/docs/types/Create3DElementReturnType.html +4 -5
- package/docs/types/CruisePluginExportType.html +4 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -5
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -5
- package/docs/types/DeprecatedTagProperty.html +4 -5
- package/docs/types/Direction-1.html +4 -5
- package/docs/types/Direction4.html +4 -5
- package/docs/types/ElementRenderer.html +4 -5
- package/docs/types/FloorplanRuleLabels.html +4 -5
- package/docs/types/FloorplanServerRuleLabels.html +4 -5
- package/docs/types/GuideLinePluginExportType.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -5
- package/docs/types/GuideLinePluginType.PathItem.html +4 -5
- package/docs/types/GuideLinePluginType.PluginData.html +4 -5
- package/docs/types/HelperEventMap.html +4 -5
- package/docs/types/LoadTagConfig.html +4 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -5
- package/docs/types/MediaData.html +4 -5
- package/docs/types/MediaStore.html +4 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -5
- package/docs/types/MoveArgs.html +4 -5
- package/docs/types/MoveOpts.html +4 -5
- package/docs/types/Object3DHelperEventMap.html +4 -5
- package/docs/types/ObjectFit.html +4 -5
- package/docs/types/PaintBrushEventMap.html +4 -5
- package/docs/types/PanoCompassPluginData.html +4 -5
- package/docs/types/PanoCompassPluginExportType.html +4 -5
- package/docs/types/PanoCompassPluginParameterType.html +4 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -5
- package/docs/types/PanoIndex.html +4 -5
- package/docs/types/PanoMeasurePluginEvent.html +4 -5
- package/docs/types/PanoMeasureReturnType.html +4 -5
- package/docs/types/PanoSpatialTagPluginId.html +4 -5
- package/docs/types/PanoTagPluginExportInterface.html +4 -5
- package/docs/types/PanoTagPluginParamsInterface.html +4 -5
- package/docs/types/PanoVideoPluginParameterType.html +4 -5
- package/docs/types/PanoVideoPluginReturnType.html +4 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -6
- package/docs/types/PipelinePluginParameterType.html +4 -5
- package/docs/types/PipelinePluginReturnType.html +4 -5
- package/docs/types/PlaneTag.html +4 -5
- package/docs/types/Point2DTag.html +4 -5
- package/docs/types/Point3DTag.html +4 -5
- package/docs/types/PointTag.html +4 -5
- package/docs/types/PointTagInstance.html +4 -5
- package/docs/types/Position.html +4 -5
- package/docs/types/RotateArgs.html +4 -5
- package/docs/types/RotateOpts.html +4 -5
- package/docs/types/RuleLabelsKey.html +4 -5
- package/docs/types/RuleLabelsValue.html +4 -5
- package/docs/types/StickType.html +4 -5
- package/docs/types/Tag.html +6 -7
- package/docs/types/Tag2D.html +4 -5
- package/docs/types/Tag3D.html +4 -5
- package/docs/types/TagConfigByKey.html +4 -5
- package/docs/types/TagContentType.html +4 -5
- package/docs/types/TagDimensionType.html +4 -5
- package/docs/types/TagElement.html +4 -5
- package/docs/types/TagEvents.html +4 -5
- package/docs/types/TagGLTFObject.html +4 -5
- package/docs/types/TagHooks.html +4 -5
- package/docs/types/TagId.html +4 -5
- package/docs/types/TagInstance.html +5 -8
- package/docs/types/TagPointType.html +4 -5
- package/docs/types/TagRendererMap.html +4 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -5
- package/docs/types/WorkCode.html +4 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -5
- package/docs/variables/PLUGIN.html +4 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -5
- package/docs/variables/ROOM_TYPE_MAP.html +4 -5
- package/docs/variables/defaultGlobalConfig.html +4 -5
- package/docs/variables/itemLabelPluginServerParams.html +4 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -5
- package/libs/AreaMakerPlugin/Controller.js +3 -5
- package/libs/AreaMakerPlugin/index.js +3 -5
- package/libs/AreaMakerPlugin/utils/Item.js +7 -9
- package/libs/CSS3DRenderPlugin/Controller.d.ts +2 -3
- package/libs/CSS3DRenderPlugin/Controller.js +6 -9
- package/libs/CSS3DRenderPlugin/index.js +6 -8
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +6 -9
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +4 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +22 -23
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +7 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +53 -43
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +0 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +66 -70
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +3 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +10 -11
- package/libs/CruisePlugin/Controller.js +105 -111
- package/libs/CruisePlugin/index.js +9 -13
- package/libs/CurrentPanoImagePlugin/Controller.js +22 -27
- package/libs/CurrentPanoImagePlugin/index.js +4 -7
- package/libs/GuideLinePlugin/Controller.js +25 -29
- package/libs/GuideLinePlugin/GuideLineItem.js +6 -10
- package/libs/GuideLinePlugin/GuideLineModeItem.js +6 -10
- package/libs/GuideLinePlugin/index.js +11 -15
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -6
- package/libs/ModelTVVideoPlugin/index.js +3 -5
- package/libs/Object3DHelperPlugin/Controller.js +3 -5
- package/libs/Object3DHelperPlugin/index.js +6 -8
- package/libs/PanoCompassPlugin/Controller.js +3 -5
- package/libs/PanoCompassPlugin/index.js +4 -6
- package/libs/PanoDoorLabelPlugin/BaseController.js +7 -9
- package/libs/PanoDoorLabelPlugin/Controller.js +3 -5
- package/libs/PanoDoorLabelPlugin/index.js +4 -6
- package/libs/PanoMeasurePlugin/Components/Controller0.js +3 -5
- package/libs/PanoMeasurePlugin/Components/Controller1.js +53 -55
- package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -5
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +2 -4
- package/libs/PanoMeasurePlugin/Controller/index.js +3 -5
- package/libs/PanoMeasurePlugin/Model/area.js +2 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +23 -25
- package/libs/PanoMeasurePlugin/index.js +14 -16
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +12 -14
- package/libs/PanoSpatialTagPlugin/Plugin.js +4 -6
- package/libs/PanoSpatialTagPlugin/index.js +1 -3
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +2 -4
- package/libs/PanoTagPlugin/Components/Tag/index.js +205 -206
- package/libs/PanoTagPlugin/Components/TagContainer.js +11 -12
- package/libs/PanoTagPlugin/Components/TagItem.js +128 -129
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +15 -17
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +12 -6
- package/libs/PanoTagPlugin/controller/TagComputer.js +202 -172
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -5
- package/libs/PanoTagPlugin/controller/TagRender.js +120 -143
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +6 -12
- package/libs/PanoTagPlugin/controller/TagUtil.js +154 -182
- package/libs/PanoTagPlugin/controller/index.d.ts +6 -2
- package/libs/PanoTagPlugin/controller/index.js +153 -147
- package/libs/PanoTagPlugin/index.js +16 -21
- package/libs/PanoTagPlugin/tag.config.js +3 -11
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -3
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +20 -67
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -7
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -8
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +4 -0
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +16 -0
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
- package/libs/PanoTagPlugin/utils/index.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/index.js +31 -23
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +99 -97
- package/libs/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/libs/PanoVideoPlugin/Controller.js +3 -5
- package/libs/PanoVideoPlugin/VideoMeshController.js +2 -4
- package/libs/PanoVideoPlugin/index.js +6 -8
- package/libs/PipelinePlugin/Controller.js +3 -5
- package/libs/PipelinePlugin/index.js +4 -6
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +2 -4
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +12 -14
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +0 -2
- package/libs/base/BasePlugin.js +2 -2
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -5
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -5
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -6
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +31 -33
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/utils/correctFiveState.js +25 -25
- package/libs/index.d.ts +0 -1
- package/libs/index.js +120 -125
- package/libs/shared-utils/five/FiveDomEvents.d.ts +3 -1
- package/libs/shared-utils/five/FiveDomEvents.js +53 -46
- package/libs/shared-utils/five/mode.js +5 -5
- 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/package.json +1 -1
- package/dist/PanoTagPlugin/utils/tag/adaptConfig.d.ts +0 -2
- package/dist/shared-utils/five/adapt.d.ts +0 -9
- package/dist/shared-utils/five/fiveModelLoad.d.ts +0 -9
- package/dist/shared-utils/three/getNormal.d.ts +0 -2
- package/dist/shared-utils/typescript/entries.d.ts +0 -2
- package/dist/shared-utils/url/getUrl.d.ts +0 -4
- package/docs/types/ModelId.html +0 -279
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.js +0 -7
- package/libs/shared-utils/five/adapt.d.ts +0 -9
- package/libs/shared-utils/five/adapt.js +0 -16
- package/libs/shared-utils/five/fiveModelLoad.d.ts +0 -9
- package/libs/shared-utils/five/fiveModelLoad.js +0 -29
- package/libs/shared-utils/three/getNormal.d.ts +0 -2
- package/libs/shared-utils/three/getNormal.js +0 -10
- package/libs/shared-utils/typescript/entries.d.ts +0 -2
- package/libs/shared-utils/typescript/entries.js +0 -6
- package/libs/shared-utils/url/getUrl.d.ts +0 -4
- package/libs/shared-utils/url/getUrl.js +0 -7
- /package/dist/shared-utils/{url/absoluteUrl.d.ts → absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{url/absoluteUrl.d.ts → absoluteUrl.d.ts} +0 -0
- /package/libs/shared-utils/{url/absoluteUrl.js → absoluteUrl.js} +0 -0
|
@@ -2,7 +2,7 @@ var T = Object.defineProperty, K = Object.defineProperties;
|
|
|
2
2
|
var A = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var F = Object.getOwnPropertySymbols;
|
|
4
4
|
var O = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var L = (c, l, e) => l in c ? T(c, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[l] = e,
|
|
5
|
+
var L = (c, l, e) => l in c ? T(c, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[l] = e, g = (c, l) => {
|
|
6
6
|
for (var e in l || (l = {}))
|
|
7
7
|
O.call(l, e) && L(c, e, l[e]);
|
|
8
8
|
if (F)
|
|
@@ -11,20 +11,20 @@ var L = (c, l, e) => l in c ? T(c, l, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return c;
|
|
12
12
|
}, C = (c, l) => K(c, A(l));
|
|
13
13
|
var I = (c, l, e) => (L(c, typeof l != "symbol" ? l + "" : l, e), e);
|
|
14
|
-
var v = (c, l, e) => new Promise((t,
|
|
15
|
-
var
|
|
14
|
+
var v = (c, l, e) => new Promise((t, i) => {
|
|
15
|
+
var r = (d) => {
|
|
16
16
|
try {
|
|
17
17
|
s(e.next(d));
|
|
18
18
|
} catch (a) {
|
|
19
|
-
|
|
19
|
+
i(a);
|
|
20
20
|
}
|
|
21
21
|
}, n = (d) => {
|
|
22
22
|
try {
|
|
23
23
|
s(e.throw(d));
|
|
24
24
|
} catch (a) {
|
|
25
|
-
|
|
25
|
+
i(a);
|
|
26
26
|
}
|
|
27
|
-
}, s = (d) => d.done ? t(d.value) : Promise.resolve(d.value).then(
|
|
27
|
+
}, s = (d) => d.done ? t(d.value) : Promise.resolve(d.value).then(r, n);
|
|
28
28
|
s((e = e.apply(c, l)).next());
|
|
29
29
|
});
|
|
30
30
|
import { Controller as V } from "../base/BasePluginWithData.js";
|
|
@@ -47,17 +47,15 @@ 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";
|
|
51
50
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
52
51
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
53
52
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
54
53
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
55
54
|
import "../shared-utils/three/centerPoint.js";
|
|
56
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
57
55
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
58
56
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
59
57
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
60
|
-
import "../shared-utils/
|
|
58
|
+
import "../shared-utils/absoluteUrl.js";
|
|
61
59
|
import "../GuideLinePlugin/Controller.js";
|
|
62
60
|
import "../GuideLinePlugin/GuideLineItem/index.js";
|
|
63
61
|
import "../GuideLinePlugin/GuideLineModeItem/index.js";
|
|
@@ -78,6 +76,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
78
76
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
79
77
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
80
78
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
79
|
+
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
81
80
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
82
81
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
83
82
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -104,13 +103,11 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
104
103
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
105
104
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
106
105
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
107
|
-
import "../shared-utils/three/getNormal.js";
|
|
108
106
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
109
|
-
import "../
|
|
110
|
-
import "../shared-utils/typescript/entries.js";
|
|
111
|
-
import "../shared-utils/url/getUrl.js";
|
|
107
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
112
108
|
import "../shared-utils/five/getFloorIndex.js";
|
|
113
109
|
import "../shared-utils/safeObj.js";
|
|
110
|
+
import "../shared-utils/util.js";
|
|
114
111
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
115
112
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
116
113
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -186,7 +183,6 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
186
183
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
187
184
|
import "../shared-utils/three/GLTFLoader.js";
|
|
188
185
|
import "@realsee/five/gltf-loader";
|
|
189
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
190
186
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
191
187
|
import "../GuideLinePlugin/utils/index.js";
|
|
192
188
|
import "./Controller.js";
|
|
@@ -196,7 +192,7 @@ import "../shared-utils/nearlyEqual.js";
|
|
|
196
192
|
import "./utils/coordinatesToVector.js";
|
|
197
193
|
import "../shared-utils/isTruelyObject.js";
|
|
198
194
|
import "./utils/formatRad.js";
|
|
199
|
-
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`,
|
|
195
|
+
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`, Zi = (c) => `${x}--${c}`, D = () => {
|
|
200
196
|
console.error(`${x} is disposed`);
|
|
201
197
|
}, W = () => {
|
|
202
198
|
console.warn(`${x} is disabled`);
|
|
@@ -233,22 +229,22 @@ class z extends V {
|
|
|
233
229
|
});
|
|
234
230
|
I(this, "GuideLine");
|
|
235
231
|
this.config = t, Object.assign(window, { [`__${G}_DEBUG__`]: this });
|
|
236
|
-
const
|
|
237
|
-
this.hooks.on("play",
|
|
238
|
-
this.hooks.off("play",
|
|
232
|
+
const i = this.setFiveLinearUpdateCamera.bind(this), r = this.setFiveOriginUpdateCamera.bind(this);
|
|
233
|
+
this.hooks.on("play", i), this.hooks.on("broke", r), this.hooks.on("end", r), this.hooks.on("pause", r), this.privateState.disposers.push(() => {
|
|
234
|
+
this.hooks.off("play", i), this.hooks.off("broke", r), this.hooks.off("end", r), this.hooks.off("pause", r);
|
|
239
235
|
});
|
|
240
236
|
}
|
|
241
237
|
/**
|
|
242
238
|
* @description Load Data and State
|
|
243
239
|
*/
|
|
244
|
-
load(e, t,
|
|
240
|
+
load(e, t, i) {
|
|
245
241
|
return v(this, null, function* () {
|
|
246
|
-
var o, m, p, u, h,
|
|
242
|
+
var o, m, p, u, h, P;
|
|
247
243
|
if (this.state.disposed)
|
|
248
244
|
return D();
|
|
249
245
|
this.privateState.fiveOriginGetProgress || (m = (o = this.five.controller) == null ? void 0 : o.cameraMotion) != null && m.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (u = (p = this.five.controller) == null ? void 0 : p.cameraMotion) == null ? void 0 : u.getProgress), this.clear();
|
|
250
|
-
const
|
|
251
|
-
this.data = n, this.hooks.emit("dataChange", n,
|
|
246
|
+
const r = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, n = yield this.formatData(e);
|
|
247
|
+
this.data = n, this.hooks.emit("dataChange", n, r);
|
|
252
248
|
let s = [], d;
|
|
253
249
|
const a = this.data.keyframes.filter((f) => f.data.panoIndex !== void 0);
|
|
254
250
|
a.filter((f, y) => {
|
|
@@ -266,7 +262,7 @@ class z extends V {
|
|
|
266
262
|
const b = s.length;
|
|
267
263
|
s[b] = [f];
|
|
268
264
|
}
|
|
269
|
-
}), !this.GuideLine && ((h = this.config) == null ? void 0 : h.useGuideLine) !== !1 && n.useGuildLine !== !1 && (this.GuideLine = $(this.five, this.config)), (
|
|
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((f) => ({ panoIndexList: f })), 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);
|
|
270
266
|
});
|
|
271
267
|
}
|
|
272
268
|
/**
|
|
@@ -281,14 +277,14 @@ class z extends V {
|
|
|
281
277
|
* @param {string} options.id play from keyframes id
|
|
282
278
|
*/
|
|
283
279
|
playFrom(e) {
|
|
284
|
-
const { index: t, id:
|
|
285
|
-
this.state.playing && this.setState({ playing: !1 }, { userAction:
|
|
280
|
+
const { index: t, id: i, userAction: r } = e;
|
|
281
|
+
this.state.playing && this.setState({ playing: !1 }, { userAction: r }), this.setState({ playing: !0 }, { userAction: r, playFromIndex: t, playFromId: i });
|
|
286
282
|
}
|
|
287
283
|
/**
|
|
288
284
|
* @description Play from first keyframe
|
|
289
285
|
*/
|
|
290
286
|
playFromStart(e) {
|
|
291
|
-
return this.playFrom(C(
|
|
287
|
+
return this.playFrom(C(g({}, e), { index: 0 }));
|
|
292
288
|
}
|
|
293
289
|
/**
|
|
294
290
|
* @description Pause
|
|
@@ -334,13 +330,13 @@ class z extends V {
|
|
|
334
330
|
* @description Set state
|
|
335
331
|
*/
|
|
336
332
|
setState(e, t) {
|
|
337
|
-
var
|
|
333
|
+
var r;
|
|
338
334
|
if (this.state.disposed)
|
|
339
335
|
return D();
|
|
340
336
|
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
|
|
341
337
|
return q();
|
|
342
|
-
const
|
|
343
|
-
this.state =
|
|
338
|
+
const i = g({}, this.state);
|
|
339
|
+
this.state = g(g({}, this.state), e), e.disposed !== void 0 && e.disposed !== i.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== i.visible && this.handleVisible(e.visible, t == null ? void 0 : t.userAction), e.enabled !== void 0 && e.enabled !== i.enabled && this.handleEnable(e.enabled, t == null ? void 0 : t.userAction), e.playing !== void 0 && e.playing !== i.playing && this.changePlayState(e.playing, t), e.speed !== void 0 && e.speed !== i.speed && this.changeSpeed(e.speed, t == null ? void 0 : t.userAction), R(i, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: (r = t == null ? void 0 : t.userAction) != null ? r : !0 });
|
|
344
340
|
}
|
|
345
341
|
/**
|
|
346
342
|
* @description Format data
|
|
@@ -348,62 +344,62 @@ class z extends V {
|
|
|
348
344
|
formatData(e) {
|
|
349
345
|
return v(this, null, function* () {
|
|
350
346
|
this.five.work || (yield this.waitFiveLoaded());
|
|
351
|
-
const t = this.five.work.observers,
|
|
352
|
-
const
|
|
353
|
-
return typeof
|
|
347
|
+
const t = this.five.work.observers, i = (() => {
|
|
348
|
+
const r = e;
|
|
349
|
+
return typeof r == "object" && r !== null && r.version && r.data ? r.data : r;
|
|
354
350
|
})();
|
|
355
|
-
if (
|
|
351
|
+
if (i.keyframes)
|
|
356
352
|
return {
|
|
357
353
|
keyframesId: w(),
|
|
358
|
-
keyframes:
|
|
354
|
+
keyframes: i.keyframes.map((r, n) => {
|
|
359
355
|
var a;
|
|
360
|
-
const s =
|
|
361
|
-
return C(
|
|
356
|
+
const s = i.keyframes[n + 1], d = (() => !s || s.start === void 0 || r.end === void 0 ? 0 : s.start - r.end)();
|
|
357
|
+
return C(g({ id: (a = r.uuid) != null ? a : w(), moveIndex: n, stay: d, index: n }, r), { guildPluginOptions: i.guildPluginOptions });
|
|
362
358
|
})
|
|
363
359
|
};
|
|
364
|
-
if (
|
|
365
|
-
let
|
|
366
|
-
const { moveEffect: n, moveToFirstPanoEffect: s, moveToFirstPanoDuration: d } =
|
|
367
|
-
return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration = d,
|
|
360
|
+
if (i.panoIndexList) {
|
|
361
|
+
let r = [];
|
|
362
|
+
const { moveEffect: n, moveToFirstPanoEffect: s, moveToFirstPanoDuration: d } = i;
|
|
363
|
+
return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration = d, i.panoIndexList.forEach((a, o) => {
|
|
368
364
|
const m = (() => {
|
|
369
365
|
var f, y, S, k;
|
|
370
|
-
const p =
|
|
366
|
+
const p = i.panoIndexList.slice(o).find((b) => b !== a);
|
|
371
367
|
if (p === void 0)
|
|
372
368
|
return;
|
|
373
369
|
const u = (f = t[a]) == null ? void 0 : f.position, h = (y = t[p]) == null ? void 0 : y.position;
|
|
374
370
|
if (!h || !u || ((S = t[a]) == null ? void 0 : S.floorIndex) !== ((k = t[p]) == null ? void 0 : k.floorIndex))
|
|
375
371
|
return;
|
|
376
|
-
const
|
|
377
|
-
return N(
|
|
372
|
+
const P = new j.Vector3().subVectors(h, u);
|
|
373
|
+
return N(P.normalize());
|
|
378
374
|
})();
|
|
379
|
-
|
|
375
|
+
i.moveType === void 0 || i.moveType === "justMove" ? r.push({
|
|
380
376
|
moveIndex: o,
|
|
381
|
-
stay:
|
|
382
|
-
data:
|
|
383
|
-
}) :
|
|
377
|
+
stay: i.stay,
|
|
378
|
+
data: g({ effect: "Move", panoIndex: a, moveEffect: n }, m != null ? m : {})
|
|
379
|
+
}) : i.moveType === "moveAndRotate" && (r.push({ moveIndex: o, stay: i.stay, data: { effect: "Move", panoIndex: a, moveEffect: n } }), m && r.push({ moveIndex: o, stay: i.stay, data: g({ effect: "Rotate", panoIndex: a }, m) }));
|
|
384
380
|
}), {
|
|
385
381
|
keyframesId: w(),
|
|
386
|
-
keyframes:
|
|
387
|
-
guildPluginOptions:
|
|
388
|
-
useGuildLine:
|
|
382
|
+
keyframes: r.map((a, o) => g({ id: w(), index: o }, a)),
|
|
383
|
+
guildPluginOptions: i.guildPluginOptions,
|
|
384
|
+
useGuildLine: i.useGuildLine
|
|
389
385
|
};
|
|
390
386
|
} else
|
|
391
387
|
throw new Error("format error: data no keyframes or no panoIndexList");
|
|
392
388
|
});
|
|
393
389
|
}
|
|
394
390
|
handleEnable(e, t = !0) {
|
|
395
|
-
var
|
|
396
|
-
e ? ((
|
|
391
|
+
var i, r;
|
|
392
|
+
e ? ((i = this.GuideLine) == null || i.enable(), this.hooks.emit("enable", { userAction: t })) : ((r = this.GuideLine) == null || r.disable(), this.changePlayState(!1, { userAction: t }), this.hooks.emit("disable", { userAction: t })), this.state.enabled = e;
|
|
397
393
|
}
|
|
398
394
|
handleVisible(e, t = !0) {
|
|
399
|
-
var
|
|
400
|
-
e ? ((
|
|
395
|
+
var i, r;
|
|
396
|
+
e ? ((i = this.GuideLine) == null || i.show(), this.actionIfStateIsEnabled(() => this.hooks.emit("show", { userAction: t }))) : ((r = this.GuideLine) == null || r.hide(), this.actionIfStateIsEnabled(() => this.hooks.emit("hide", { userAction: t }))), this.state.visible = e;
|
|
401
397
|
}
|
|
402
398
|
changePlayState(e, t) {
|
|
403
399
|
this.actionIfStateIsEnabled(
|
|
404
400
|
() => {
|
|
405
|
-
var
|
|
406
|
-
return this.hooks.emit("playStateChange", e ? "playing" : "pause", { userAction: (
|
|
401
|
+
var i;
|
|
402
|
+
return this.hooks.emit("playStateChange", e ? "playing" : "pause", { userAction: (i = t == null ? void 0 : t.userAction) != null ? i : !0 });
|
|
407
403
|
}
|
|
408
404
|
), e ? this.handlePlay(t) : this.handlePause(t), this.state.playing = e;
|
|
409
405
|
}
|
|
@@ -416,25 +412,25 @@ class z extends V {
|
|
|
416
412
|
handlePlay(e) {
|
|
417
413
|
return v(this, null, function* () {
|
|
418
414
|
var u;
|
|
419
|
-
const { data: t, state:
|
|
420
|
-
if (
|
|
415
|
+
const { data: t, state: i, privateState: r, hooks: n } = this;
|
|
416
|
+
if (r.playing || !(t != null && t.keyframes) || (t == null ? void 0 : t.keyframes.length) === 0)
|
|
421
417
|
return;
|
|
422
418
|
const s = w();
|
|
423
|
-
|
|
419
|
+
r.playId = s, r.playing = !0, r.broke = !1;
|
|
424
420
|
const d = t.keyframes, a = this.getPauseData();
|
|
425
421
|
(e == null ? void 0 : e.notEmitEvent) !== !0 && n.emit("play", { userAction: (u = e == null ? void 0 : e.userAction) != null ? u : !0 });
|
|
426
422
|
let o = !1;
|
|
427
423
|
const p = yield (() => v(this, null, function* () {
|
|
428
|
-
var h,
|
|
424
|
+
var h, P;
|
|
429
425
|
if ((e == null ? void 0 : e.playFromIndex) !== void 0)
|
|
430
426
|
return e.playFromIndex;
|
|
431
427
|
if ((e == null ? void 0 : e.playFromId) !== void 0)
|
|
432
428
|
return (h = this.data) == null ? void 0 : h.keyframes.findIndex((f) => f.id === e.playFromId);
|
|
433
429
|
if (a != null && a.keyframeId) {
|
|
434
|
-
const f = (
|
|
430
|
+
const f = (P = this.data) == null ? void 0 : P.keyframes.find((y) => y.id === a.keyframeId);
|
|
435
431
|
if (a != null && a.fiveState && (yield this.move(a.fiveState, {
|
|
436
|
-
moveEffect:
|
|
437
|
-
duration:
|
|
432
|
+
moveEffect: r.moveToFirstPanoEffect,
|
|
433
|
+
duration: r.moveToFirstPanoDuration
|
|
438
434
|
})), f) {
|
|
439
435
|
if (f.data.effect === "Move")
|
|
440
436
|
return f.index;
|
|
@@ -447,19 +443,19 @@ class z extends V {
|
|
|
447
443
|
}))();
|
|
448
444
|
this.clearPauseData();
|
|
449
445
|
for (const h of d) {
|
|
450
|
-
if (
|
|
446
|
+
if (r.broke || !i.playing || !r.playing || s !== r.playId)
|
|
451
447
|
return;
|
|
452
448
|
if (!(p !== void 0 && h.index < p))
|
|
453
449
|
try {
|
|
454
450
|
n.emit("playIndexChange", h.index, h), yield this.playKeyframe(h, {
|
|
455
|
-
moveEffect: o === !1 ?
|
|
456
|
-
duration: o === !1 && typeof
|
|
451
|
+
moveEffect: o === !1 ? r.moveToFirstPanoEffect : void 0,
|
|
452
|
+
duration: o === !1 && typeof r.moveToFirstPanoDuration == "number" ? r.moveToFirstPanoDuration : void 0
|
|
457
453
|
}), h.stay && (yield J(h.stay)), o === !1 && (o = !0);
|
|
458
|
-
} catch (
|
|
459
|
-
return
|
|
454
|
+
} catch (P) {
|
|
455
|
+
return Promise.resolve("broke");
|
|
460
456
|
}
|
|
461
457
|
}
|
|
462
|
-
|
|
458
|
+
i.playing && s === r.playId && (this.setState({ playing: !1 }, { userAction: !1 }), n.emit("end"), this.clearPauseData());
|
|
463
459
|
});
|
|
464
460
|
}
|
|
465
461
|
/**
|
|
@@ -467,17 +463,17 @@ class z extends V {
|
|
|
467
463
|
*/
|
|
468
464
|
handlePause(e) {
|
|
469
465
|
var n;
|
|
470
|
-
const { state: t, privateState:
|
|
471
|
-
t.playing = !1,
|
|
466
|
+
const { state: t, privateState: i, hooks: r } = this;
|
|
467
|
+
t.playing = !1, i.playing !== !1 && (i.playing = !1, (e == null ? void 0 : e.userAction) !== !1 && this.setPauseData(), i.broke || this.forceInteruptUpdateCamera(), (e == null ? void 0 : e.notEmitEvent) !== !0 && r.emit("pause", { userAction: (n = e == null ? void 0 : e.userAction) != null ? n : !0 }));
|
|
472
468
|
}
|
|
473
469
|
/**
|
|
474
470
|
* @description Play single keyframe
|
|
475
471
|
*/
|
|
476
472
|
playKeyframe(e, t) {
|
|
477
473
|
return v(this, null, function* () {
|
|
478
|
-
var
|
|
479
|
-
const { privateState:
|
|
480
|
-
return ((
|
|
474
|
+
var r;
|
|
475
|
+
const { privateState: i } = this;
|
|
476
|
+
return ((r = this.privateState.currentPlayKeyframe) == null ? void 0 : r.keyframe.id) !== e.id && (this.privateState.currentPlayKeyframe = { keyframe: e }), i.currentPlayQueue.push(this.getPlayPromise(e, t)), this.actionPromiseQueue();
|
|
481
477
|
});
|
|
482
478
|
}
|
|
483
479
|
/**
|
|
@@ -486,21 +482,19 @@ class z extends V {
|
|
|
486
482
|
addInterruptListener(e) {
|
|
487
483
|
const t = () => {
|
|
488
484
|
this.privateState.modeChanging || e();
|
|
489
|
-
},
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
return this.five.once("gesture", r), this.five.once("wantsChangeMode", t), () => {
|
|
493
|
-
this.five.off("gesture", r), this.five.once("wantsChangeMode", t);
|
|
485
|
+
}, i = e;
|
|
486
|
+
return this.five.once("gesture", i), this.five.once("wantsChangeMode", t), () => {
|
|
487
|
+
this.five.off("gesture", i), this.five.once("wantsChangeMode", t);
|
|
494
488
|
};
|
|
495
489
|
}
|
|
496
490
|
/**
|
|
497
491
|
* @description: getPlayPromise
|
|
498
492
|
*/
|
|
499
|
-
getPlayPromise(
|
|
493
|
+
getPlayPromise(i) {
|
|
500
494
|
return v(this, arguments, function* (e, t = {}) {
|
|
501
495
|
var n;
|
|
502
|
-
const
|
|
503
|
-
if (t.duration = (n = t.duration) != null ? n : e.start !== void 0 && e.end !== void 0 ? e.end - e.start : void 0, !!
|
|
496
|
+
const r = e.data;
|
|
497
|
+
if (t.duration = (n = t.duration) != null ? n : e.start !== void 0 && e.end !== void 0 ? e.end - e.start : void 0, !!r)
|
|
504
498
|
return new Promise((s, d) => {
|
|
505
499
|
let a = !1;
|
|
506
500
|
this.addInterruptListener(() => {
|
|
@@ -513,15 +507,15 @@ class z extends V {
|
|
|
513
507
|
const o = () => {
|
|
514
508
|
s(), a = !0;
|
|
515
509
|
};
|
|
516
|
-
switch (
|
|
510
|
+
switch (r.effect) {
|
|
517
511
|
case "Move":
|
|
518
|
-
this.move(
|
|
512
|
+
this.move(r, t).then(o);
|
|
519
513
|
break;
|
|
520
514
|
case "Rotate":
|
|
521
|
-
this.rotate(
|
|
515
|
+
this.rotate(r, t).then(o);
|
|
522
516
|
break;
|
|
523
517
|
default:
|
|
524
|
-
this.rotate(
|
|
518
|
+
this.rotate(r, t).then(o);
|
|
525
519
|
}
|
|
526
520
|
} catch (o) {
|
|
527
521
|
}
|
|
@@ -534,17 +528,17 @@ class z extends V {
|
|
|
534
528
|
actionPromiseQueue() {
|
|
535
529
|
return v(this, null, function* () {
|
|
536
530
|
const { privateState: e } = this;
|
|
537
|
-
return new Promise((t,
|
|
531
|
+
return new Promise((t, i) => {
|
|
538
532
|
if (e.currentPlayQueue.length === 0) {
|
|
539
533
|
t();
|
|
540
534
|
return;
|
|
541
535
|
}
|
|
542
|
-
const
|
|
543
|
-
if (!
|
|
536
|
+
const r = e.currentPlayQueue.shift();
|
|
537
|
+
if (!r) {
|
|
544
538
|
t();
|
|
545
539
|
return;
|
|
546
540
|
}
|
|
547
|
-
|
|
541
|
+
r.then(t, i);
|
|
548
542
|
}).then(() => e.currentPlayQueue.length === 0 ? Promise.resolve() : this.actionPromiseQueue());
|
|
549
543
|
});
|
|
550
544
|
}
|
|
@@ -576,9 +570,9 @@ class z extends V {
|
|
|
576
570
|
/**
|
|
577
571
|
* @description Update five camera
|
|
578
572
|
*/
|
|
579
|
-
updateCamera(
|
|
573
|
+
updateCamera(i) {
|
|
580
574
|
return v(this, arguments, function* (e, t = {}) {
|
|
581
|
-
const { five:
|
|
575
|
+
const { five: r, privateState: n, state: s } = this, d = (() => {
|
|
582
576
|
var u, h;
|
|
583
577
|
const m = (u = s.config) == null ? void 0 : u.speedConfig, p = (h = e.rotateSpeed) != null ? h : m == null ? void 0 : m.rotateSpeed;
|
|
584
578
|
if ((m == null ? void 0 : m.rotateSpeedUnit) === void 0)
|
|
@@ -597,7 +591,7 @@ class z extends V {
|
|
|
597
591
|
n.currentPlayKeyframe && (n.currentPlayKeyframe.originDuration = a);
|
|
598
592
|
const o = this.getSpeededDuration(a);
|
|
599
593
|
return new Promise((m) => {
|
|
600
|
-
_(() =>
|
|
594
|
+
_(() => r.updateCamera(e, o)), setTimeout(() => m(), o);
|
|
601
595
|
});
|
|
602
596
|
});
|
|
603
597
|
}
|
|
@@ -606,10 +600,10 @@ class z extends V {
|
|
|
606
600
|
*/
|
|
607
601
|
changePano(e, t) {
|
|
608
602
|
return v(this, null, function* () {
|
|
609
|
-
const { five:
|
|
610
|
-
if (typeof e.panoIndex != "number" || e.panoIndex ===
|
|
603
|
+
const { five: i, privateState: r, state: n } = this;
|
|
604
|
+
if (typeof e.panoIndex != "number" || e.panoIndex === i.panoIndex)
|
|
611
605
|
return;
|
|
612
|
-
const s =
|
|
606
|
+
const s = i.getCurrentState().mode !== "Panorama";
|
|
613
607
|
s && (this.privateState.modeChanging = !0);
|
|
614
608
|
const d = (() => {
|
|
615
609
|
var p, u;
|
|
@@ -621,15 +615,15 @@ class z extends V {
|
|
|
621
615
|
})(), a = (() => {
|
|
622
616
|
if (t != null && t.duration)
|
|
623
617
|
return t.duration;
|
|
624
|
-
if (d && typeof
|
|
625
|
-
const o =
|
|
618
|
+
if (d && typeof i.panoIndex == "number" && typeof e.panoIndex == "number") {
|
|
619
|
+
const o = i.work.observers[i.panoIndex].position, m = i.work.observers[e.panoIndex].position;
|
|
626
620
|
return o.distanceTo(m) / d;
|
|
627
621
|
}
|
|
628
622
|
return 800;
|
|
629
623
|
})();
|
|
630
|
-
|
|
624
|
+
r.currentPlayKeyframe && (r.currentPlayKeyframe.originDuration = a), yield new Promise((o) => {
|
|
631
625
|
var m, p, u;
|
|
632
|
-
|
|
626
|
+
i.moveToPano(e.panoIndex, {
|
|
633
627
|
latitude: e.latitude,
|
|
634
628
|
longitude: e.longitude,
|
|
635
629
|
fov: e.fov,
|
|
@@ -637,7 +631,7 @@ class z extends V {
|
|
|
637
631
|
effect: (u = (p = t == null ? void 0 : t.moveEffect) != null ? p : (m = this.state.config) == null ? void 0 : m.moveEffect) != null ? u : e.moveEffect,
|
|
638
632
|
moveCancelCallback: () => o(),
|
|
639
633
|
moveEndCallback: () => o()
|
|
640
|
-
}), s &&
|
|
634
|
+
}), s && i.once("panoArrived", () => o());
|
|
641
635
|
}), s && (this.privateState.modeChanging = !1);
|
|
642
636
|
});
|
|
643
637
|
}
|
|
@@ -645,11 +639,11 @@ class z extends V {
|
|
|
645
639
|
* @description: Change play speed
|
|
646
640
|
*/
|
|
647
641
|
changeSpeed(e, t = !0) {
|
|
648
|
-
const { state:
|
|
649
|
-
if (n.emit("speedChange", e, { userAction: t }),
|
|
642
|
+
const { state: i, privateState: r, hooks: n } = this, { currentPlayKeyframe: s } = r;
|
|
643
|
+
if (n.emit("speedChange", e, { userAction: t }), i.playing && s)
|
|
650
644
|
try {
|
|
651
645
|
const d = s.originDuration !== void 0 ? s.originDuration * (1 - this.getProgress()) : void 0, a = this.playKeyframe(s.keyframe, { duration: d });
|
|
652
|
-
|
|
646
|
+
r.currentPlayQueue.push(a);
|
|
653
647
|
} catch (d) {
|
|
654
648
|
}
|
|
655
649
|
}
|
|
@@ -688,12 +682,12 @@ class z extends V {
|
|
|
688
682
|
* @description Set pause data
|
|
689
683
|
*/
|
|
690
684
|
setPauseData() {
|
|
691
|
-
var e, t,
|
|
685
|
+
var e, t, i, r;
|
|
692
686
|
if ((e = this.data) != null && e.keyframesId)
|
|
693
687
|
return E.set((t = this.data) == null ? void 0 : t.keyframesId, {
|
|
694
|
-
keyframeId: (
|
|
688
|
+
keyframeId: (i = this.privateState.currentPlayKeyframe) == null ? void 0 : i.keyframe.id,
|
|
695
689
|
fiveState: this.five.getCurrentState(),
|
|
696
|
-
duration: (
|
|
690
|
+
duration: (r = this.privateState.currentPlayKeyframe) == null ? void 0 : r.originDuration,
|
|
697
691
|
playedProgress: this.getProgress()
|
|
698
692
|
});
|
|
699
693
|
}
|
|
@@ -714,7 +708,7 @@ class z extends V {
|
|
|
714
708
|
// TODO
|
|
715
709
|
handleDispose() {
|
|
716
710
|
var e, t;
|
|
717
|
-
this.setState({ playing: !1 }), this.clearPauseData(), this.clear(), (e = this.GuideLine) == null || e.dispose(), this.GuideLine = void 0, (t = this.privateState.disposers) == null || t.forEach((
|
|
711
|
+
this.setState({ playing: !1 }), this.clearPauseData(), this.clear(), (e = this.GuideLine) == null || e.dispose(), this.GuideLine = void 0, (t = this.privateState.disposers) == null || t.forEach((i) => i == null ? void 0 : i());
|
|
718
712
|
}
|
|
719
713
|
/**
|
|
720
714
|
* @description Action function if plugin is enable
|
|
@@ -742,8 +736,8 @@ class z extends V {
|
|
|
742
736
|
}
|
|
743
737
|
setFiveLinearUpdateCamera() {
|
|
744
738
|
this.privateState.fiveOriginGetProgress && (this.five.controller.cameraMotion.getProgress = (e) => {
|
|
745
|
-
const t = this.five.controller.cameraMotion,
|
|
746
|
-
return
|
|
739
|
+
const t = this.five.controller.cameraMotion, i = e - t.startTime;
|
|
740
|
+
return i < 0 ? 0 : i >= t.duration ? 1 : 1 - H(1, t.startVelocity, t.duration, i);
|
|
747
741
|
});
|
|
748
742
|
}
|
|
749
743
|
setFiveOriginUpdateCamera() {
|
|
@@ -753,5 +747,5 @@ class z extends V {
|
|
|
753
747
|
I(z, "PluginVersion", M);
|
|
754
748
|
export {
|
|
755
749
|
z as default,
|
|
756
|
-
|
|
750
|
+
Zi as pluginFlag
|
|
757
751
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i from "./Controller.js";
|
|
2
|
-
import { typing as
|
|
2
|
+
import { typing as so } from "./typing/index.js";
|
|
3
3
|
import "../base/BasePluginWithData.js";
|
|
4
4
|
import "../base/BasePlugin.js";
|
|
5
5
|
import "../shared-utils/Subscribe.js";
|
|
@@ -12,17 +12,15 @@ 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";
|
|
16
15
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
17
16
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
18
17
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
19
18
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
20
19
|
import "../shared-utils/three/centerPoint.js";
|
|
21
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
22
20
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
23
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
24
22
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
25
|
-
import "../shared-utils/
|
|
23
|
+
import "../shared-utils/absoluteUrl.js";
|
|
26
24
|
import "../GuideLinePlugin/index.js";
|
|
27
25
|
import "../GuideLinePlugin/Controller.js";
|
|
28
26
|
import "../shared-utils/equal.js";
|
|
@@ -46,6 +44,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
46
44
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
47
45
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
48
46
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
47
|
+
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
49
48
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
50
49
|
import "../PanoTagPlugin/utils/throttle.js";
|
|
51
50
|
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
@@ -72,13 +71,11 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
72
71
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
73
72
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
74
73
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
75
|
-
import "../shared-utils/three/getNormal.js";
|
|
76
74
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
77
|
-
import "../
|
|
78
|
-
import "../shared-utils/typescript/entries.js";
|
|
79
|
-
import "../shared-utils/url/getUrl.js";
|
|
75
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
80
76
|
import "../shared-utils/five/getFloorIndex.js";
|
|
81
77
|
import "../shared-utils/safeObj.js";
|
|
78
|
+
import "../shared-utils/util.js";
|
|
82
79
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
83
80
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
84
81
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -155,7 +152,6 @@ import "../CSS3DRenderPlugin/Controller.js";
|
|
|
155
152
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
156
153
|
import "../shared-utils/three/GLTFLoader.js";
|
|
157
154
|
import "@realsee/five/gltf-loader";
|
|
158
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
159
155
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
160
156
|
import "../GuideLinePlugin/utils/index.js";
|
|
161
157
|
import "../shared-utils/to.js";
|
|
@@ -168,10 +164,10 @@ import "./utils/vectorToCoordinates.js";
|
|
|
168
164
|
import "./utils/formatRad.js";
|
|
169
165
|
import "./utils/linerValue.js";
|
|
170
166
|
import "./utils/sleep.js";
|
|
171
|
-
const
|
|
167
|
+
const mo = (r) => new i(r);
|
|
172
168
|
export {
|
|
173
|
-
|
|
169
|
+
mo as CruisePlugin,
|
|
174
170
|
i as CruisePluginController,
|
|
175
|
-
|
|
176
|
-
|
|
171
|
+
so as CruisePluginTypes,
|
|
172
|
+
mo as default
|
|
177
173
|
};
|