@realsee/dnalogel 3.0.0-dev.1 → 3.0.0-dev.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/index.cjs.js +44 -44
- package/dist/index.js +2012 -2001
- package/dist/index.umd.js +36 -36
- package/dist/shared-utils/index.d.ts +1 -1
- package/dist/shared-utils/three/getNormal.d.ts +2 -0
- package/dist/shared-utils/url/getUrl.d.ts +4 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +10 -10
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +44 -44
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.LineSegments.html +7 -7
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.Object3D.html +7 -7
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/AreaMakerPlugin.html +4 -4
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
- package/docs/functions/Util.equal.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +15 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +13 -13
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/AreaMakerPluginType.html +4 -4
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/CurrentPanoImagePluginType.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelId.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PipelinePluginParameterType.html +4 -4
- package/docs/types/PipelinePluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagConfigByKey.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/defaultGlobalConfig.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/AreaMakerPlugin/Controller.js +1 -1
- package/libs/AreaMakerPlugin/index.js +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +1 -1
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CruisePlugin/Controller.js +37 -35
- package/libs/CruisePlugin/index.js +8 -6
- package/libs/CurrentPanoImagePlugin/Controller.js +1 -1
- package/libs/CurrentPanoImagePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/Controller.js +24 -22
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -3
- package/libs/GuideLinePlugin/index.js +10 -8
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +1 -1
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +5 -3
- package/libs/PanoTagPlugin/controller/TagRender.js +5 -3
- package/libs/PanoTagPlugin/controller/TagUtil.js +64 -58
- package/libs/PanoTagPlugin/controller/index.js +8 -6
- package/libs/PanoTagPlugin/index.js +14 -12
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +97 -99
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/PipelinePlugin/Controller.js +1 -1
- package/libs/PipelinePlugin/index.js +1 -1
- package/libs/base/BasePlugin.js +2 -2
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
- package/libs/index.js +119 -117
- 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/three/getNormal.d.ts +2 -0
- package/libs/shared-utils/three/getNormal.js +10 -0
- package/libs/shared-utils/url/getUrl.d.ts +4 -0
- package/libs/shared-utils/url/getUrl.js +7 -0
- package/package.json +1 -1
- /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
|
@@ -21,7 +21,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
|
-
import "../shared-utils/absoluteUrl.js";
|
|
24
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
25
25
|
import "../shared-utils/equal.js";
|
|
26
26
|
import "../shared-utils/isTruelyObject.js";
|
|
27
27
|
import "./utils/Item.js";
|
|
@@ -18,7 +18,7 @@ import "hammerjs";
|
|
|
18
18
|
import "three";
|
|
19
19
|
import "@realsee/five";
|
|
20
20
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
21
|
-
import { absoluteUrl as $ } from "../shared-utils/absoluteUrl.js";
|
|
21
|
+
import { absoluteUrl as $ } from "../shared-utils/url/absoluteUrl.js";
|
|
22
22
|
import "../shared-utils/positionToVector3.js";
|
|
23
23
|
import "./utils/three/CSS3DRenderer.js";
|
|
24
24
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -6,7 +6,7 @@ import "hammerjs";
|
|
|
6
6
|
import "three";
|
|
7
7
|
import "@realsee/five";
|
|
8
8
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
9
|
-
import "../shared-utils/absoluteUrl.js";
|
|
9
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
10
10
|
import "../shared-utils/positionToVector3.js";
|
|
11
11
|
import "./utils/three/CSS3DRenderer.js";
|
|
12
12
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -57,7 +57,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
57
57
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
58
58
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
59
59
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
60
|
-
import "../shared-utils/absoluteUrl.js";
|
|
60
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
61
61
|
import "../GuideLinePlugin/Controller.js";
|
|
62
62
|
import "../GuideLinePlugin/GuideLineItem/index.js";
|
|
63
63
|
import "../GuideLinePlugin/GuideLineModeItem/index.js";
|
|
@@ -104,9 +104,11 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
104
104
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
105
105
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
106
106
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
107
|
+
import "../shared-utils/three/getNormal.js";
|
|
107
108
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
108
109
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
109
110
|
import "../shared-utils/typescript/entries.js";
|
|
111
|
+
import "../shared-utils/url/getUrl.js";
|
|
110
112
|
import "../shared-utils/five/getFloorIndex.js";
|
|
111
113
|
import "../shared-utils/safeObj.js";
|
|
112
114
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -194,7 +196,7 @@ import "../shared-utils/nearlyEqual.js";
|
|
|
194
196
|
import "./utils/coordinatesToVector.js";
|
|
195
197
|
import "../shared-utils/isTruelyObject.js";
|
|
196
198
|
import "./utils/formatRad.js";
|
|
197
|
-
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 = () => {
|
|
198
200
|
console.error(`${x} is disposed`);
|
|
199
201
|
}, W = () => {
|
|
200
202
|
console.warn(`${x} is disabled`);
|
|
@@ -241,30 +243,30 @@ class z extends V {
|
|
|
241
243
|
*/
|
|
242
244
|
load(e, t, i) {
|
|
243
245
|
return v(this, null, function* () {
|
|
244
|
-
var o, m,
|
|
246
|
+
var o, m, f, u, h, P;
|
|
245
247
|
if (this.state.disposed)
|
|
246
248
|
return D();
|
|
247
|
-
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();
|
|
248
250
|
const r = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, n = yield this.formatData(e);
|
|
249
251
|
this.data = n, this.hooks.emit("dataChange", n, r);
|
|
250
252
|
let s = [], d;
|
|
251
|
-
const a = this.data.keyframes.filter((
|
|
252
|
-
a.filter((
|
|
253
|
+
const a = this.data.keyframes.filter((p) => p.data.panoIndex !== void 0);
|
|
254
|
+
a.filter((p, y) => {
|
|
253
255
|
var S;
|
|
254
|
-
return
|
|
255
|
-
}).map((
|
|
256
|
+
return p.data.panoIndex !== ((S = a[y - 1]) == null ? void 0 : S.data.panoIndex);
|
|
257
|
+
}).map((p) => p.data.panoIndex).forEach((p) => {
|
|
256
258
|
var S, k;
|
|
257
|
-
const y = (S = this.five.work.observers[
|
|
259
|
+
const y = (S = this.five.work.observers[p]) == null ? void 0 : S.floorIndex;
|
|
258
260
|
if (y !== void 0)
|
|
259
261
|
if (d === y) {
|
|
260
262
|
const b = s.length - 1;
|
|
261
|
-
s[b] = [...(k = s[b]) != null ? k : [],
|
|
263
|
+
s[b] = [...(k = s[b]) != null ? k : [], p];
|
|
262
264
|
} else {
|
|
263
265
|
d = y;
|
|
264
266
|
const b = s.length;
|
|
265
|
-
s[b] = [
|
|
267
|
+
s[b] = [p];
|
|
266
268
|
}
|
|
267
|
-
}), !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);
|
|
268
270
|
});
|
|
269
271
|
}
|
|
270
272
|
/**
|
|
@@ -364,12 +366,12 @@ class z extends V {
|
|
|
364
366
|
const { moveEffect: n, moveToFirstPanoEffect: s, moveToFirstPanoDuration: d } = i;
|
|
365
367
|
return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration = d, i.panoIndexList.forEach((a, o) => {
|
|
366
368
|
const m = (() => {
|
|
367
|
-
var
|
|
368
|
-
const
|
|
369
|
-
if (
|
|
369
|
+
var p, y, S, k;
|
|
370
|
+
const f = i.panoIndexList.slice(o).find((b) => b !== a);
|
|
371
|
+
if (f === void 0)
|
|
370
372
|
return;
|
|
371
|
-
const u = (
|
|
372
|
-
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))
|
|
373
375
|
return;
|
|
374
376
|
const P = new j.Vector3().subVectors(h, u);
|
|
375
377
|
return N(P.normalize());
|
|
@@ -422,23 +424,23 @@ class z extends V {
|
|
|
422
424
|
const d = t.keyframes, a = this.getPauseData();
|
|
423
425
|
(e == null ? void 0 : e.notEmitEvent) !== !0 && n.emit("play", { userAction: (u = e == null ? void 0 : e.userAction) != null ? u : !0 });
|
|
424
426
|
let o = !1;
|
|
425
|
-
const
|
|
427
|
+
const f = yield (() => v(this, null, function* () {
|
|
426
428
|
var h, P;
|
|
427
429
|
if ((e == null ? void 0 : e.playFromIndex) !== void 0)
|
|
428
430
|
return e.playFromIndex;
|
|
429
431
|
if ((e == null ? void 0 : e.playFromId) !== void 0)
|
|
430
|
-
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);
|
|
431
433
|
if (a != null && a.keyframeId) {
|
|
432
|
-
const
|
|
434
|
+
const p = (P = this.data) == null ? void 0 : P.keyframes.find((y) => y.id === a.keyframeId);
|
|
433
435
|
if (a != null && a.fiveState && (yield this.move(a.fiveState, {
|
|
434
436
|
moveEffect: r.moveToFirstPanoEffect,
|
|
435
437
|
duration: r.moveToFirstPanoDuration
|
|
436
|
-
})),
|
|
437
|
-
if (
|
|
438
|
-
return
|
|
439
|
-
if (
|
|
438
|
+
})), p) {
|
|
439
|
+
if (p.data.effect === "Move")
|
|
440
|
+
return p.index;
|
|
441
|
+
if (p.data.effect === "Rotate") {
|
|
440
442
|
const y = a.duration !== void 0 ? a.duration * (1 - a.playedProgress) : void 0;
|
|
441
|
-
return yield this.playKeyframe(
|
|
443
|
+
return yield this.playKeyframe(p, { duration: y }), o = !0, p.index + 1;
|
|
442
444
|
}
|
|
443
445
|
}
|
|
444
446
|
}
|
|
@@ -447,7 +449,7 @@ class z extends V {
|
|
|
447
449
|
for (const h of d) {
|
|
448
450
|
if (r.broke || !i.playing || !r.playing || s !== r.playId)
|
|
449
451
|
return;
|
|
450
|
-
if (!(
|
|
452
|
+
if (!(f !== void 0 && h.index < f))
|
|
451
453
|
try {
|
|
452
454
|
n.emit("playIndexChange", h.index, h), yield this.playKeyframe(h, {
|
|
453
455
|
moveEffect: o === !1 ? r.moveToFirstPanoEffect : void 0,
|
|
@@ -576,11 +578,11 @@ class z extends V {
|
|
|
576
578
|
return v(this, arguments, function* (e, t = {}) {
|
|
577
579
|
const { five: r, privateState: n, state: s } = this, d = (() => {
|
|
578
580
|
var u, h;
|
|
579
|
-
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;
|
|
580
582
|
if ((m == null ? void 0 : m.rotateSpeedUnit) === void 0)
|
|
581
|
-
return
|
|
582
|
-
if (
|
|
583
|
-
return m.rotateSpeedUnit === "rad/ms" ?
|
|
583
|
+
return f;
|
|
584
|
+
if (f !== void 0)
|
|
585
|
+
return m.rotateSpeedUnit === "rad/ms" ? f : f / 1e3;
|
|
584
586
|
})(), a = (() => {
|
|
585
587
|
if (t.duration)
|
|
586
588
|
return t.duration;
|
|
@@ -608,8 +610,8 @@ class z extends V {
|
|
|
608
610
|
const s = i.getCurrentState().mode !== "Panorama";
|
|
609
611
|
s && (this.privateState.modeChanging = !0);
|
|
610
612
|
const d = (() => {
|
|
611
|
-
var
|
|
612
|
-
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;
|
|
613
615
|
if ((o == null ? void 0 : o.moveSpeedUnit) === void 0)
|
|
614
616
|
return m;
|
|
615
617
|
if (m !== void 0)
|
|
@@ -624,13 +626,13 @@ class z extends V {
|
|
|
624
626
|
return 800;
|
|
625
627
|
})();
|
|
626
628
|
r.currentPlayKeyframe && (r.currentPlayKeyframe.originDuration = a), yield new Promise((o) => {
|
|
627
|
-
var m,
|
|
629
|
+
var m, f, u;
|
|
628
630
|
i.moveToPano(e.panoIndex, {
|
|
629
631
|
latitude: e.latitude,
|
|
630
632
|
longitude: e.longitude,
|
|
631
633
|
fov: e.fov,
|
|
632
634
|
duration: this.getSpeededDuration(a),
|
|
633
|
-
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,
|
|
634
636
|
moveCancelCallback: () => o(),
|
|
635
637
|
moveEndCallback: () => o()
|
|
636
638
|
}), s && i.once("panoArrived", () => o());
|
|
@@ -749,5 +751,5 @@ class z extends V {
|
|
|
749
751
|
I(z, "PluginVersion", M);
|
|
750
752
|
export {
|
|
751
753
|
z as default,
|
|
752
|
-
|
|
754
|
+
rr as pluginFlag
|
|
753
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";
|
|
@@ -22,7 +22,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
24
24
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
25
|
-
import "../shared-utils/absoluteUrl.js";
|
|
25
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
26
26
|
import "../GuideLinePlugin/index.js";
|
|
27
27
|
import "../GuideLinePlugin/Controller.js";
|
|
28
28
|
import "../shared-utils/equal.js";
|
|
@@ -72,9 +72,11 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
72
72
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
73
73
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
74
74
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
75
|
+
import "../shared-utils/three/getNormal.js";
|
|
75
76
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
76
77
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
77
78
|
import "../shared-utils/typescript/entries.js";
|
|
79
|
+
import "../shared-utils/url/getUrl.js";
|
|
78
80
|
import "../shared-utils/five/getFloorIndex.js";
|
|
79
81
|
import "../shared-utils/safeObj.js";
|
|
80
82
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -166,10 +168,10 @@ import "./utils/vectorToCoordinates.js";
|
|
|
166
168
|
import "./utils/formatRad.js";
|
|
167
169
|
import "./utils/linerValue.js";
|
|
168
170
|
import "./utils/sleep.js";
|
|
169
|
-
const
|
|
171
|
+
const uo = (r) => new i(r);
|
|
170
172
|
export {
|
|
171
|
-
|
|
173
|
+
uo as CruisePlugin,
|
|
172
174
|
i as CruisePluginController,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
+
Co as CruisePluginTypes,
|
|
176
|
+
uo as default
|
|
175
177
|
};
|
|
@@ -38,7 +38,7 @@ import { equal as P } from "../shared-utils/equal.js";
|
|
|
38
38
|
import { loadTexture as k } from "../shared-utils/three/loadTexture.js";
|
|
39
39
|
import { adaptPanoId as g } from "../shared-utils/five/adapt.js";
|
|
40
40
|
import "../shared-utils/Subscribe.js";
|
|
41
|
-
import "../shared-utils/absoluteUrl.js";
|
|
41
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
42
42
|
import "../shared-utils/animationFrame/index.js";
|
|
43
43
|
import "../shared-utils/positionToVector3.js";
|
|
44
44
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -20,7 +20,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
20
20
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
|
-
import "../shared-utils/absoluteUrl.js";
|
|
23
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
24
24
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
25
25
|
import "../shared-utils/animationFrame/index.js";
|
|
26
26
|
import "../shared-utils/equal.js";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
var M = Object.defineProperty;
|
|
2
2
|
var G = Object.getOwnPropertySymbols;
|
|
3
3
|
var N = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var f = (
|
|
4
|
+
var f = (p, o, t) => o in p ? M(p, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : p[o] = t, c = (p, o) => {
|
|
5
5
|
for (var t in o || (o = {}))
|
|
6
|
-
N.call(o, t) && f(
|
|
6
|
+
N.call(o, t) && f(p, t, o[t]);
|
|
7
7
|
if (G)
|
|
8
8
|
for (var t of G(o))
|
|
9
|
-
O.call(o, t) && f(
|
|
10
|
-
return
|
|
9
|
+
O.call(o, t) && f(p, t, o[t]);
|
|
10
|
+
return p;
|
|
11
11
|
};
|
|
12
|
-
var d = (
|
|
13
|
-
var u = (
|
|
12
|
+
var d = (p, o, t) => (f(p, typeof o != "symbol" ? o + "" : o, t), t);
|
|
13
|
+
var u = (p, o, t) => new Promise((i, s) => {
|
|
14
14
|
var a = (m) => {
|
|
15
15
|
try {
|
|
16
16
|
r(t.next(m));
|
|
17
17
|
} catch (n) {
|
|
18
|
-
|
|
18
|
+
s(n);
|
|
19
19
|
}
|
|
20
20
|
}, e = (m) => {
|
|
21
21
|
try {
|
|
22
22
|
r(t.throw(m));
|
|
23
23
|
} catch (n) {
|
|
24
|
-
|
|
24
|
+
s(n);
|
|
25
25
|
}
|
|
26
26
|
}, r = (m) => m.done ? i(m.value) : Promise.resolve(m.value).then(a, e);
|
|
27
|
-
r((t = t.apply(
|
|
27
|
+
r((t = t.apply(p, o)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as P } from "../base/BasePluginWithData.js";
|
|
30
30
|
import { equal as $ } from "../shared-utils/equal.js";
|
|
@@ -52,7 +52,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
52
52
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
53
53
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
54
54
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
55
|
-
import "../shared-utils/absoluteUrl.js";
|
|
55
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
56
56
|
import "../shared-utils/isTruelyObject.js";
|
|
57
57
|
import "./GuideLineModeItem/index.js";
|
|
58
58
|
import "../shared-utils/log.js";
|
|
@@ -97,9 +97,11 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
97
97
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
98
98
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
99
99
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
100
|
+
import "../shared-utils/three/getNormal.js";
|
|
100
101
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
101
102
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
102
103
|
import "../shared-utils/typescript/entries.js";
|
|
104
|
+
import "../shared-utils/url/getUrl.js";
|
|
103
105
|
import "../shared-utils/five/getFloorIndex.js";
|
|
104
106
|
import "../shared-utils/safeObj.js";
|
|
105
107
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -193,8 +195,8 @@ import "../CruisePlugin/utils/vectorToCoordinates.js";
|
|
|
193
195
|
import "../CruisePlugin/utils/formatRad.js";
|
|
194
196
|
import "../CruisePlugin/utils/linerValue.js";
|
|
195
197
|
import "../CruisePlugin/utils/sleep.js";
|
|
196
|
-
const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`,
|
|
197
|
-
class
|
|
198
|
+
const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`, Jr = (p) => `${g}--${p}`;
|
|
199
|
+
class qr extends P {
|
|
198
200
|
constructor(t, i) {
|
|
199
201
|
super(t, i);
|
|
200
202
|
d(this, "version", V);
|
|
@@ -222,7 +224,7 @@ class Br extends P {
|
|
|
222
224
|
get disposed() {
|
|
223
225
|
return this._disposed;
|
|
224
226
|
}
|
|
225
|
-
load(t, i,
|
|
227
|
+
load(t, i, s = !0) {
|
|
226
228
|
return u(this, null, function* () {
|
|
227
229
|
var v, w, E, I, y, L, D;
|
|
228
230
|
if (this.disposed)
|
|
@@ -242,7 +244,7 @@ class Br extends P {
|
|
|
242
244
|
})) != null ? y : [], A = (D = (L = e.lines) == null ? void 0 : L.map((l) => S({}, n, l))) != null ? D : [], C = [...h, ...A];
|
|
243
245
|
yield this.waitFiveLoaded(), this.clear(), C.forEach((l) => {
|
|
244
246
|
this.addGuideLineItem(l);
|
|
245
|
-
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction:
|
|
247
|
+
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", e), console.debug(`${g} loaded`, e);
|
|
246
248
|
});
|
|
247
249
|
}
|
|
248
250
|
formatData(t) {
|
|
@@ -278,13 +280,13 @@ class Br extends P {
|
|
|
278
280
|
var a;
|
|
279
281
|
if (this.disposed)
|
|
280
282
|
return this.disposedErrorLog();
|
|
281
|
-
const
|
|
282
|
-
this.state = c(c({}, this.state), t), t.visible !== void 0 && t.visible !==
|
|
283
|
+
const s = c({}, this.state);
|
|
284
|
+
this.state = c(c({}, this.state), t), t.visible !== void 0 && t.visible !== s.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== s.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), $(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (a = i == null ? void 0 : i.userAction) != null ? a : !0 }), this.five.needsRender = !0);
|
|
283
285
|
}
|
|
284
286
|
/** 添加一个 GuideLineItem */
|
|
285
287
|
addGuideLineItem(t) {
|
|
286
|
-
const i = t.render_id || t.id,
|
|
287
|
-
|
|
288
|
+
const i = t.render_id || t.id, s = this.itemMap.get(i);
|
|
289
|
+
s && this.removeGuideLineItem(s);
|
|
288
290
|
const a = new k({ five: this.five, id: i, plugin: this });
|
|
289
291
|
return this.itemMap.set(i, a), t && a.setData(t), this.heightOffset += 1e-4, a.setHeightOffset(this.heightOffset), a;
|
|
290
292
|
}
|
|
@@ -302,7 +304,7 @@ class Br extends P {
|
|
|
302
304
|
function i(e) {
|
|
303
305
|
return Array.isArray(e) && e.every((r) => typeof r == "number");
|
|
304
306
|
}
|
|
305
|
-
function
|
|
307
|
+
function s(e, r) {
|
|
306
308
|
return new T.Vector3().fromArray(e).distanceTo(new T.Vector3().fromArray(r)) < 0.01;
|
|
307
309
|
}
|
|
308
310
|
function a(e) {
|
|
@@ -310,7 +312,7 @@ class Br extends P {
|
|
|
310
312
|
const r = (m = e.tag) == null ? void 0 : m.position;
|
|
311
313
|
return i(r) ? t.every((n) => {
|
|
312
314
|
var h;
|
|
313
|
-
return i((h = n.tag) == null ? void 0 : h.position) ? !
|
|
315
|
+
return i((h = n.tag) == null ? void 0 : h.position) ? !s(r, n.tag.position) : !0;
|
|
314
316
|
}) : !1;
|
|
315
317
|
}
|
|
316
318
|
this.itemMap.forEach((e) => {
|
|
@@ -353,6 +355,6 @@ class Br extends P {
|
|
|
353
355
|
}
|
|
354
356
|
}
|
|
355
357
|
export {
|
|
356
|
-
|
|
357
|
-
|
|
358
|
+
qr as default,
|
|
359
|
+
Jr as pluginFlag
|
|
358
360
|
};
|
|
@@ -4,7 +4,7 @@ import "../shared-utils/log.js";
|
|
|
4
4
|
import "../shared-utils/to.js";
|
|
5
5
|
import "@realsee/five";
|
|
6
6
|
import "../shared-utils/five/changeMode.js";
|
|
7
|
-
import { GuideLineItem as
|
|
7
|
+
import { GuideLineItem as no } from "./GuideLineItem/index.js";
|
|
8
8
|
import "three";
|
|
9
9
|
import "./utils/createLineGeometry.js";
|
|
10
10
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -57,7 +57,7 @@ import "../PanoTagPlugin/utils/planeNormal.js";
|
|
|
57
57
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
58
58
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
59
59
|
import "../base/BasePlugin.js";
|
|
60
|
-
import "../shared-utils/absoluteUrl.js";
|
|
60
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
61
61
|
import "../vendor/svelte/store/index.js";
|
|
62
62
|
import "../vendor/svelte/internal/index.js";
|
|
63
63
|
import "../shared-utils/device.js";
|
|
@@ -68,9 +68,11 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
68
68
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
69
69
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
70
70
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
71
|
+
import "../shared-utils/three/getNormal.js";
|
|
71
72
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
72
73
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
73
74
|
import "../shared-utils/typescript/entries.js";
|
|
75
|
+
import "../shared-utils/url/getUrl.js";
|
|
74
76
|
import "../shared-utils/five/getFloorIndex.js";
|
|
75
77
|
import "../shared-utils/safeObj.js";
|
|
76
78
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -166,5 +168,5 @@ import "../CruisePlugin/utils/formatRad.js";
|
|
|
166
168
|
import "../CruisePlugin/utils/linerValue.js";
|
|
167
169
|
import "../CruisePlugin/utils/sleep.js";
|
|
168
170
|
export {
|
|
169
|
-
|
|
171
|
+
no as GuideLineItem
|
|
170
172
|
};
|
|
@@ -13,7 +13,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
13
13
|
import "./Components/Tag.js";
|
|
14
14
|
import "./utils/index.js";
|
|
15
15
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
16
|
-
import { GuideLineModeItem as
|
|
16
|
+
import { GuideLineModeItem as Ui } from "./GuideLineModeItem/index.js";
|
|
17
17
|
import "../vendor/polyline-normals/index.js";
|
|
18
18
|
import "../vendor/polyline-miter-util/index.js";
|
|
19
19
|
import "../vendor/gl-vec2/add.js";
|
|
@@ -55,7 +55,7 @@ import "../PanoTagPlugin/utils/planeNormal.js";
|
|
|
55
55
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
56
56
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
57
57
|
import "../base/BasePlugin.js";
|
|
58
|
-
import "../shared-utils/absoluteUrl.js";
|
|
58
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
59
59
|
import "../vendor/svelte/store/index.js";
|
|
60
60
|
import "../vendor/svelte/internal/index.js";
|
|
61
61
|
import "../shared-utils/device.js";
|
|
@@ -66,9 +66,11 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
66
66
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
67
67
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
68
68
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
69
|
+
import "../shared-utils/three/getNormal.js";
|
|
69
70
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
70
71
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
71
72
|
import "../shared-utils/typescript/entries.js";
|
|
73
|
+
import "../shared-utils/url/getUrl.js";
|
|
72
74
|
import "../shared-utils/five/getFloorIndex.js";
|
|
73
75
|
import "../shared-utils/safeObj.js";
|
|
74
76
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -149,5 +151,5 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
149
151
|
import "@realsee/five/gltf-loader";
|
|
150
152
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
151
153
|
export {
|
|
152
|
-
|
|
154
|
+
Ui as GuideLineModeItem
|
|
153
155
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as at } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as lt } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -23,7 +23,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
24
24
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
25
25
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
26
|
-
import "../shared-utils/absoluteUrl.js";
|
|
26
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
27
27
|
import "../shared-utils/equal.js";
|
|
28
28
|
import "../shared-utils/isTruelyObject.js";
|
|
29
29
|
import "../CruisePlugin/Controller.js";
|
|
@@ -79,9 +79,11 @@ import "../shared-utils/three/loadVideoTexture.js";
|
|
|
79
79
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
80
80
|
import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
81
81
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
82
|
+
import "../shared-utils/three/getNormal.js";
|
|
82
83
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
83
84
|
import "../PanoTagPlugin/utils/tag/adaptConfig.js";
|
|
84
85
|
import "../shared-utils/typescript/entries.js";
|
|
86
|
+
import "../shared-utils/url/getUrl.js";
|
|
85
87
|
import "../shared-utils/five/getFloorIndex.js";
|
|
86
88
|
import "../shared-utils/safeObj.js";
|
|
87
89
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
@@ -165,10 +167,10 @@ import "./utils/index.js";
|
|
|
165
167
|
import "../shared-utils/to.js";
|
|
166
168
|
import "../shared-utils/five/changeMode.js";
|
|
167
169
|
import "../shared-utils/nearlyEqual.js";
|
|
168
|
-
const
|
|
170
|
+
const ut = (i, o) => new t(i, o);
|
|
169
171
|
export {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
at as GuideLineItem,
|
|
173
|
+
lt as GuideLineModeItem,
|
|
174
|
+
ut as GuideLinePlugin,
|
|
175
|
+
ut as default
|
|
174
176
|
};
|
|
@@ -40,7 +40,7 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
40
40
|
import "hammerjs";
|
|
41
41
|
import "@realsee/five";
|
|
42
42
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
43
|
-
import "../shared-utils/absoluteUrl.js";
|
|
43
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
44
44
|
const de = (s, { videoElement: g }) => {
|
|
45
45
|
const e = {
|
|
46
46
|
videoMeshes: [],
|
|
@@ -24,7 +24,7 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
24
24
|
import "hammerjs";
|
|
25
25
|
import "@realsee/five";
|
|
26
26
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
27
|
-
import "../shared-utils/absoluteUrl.js";
|
|
27
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
28
28
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
29
29
|
export {
|
|
30
30
|
j as DIRECTION,
|
|
@@ -47,7 +47,7 @@ import { ScaleController as A } from "../shared-utils/Object3DHelper/Controller/
|
|
|
47
47
|
import "../shared-utils/Subscribe.js";
|
|
48
48
|
import "hammerjs";
|
|
49
49
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
|
-
import "../shared-utils/absoluteUrl.js";
|
|
50
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
51
51
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
52
52
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
53
53
|
import "../shared-utils/three/IObject3D.js";
|
|
@@ -21,7 +21,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
|
-
import "../shared-utils/absoluteUrl.js";
|
|
24
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
25
25
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
26
26
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
27
27
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
@@ -52,7 +52,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
52
52
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
53
53
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
54
54
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
55
|
-
import "../shared-utils/absoluteUrl.js";
|
|
55
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
56
56
|
import "./Assets/roomInfoIcon.js";
|
|
57
57
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
58
58
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
@@ -21,7 +21,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
|
-
import "../shared-utils/absoluteUrl.js";
|
|
24
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
25
25
|
import "./getRoomInfoInstance.js";
|
|
26
26
|
import "./Assets/roomInfoIcon.js";
|
|
27
27
|
import "../shared-utils/three/loadTexture.js";
|
|
@@ -32,7 +32,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
32
32
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
33
33
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
34
34
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
35
|
-
import "../shared-utils/absoluteUrl.js";
|
|
35
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
36
36
|
class J extends c {
|
|
37
37
|
constructor(t) {
|
|
38
38
|
super(t);
|
|
@@ -35,7 +35,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
35
35
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
36
36
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
37
37
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
38
|
-
import "../shared-utils/absoluteUrl.js";
|
|
38
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
39
39
|
import "../vendor/svelte/internal/index.js";
|
|
40
40
|
import "../vendor/classnames/index.js";
|
|
41
41
|
const ee = { userAction: !0 };
|
|
@@ -21,7 +21,7 @@ import "../shared-utils/three/getObjectVisible.js";
|
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
|
-
import "../shared-utils/absoluteUrl.js";
|
|
24
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
25
25
|
import "./DoorLabelItem.js";
|
|
26
26
|
import "../vendor/svelte/internal/index.js";
|
|
27
27
|
import "../vendor/classnames/index.js";
|
|
@@ -55,7 +55,7 @@ import "../Modules/rangePiece/html.js";
|
|
|
55
55
|
import "../../CSS3DRenderPlugin/index.js";
|
|
56
56
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
57
57
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
58
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
58
|
+
import "../../shared-utils/url/absoluteUrl.js";
|
|
59
59
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
60
60
|
import "../../shared-utils/animationFrame/index.js";
|
|
61
61
|
import "../../shared-utils/isTouchDevice.js";
|