@realsee/dnalogel 3.4.0-dev.3 → 3.4.0-tag-dev.1
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/CruisePlugin/{Work.d.ts → Controller.d.ts} +8 -1
- package/dist/CruisePlugin/index.d.ts +3 -4
- package/dist/CruisePlugin/typing.d.ts +2 -2
- package/dist/CruisePlugin/utils/linerValue.d.ts +1 -0
- package/dist/GuideLinePlugin/Controller.d.ts +6 -1
- package/dist/PanoTagPlugin/Archive/deprecated.d.ts +2 -0
- package/dist/PanoTagPlugin/Components/Tag/PanoramaTag.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +0 -4
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +4 -0
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +3 -3
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +6 -0
- package/dist/index.cjs.js +61 -59
- package/dist/index.js +5186 -5214
- package/dist/index.umd.js +54 -52
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +31 -33
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +32 -34
- package/docs/classes/CSS3DRender.html +31 -33
- package/docs/classes/{WalkController.html → CruisePluginController.html} +57 -52
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -21
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +41 -43
- package/docs/classes/Magnifier.html +20 -22
- package/docs/classes/ModelRoomLabelController.html +11 -13
- package/docs/classes/Object3DHelperController.html +25 -27
- package/docs/classes/PaintBrush.html +15 -17
- package/docs/classes/PanoMeasurePluginLine.html +27 -29
- package/docs/classes/PanoMeasurePluginModel.html +27 -29
- package/docs/classes/PanoMeasurePluginPoint.html +11 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -29
- package/docs/classes/PanoTagPluginController.html +54 -56
- package/docs/classes/Util.BetterTween.html +9 -11
- package/docs/classes/Util.Interval.html +12 -14
- package/docs/classes/Util.LineSegments.html +8 -10
- package/docs/classes/Util.Magnifier.html +20 -22
- package/docs/classes/Util.Object3D.html +8 -10
- package/docs/classes/Util.PointDomHelper.html +11 -13
- package/docs/classes/Util.PointHelper.html +11 -13
- package/docs/classes/Util.PointSelectorHelper.html +16 -18
- package/docs/classes/Util.Rectangle.html +13 -15
- package/docs/enums/CameraMovementEffect.html +7 -9
- package/docs/enums/ContentType.html +30 -22
- package/docs/enums/DIRECTION.html +9 -11
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -11
- package/docs/enums/DimensionType.html +7 -9
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -10
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -11
- package/docs/enums/PaintBrushTypeEnum.html +8 -10
- package/docs/enums/PointType.html +7 -9
- package/docs/enums/Rotation.html +8 -10
- package/docs/functions/AreaMakerPlugin.html +5 -7
- package/docs/functions/CSS3DRenderPlugin.html +4 -6
- package/docs/functions/CameraMovementPlugin.html +4 -6
- package/docs/functions/CruisePlugin.html +6 -8
- package/docs/functions/CurrentPanoImagePlugin.html +4 -6
- package/docs/functions/GuideLinePlugin.html +5 -7
- package/docs/functions/ItemLabelPlugin.html +4 -6
- package/docs/functions/MapviewFloorplanPlugin.html +4 -6
- package/docs/functions/ModelChassisCompassPlugin.html +4 -6
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -6
- package/docs/functions/ModelFloorplanPlugin.html +4 -6
- package/docs/functions/ModelItemLabelPlugin.html +4 -6
- package/docs/functions/ModelRoomLabelPlugin.html +4 -6
- package/docs/functions/ModelTVVideoPlugin.html +4 -6
- package/docs/functions/ModelViewPlugin.html +4 -6
- package/docs/functions/Object3DHelperPlugin.html +4 -6
- package/docs/functions/PanoCompassPlugin.html +4 -6
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -6
- package/docs/functions/PanoDoorLabelPlugin.html +4 -6
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -6
- package/docs/functions/PanoMeasurePlugin.html +4 -6
- package/docs/functions/PanoRulerPlugin.html +4 -6
- package/docs/functions/PanoRulerProPlugin.html +4 -6
- package/docs/functions/PanoSpatialTagPlugin.html +4 -6
- package/docs/functions/PanoTagPlugin.html +4 -6
- package/docs/functions/PanoVideoPlugin.html +4 -6
- package/docs/functions/PipelinePlugin.html +4 -6
- package/docs/functions/TopviewFloorplanPlugin.html +4 -6
- package/docs/functions/Util.absoluteUrl.html +5 -7
- package/docs/functions/Util.checkFiveModelLoaded.html +5 -7
- package/docs/functions/Util.equal.html +5 -7
- package/docs/functions/Util.getCoordsFromClient.html +5 -7
- package/docs/functions/Util.getCoordsFromElement.html +5 -7
- package/docs/functions/Util.getFrameTime.html +5 -7
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -7
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -7
- package/docs/functions/Util.isAbsoluteURL.html +5 -7
- package/docs/functions/Util.isModelLike.html +5 -7
- package/docs/functions/Util.isNil.html +5 -7
- package/docs/functions/Util.isPanoramaLike.html +5 -7
- package/docs/functions/Util.nextFrame.html +5 -7
- package/docs/functions/Util.notNil.html +5 -7
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -7
- package/docs/functions/Util.tweenProgress.html +5 -7
- package/docs/functions/Util.uuid.html +5 -7
- package/docs/functions/pluginFlag.html +5 -7
- package/docs/index.html +5 -7
- package/docs/interfaces/AddTagConfig.html +6 -8
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +6 -8
- package/docs/interfaces/AreaMakerPluginType.Config.html +6 -8
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +15 -17
- package/docs/interfaces/AreaMakerPluginType.Params.html +7 -9
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +9 -11
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +8 -10
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +6 -8
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +6 -8
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +6 -8
- package/docs/interfaces/AreaMakerPluginType.State.html +8 -10
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -13
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -10
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -9
- package/docs/interfaces/CruisePluginTypes.Config.html +9 -11
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -15
- package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -23
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +13 -15
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +15 -17
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +15 -17
- package/docs/interfaces/CruisePluginTypes.PluginData.html +10 -12
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -9
- package/docs/interfaces/CruisePluginTypes.PluginState.html +36 -17
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +11 -13
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +12 -14
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +7 -9
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +6 -8
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +8 -10
- package/docs/interfaces/EventMap.html +15 -17
- package/docs/interfaces/FloorplanBounding.html +8 -10
- package/docs/interfaces/FloorplanData.html +10 -12
- package/docs/interfaces/FloorplanEntrance.html +11 -13
- package/docs/interfaces/FloorplanExtraObject.html +10 -12
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -10
- package/docs/interfaces/FloorplanFloorData.html +9 -11
- package/docs/interfaces/FloorplanImagePosition.html +7 -9
- package/docs/interfaces/FloorplanObserver.html +9 -11
- package/docs/interfaces/FloorplanOutlineItem.html +9 -11
- package/docs/interfaces/FloorplanPosition.html +7 -9
- package/docs/interfaces/FloorplanRoomItem.html +13 -15
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -9
- package/docs/interfaces/FloorplanServerBounding.html +8 -10
- package/docs/interfaces/FloorplanServerComputedData.html +10 -12
- package/docs/interfaces/FloorplanServerData.html +7 -9
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -12
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -10
- package/docs/interfaces/FloorplanServerEntrance.html +11 -13
- package/docs/interfaces/FloorplanServerFloorData.html +9 -11
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -9
- package/docs/interfaces/FloorplanServerObserver.html +9 -11
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -11
- package/docs/interfaces/FloorplanServerPosition.html +7 -9
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -16
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -9
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -10
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -13
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -16
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -11
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -9
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -16
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -9
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -11
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -22
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -10
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -22
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -8
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -9
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -11
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -14
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -12
- package/docs/interfaces/HelperOffset.html +8 -10
- package/docs/interfaces/ImagePlaneGroup.html +6 -8
- package/docs/interfaces/ItemLabelPluginData.html +6 -8
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -13
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -11
- package/docs/interfaces/MinMax.html +7 -9
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -9
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -10
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -9
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -10
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -10
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -8
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -13
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -9
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -8
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -11
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -10
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -8
- package/docs/interfaces/ModelViewPluginExportType.html +11 -13
- package/docs/interfaces/Object3DHelperState.html +8 -10
- package/docs/interfaces/ObjectHelperControllers.html +9 -11
- package/docs/interfaces/PaintBrushAction.html +12 -14
- package/docs/interfaces/PaintBrushConfigs.html +12 -14
- package/docs/interfaces/PaintBrushState.html +10 -12
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -12
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -7
- package/docs/interfaces/PanoMeasureParameterType.html +16 -18
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -10
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -9
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -9
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -10
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -12
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -9
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -10
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -11
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -9
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -9
- package/docs/interfaces/PanoRulerProPluginState.html +8 -10
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -7
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -7
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -13
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -12
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -15
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -12
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -15
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -13
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -12
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -8
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -10
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -8
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -11
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -8
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -10
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -12
- package/docs/interfaces/Point.html +8 -10
- package/docs/interfaces/Room.html +9 -11
- package/docs/interfaces/RoomInfo.html +7 -9
- package/docs/interfaces/RoomLabel.html +14 -16
- package/docs/interfaces/RoomRules.html +5 -7
- package/docs/interfaces/Rooms.html +5 -7
- package/docs/interfaces/Scissor.html +9 -11
- package/docs/interfaces/State.html +8 -10
- package/docs/interfaces/TagCacheInterface.html +12 -14
- package/docs/interfaces/TagConfig.html +14 -16
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -8
- package/docs/interfaces/TagIconUrl.html +12 -14
- package/docs/interfaces/TagObjectGroup.html +6 -8
- package/docs/interfaces/TagStyle.html +6 -8
- package/docs/interfaces/Tags.html +144 -14
- package/docs/interfaces/TemporaryState.html +6 -8
- package/docs/interfaces/Util.MagnifierParameter.html +11 -13
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -10
- package/docs/interfaces/Util.PointIntersection.html +8 -10
- package/docs/modules/AreaMakerPluginType.html +5 -7
- package/docs/modules/CruisePluginTypes.html +5 -7
- package/docs/modules/CurrentPanoImagePluginType.html +5 -7
- package/docs/modules/GuideLineItem.html +5 -7
- package/docs/modules/GuideLineModeItem.html +5 -7
- package/docs/modules/GuideLinePluginType.html +5 -7
- package/docs/modules/PanoVideoPluginType.html +5 -7
- package/docs/modules/Util.html +5 -7
- package/docs/modules.html +9 -27
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +5 -7
- package/docs/types/AreaMakerPluginType.PluginData.html +5 -7
- package/docs/types/AreaMakerPluginType.ServerData.html +5 -7
- package/docs/types/ArrayPosition.html +5 -7
- package/docs/types/AudioAppearance.html +5 -7
- package/docs/types/AudioTagTypeConfigKey.html +5 -7
- package/docs/types/CSS3DRenderExportType.html +5 -7
- package/docs/types/CSS3DRenderPluginExportType.html +5 -7
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -7
- package/docs/types/ClassFunctionParameters.html +5 -7
- package/docs/types/Color.html +5 -7
- package/docs/types/ContentTypeConfigKey.html +5 -7
- package/docs/types/ContentTypeConfigKeySplit.html +5 -7
- package/docs/types/ContentTypeMap.html +5 -7
- package/docs/types/Create3DDomContainerReturnType.html +5 -7
- package/docs/types/Create3DElementReturnType.html +5 -7
- package/docs/types/CruisePluginExportType.html +5 -7
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -8
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -8
- package/docs/types/CurrentPanoImagePluginExportType.html +5 -7
- package/docs/types/DeprecatedMediaPlaneProperty.html +5 -7
- package/docs/types/DeprecatedTagProperty.html +5 -7
- package/docs/types/Direction-1.html +5 -7
- package/docs/types/Direction4.html +5 -7
- package/docs/types/ElementRenderer.html +5 -7
- package/docs/types/FloorplanRuleLabels.html +5 -7
- package/docs/types/FloorplanServerRuleLabels.html +5 -7
- package/docs/types/GuideLinePluginExportType.html +5 -7
- package/docs/types/GuideLinePluginType.GuideLineItem.html +6 -8
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -8
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -8
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -8
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -8
- package/docs/types/GuideLinePluginType.PathItem.html +6 -8
- package/docs/types/GuideLinePluginType.PluginData.html +6 -8
- package/docs/types/HelperEventMap.html +5 -7
- package/docs/types/LoadTagConfig.html +5 -7
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -7
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -7
- package/docs/types/MediaData.html +11 -8
- package/docs/types/MediaStore.html +5 -7
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -7
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -7
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -7
- package/docs/types/ModelId.html +5 -7
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -7
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -7
- package/docs/types/MoveArgs.html +5 -7
- package/docs/types/MoveOpts.html +5 -7
- package/docs/types/Object3DHelperEventMap.html +5 -7
- package/docs/types/ObjectFit.html +5 -7
- package/docs/types/PaintBrushEventMap.html +5 -7
- package/docs/types/PanoCompassPluginData.html +5 -7
- package/docs/types/PanoCompassPluginExportType.html +5 -7
- package/docs/types/PanoCompassPluginParameterType.html +5 -7
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -7
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -7
- package/docs/types/PanoIndex.html +5 -7
- package/docs/types/PanoMeasurePluginEvent.html +5 -7
- package/docs/types/PanoMeasureReturnType.html +5 -7
- package/docs/types/PanoSpatialTagPluginId.html +5 -7
- package/docs/types/PanoTagPluginExportInterface.html +5 -7
- package/docs/types/PanoTagPluginParamsInterface.html +5 -7
- package/docs/types/PanoVideoPluginParameterType.html +5 -7
- package/docs/types/PanoVideoPluginReturnType.html +5 -7
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -7
- package/docs/types/PipelinePluginParameterType.html +5 -7
- package/docs/types/PipelinePluginReturnType.html +5 -7
- package/docs/types/PlaneTag.html +5 -7
- package/docs/types/Point2DTag.html +5 -7
- package/docs/types/Point3DTag.html +5 -7
- package/docs/types/PointTag.html +5 -7
- package/docs/types/PointTagInstance.html +5 -7
- package/docs/types/Position.html +5 -7
- package/docs/types/RotateArgs.html +5 -7
- package/docs/types/RotateOpts.html +5 -7
- package/docs/types/RuleLabelsKey.html +5 -7
- package/docs/types/RuleLabelsValue.html +5 -7
- package/docs/types/StickType.html +5 -7
- package/docs/types/Tag.html +5 -7
- package/docs/types/Tag2D.html +5 -7
- package/docs/types/Tag3D.html +5 -7
- package/docs/types/TagConfigByKey.html +5 -7
- package/docs/types/TagContentType.html +5 -7
- package/docs/types/TagDimensionType.html +5 -7
- package/docs/types/TagElement.html +5 -7
- package/docs/types/TagEvents.html +5 -7
- package/docs/types/TagGLTFObject.html +5 -7
- package/docs/types/TagHooks.html +5 -7
- package/docs/types/TagId.html +5 -7
- package/docs/types/TagInstance.html +5 -7
- package/docs/types/TagPointType.html +5 -7
- package/docs/types/TagRendererMap.html +5 -7
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -7
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -7
- package/docs/types/WorkCode.html +5 -7
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -7
- package/docs/variables/PLUGIN.html +5 -7
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -7
- package/docs/variables/ROOM_TYPE_MAP.html +5 -7
- package/docs/variables/defaultGlobalConfig.html +5 -7
- package/docs/variables/itemLabelPluginServerParams.html +5 -7
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -7
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -7
- package/libs/CruisePlugin/{Work.d.ts → Controller.d.ts} +8 -1
- package/libs/CruisePlugin/{Work.js → Controller.js} +177 -148
- package/libs/CruisePlugin/index.d.ts +3 -4
- package/libs/CruisePlugin/index.js +11 -15
- package/libs/CruisePlugin/typing.d.ts +2 -2
- package/libs/GuideLinePlugin/Controller.d.ts +6 -1
- package/libs/GuideLinePlugin/Controller.js +63 -48
- package/libs/GuideLinePlugin/GuideLineItem/index.js +43 -53
- package/libs/GuideLinePlugin/GuideLineItem.js +10 -12
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +18 -20
- package/libs/PanoTagPlugin/Archive/deprecated.d.ts +2 -0
- package/libs/PanoTagPlugin/Archive/deprecated.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +96 -90
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +130 -0
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +166 -128
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +288 -255
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +0 -4
- package/libs/PanoTagPlugin/controller/TagComputer.js +116 -135
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +4 -0
- package/libs/PanoTagPlugin/controller/TagRender.js +92 -72
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +3 -3
- package/libs/PanoTagPlugin/controller/index.js +6 -5
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/tag.config.js +6 -12
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +6 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +100 -104
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +2 -2
- package/dist/CruisePlugin/CruiseController.d.ts +0 -147
- package/dist/CruisePlugin/Move.d.ts +0 -28
- package/dist/CruisePlugin/utils/getFiveStateOnCurve.d.ts +0 -11
- package/dist/shared-utils/five/fiveLoaded.d.ts +0 -2
- package/docs/classes/MoveController.html +0 -641
- package/libs/CruisePlugin/CruiseController.d.ts +0 -147
- package/libs/CruisePlugin/CruiseController.js +0 -236
- package/libs/CruisePlugin/Move.d.ts +0 -28
- package/libs/CruisePlugin/Move.js +0 -112
- package/libs/CruisePlugin/utils/getFiveStateOnCurve.d.ts +0 -11
- package/libs/CruisePlugin/utils/getFiveStateOnCurve.js +0 -11
- package/libs/shared-utils/five/fiveLoaded.d.ts +0 -2
- package/libs/shared-utils/five/fiveLoaded.js +0 -30
- package/libs/shared-utils/formatRad.d.ts +0 -7
- package/libs/shared-utils/formatRad.js +0 -7
- /package/dist/{shared-utils → CruisePlugin/utils}/formatRad.d.ts +0 -0
- /package/dist/{shared-utils/vectorToCoordinate.d.ts → CruisePlugin/utils/vectorToCoordinates.d.ts} +0 -0
- /package/libs/{shared-utils/vectorToCoordinate.d.ts → CruisePlugin/utils/vectorToCoordinates.d.ts} +0 -0
- /package/libs/{shared-utils/vectorToCoordinate.js → CruisePlugin/utils/vectorToCoordinates.js} +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { default as ct, default as kt } from "./Move.js";
|
|
1
|
+
import i from "./Controller.js";
|
|
2
|
+
import { typing as Po } from "./typing/index.js";
|
|
4
3
|
import "../base/BasePluginWithData.js";
|
|
5
4
|
import "../base/BasePlugin.js";
|
|
6
5
|
import "../shared-utils/Subscribe.js";
|
|
@@ -150,6 +149,7 @@ import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
|
150
149
|
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
151
150
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
152
151
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
152
|
+
import "../PanoTagPlugin/Components/Tag/PanoramaTag.js";
|
|
153
153
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
154
154
|
import "../vendor/classnames/index.js";
|
|
155
155
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
@@ -164,21 +164,17 @@ import "../GuideLinePlugin/utils/index.js";
|
|
|
164
164
|
import "../shared-utils/to.js";
|
|
165
165
|
import "../shared-utils/five/changeMode.js";
|
|
166
166
|
import "../shared-utils/nearlyEqual.js";
|
|
167
|
-
import "../shared-utils/five/fiveLoaded.js";
|
|
168
167
|
import "./utils/coordinatesAngle.js";
|
|
169
168
|
import "./utils/coordinatesToVector.js";
|
|
170
169
|
import "./utils/safeCall.js";
|
|
170
|
+
import "./utils/vectorToCoordinates.js";
|
|
171
|
+
import "./utils/formatRad.js";
|
|
172
|
+
import "./utils/linerValue.js";
|
|
171
173
|
import "./utils/sleep.js";
|
|
172
|
-
|
|
173
|
-
import "../shared-utils/formatRad.js";
|
|
174
|
-
import "./CruiseController.js";
|
|
175
|
-
import "./utils/getFiveStateOnCurve.js";
|
|
176
|
-
const gt = (r) => new o(r);
|
|
174
|
+
const Co = (r) => new i(r);
|
|
177
175
|
export {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
o as WalkController,
|
|
183
|
-
gt as default
|
|
176
|
+
Co as CruisePlugin,
|
|
177
|
+
i as CruisePluginController,
|
|
178
|
+
Po as CruisePluginTypes,
|
|
179
|
+
Co as default
|
|
184
180
|
};
|
|
@@ -82,7 +82,7 @@ export interface PluginState extends BasePluginWithData.State {
|
|
|
82
82
|
speed: number;
|
|
83
83
|
config?: {
|
|
84
84
|
/** 速度配置 */
|
|
85
|
-
speedConfig?:
|
|
85
|
+
speedConfig?: {
|
|
86
86
|
/** 旋转速度 */
|
|
87
87
|
rotateSpeed: number;
|
|
88
88
|
/** 旋转速度单位 */
|
|
@@ -91,7 +91,7 @@ export interface PluginState extends BasePluginWithData.State {
|
|
|
91
91
|
moveSpeed: number;
|
|
92
92
|
/** 移动速度单位 */
|
|
93
93
|
moveSpeedUnit: 'm/s' | 'm/ms';
|
|
94
|
-
}
|
|
94
|
+
};
|
|
95
95
|
/** five 走点动画 */
|
|
96
96
|
moveEffect?: MoveEffect;
|
|
97
97
|
};
|
|
@@ -4,9 +4,10 @@ import type { EventMap, PluginData, PluginServerData, PluginState } from './typi
|
|
|
4
4
|
import type * as PluginType from './typing';
|
|
5
5
|
import type { Config } from '../base/BasePlugin';
|
|
6
6
|
import { GuideLineItem } from './GuideLineItem';
|
|
7
|
-
import CruisePluginController from '../CruisePlugin/
|
|
7
|
+
import CruisePluginController from '../CruisePlugin/Controller';
|
|
8
8
|
export declare const pluginFlag: (name: string) => string;
|
|
9
9
|
export default class Controller extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
|
|
10
|
+
readonly version = "v1.1.0";
|
|
10
11
|
readonly name = "GuideLinePlugin";
|
|
11
12
|
readonly cruisePlugin: CruisePluginController;
|
|
12
13
|
/** GuideLineItem 索引 */
|
|
@@ -59,5 +60,9 @@ export default class Controller extends BasePluginWithData.Controller<PluginStat
|
|
|
59
60
|
private handleEnable;
|
|
60
61
|
private handleVisible;
|
|
61
62
|
private disposedErrorLog;
|
|
63
|
+
/**
|
|
64
|
+
* @description: Wait for five model ready
|
|
65
|
+
*/
|
|
66
|
+
private waitFiveLoaded;
|
|
62
67
|
private getDataWithoutVersion;
|
|
63
68
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var M = Object.prototype.hasOwnProperty,
|
|
4
|
-
var c = (s, o, t) => o in s ?
|
|
1
|
+
var O = Object.defineProperty;
|
|
2
|
+
var G = Object.getOwnPropertySymbols;
|
|
3
|
+
var M = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var c = (s, o, t) => o in s ? O(s, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[o] = t, f = (s, o) => {
|
|
5
5
|
for (var t in o || (o = {}))
|
|
6
6
|
M.call(o, t) && c(s, t, o[t]);
|
|
7
|
-
if (
|
|
8
|
-
for (var t of
|
|
9
|
-
|
|
7
|
+
if (G)
|
|
8
|
+
for (var t of G(o))
|
|
9
|
+
N.call(o, t) && c(s, t, o[t]);
|
|
10
10
|
return s;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var d = (s, o, t) => (c(s, typeof o != "symbol" ? o + "" : o, t), t);
|
|
13
13
|
var u = (s, o, t) => new Promise((i, a) => {
|
|
14
14
|
var m = (p) => {
|
|
15
15
|
try {
|
|
@@ -26,13 +26,12 @@ var u = (s, o, t) => new Promise((i, a) => {
|
|
|
26
26
|
}, r = (p) => p.done ? i(p.value) : Promise.resolve(p.value).then(m, e);
|
|
27
27
|
r((t = t.apply(s, o)).next());
|
|
28
28
|
});
|
|
29
|
-
import { Controller as
|
|
30
|
-
import { equal as
|
|
31
|
-
import { GuideLineItem as
|
|
32
|
-
import
|
|
33
|
-
import { objectAssignDeepExports as
|
|
34
|
-
import * as
|
|
35
|
-
import { waitFiveLoaded as P } from "../shared-utils/five/fiveLoaded.js";
|
|
29
|
+
import { Controller as P } from "../base/BasePluginWithData.js";
|
|
30
|
+
import { equal as $ } from "../shared-utils/equal.js";
|
|
31
|
+
import { GuideLineItem as k } from "./GuideLineItem/index.js";
|
|
32
|
+
import x from "../CruisePlugin/Controller.js";
|
|
33
|
+
import { objectAssignDeepExports as S } from "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
34
|
+
import * as T from "three";
|
|
36
35
|
import "../base/BasePlugin.js";
|
|
37
36
|
import "../shared-utils/Subscribe.js";
|
|
38
37
|
import "hammerjs";
|
|
@@ -175,6 +174,7 @@ import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
|
175
174
|
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
176
175
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
177
176
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
177
|
+
import "../PanoTagPlugin/Components/Tag/PanoramaTag.js";
|
|
178
178
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
179
179
|
import "../vendor/classnames/index.js";
|
|
180
180
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
@@ -189,38 +189,37 @@ import "./utils/index.js";
|
|
|
189
189
|
import "../shared-utils/to.js";
|
|
190
190
|
import "../shared-utils/five/changeMode.js";
|
|
191
191
|
import "../shared-utils/nearlyEqual.js";
|
|
192
|
-
import "../CruisePlugin/Work.js";
|
|
193
192
|
import "./index.js";
|
|
194
193
|
import "./Controller.js";
|
|
195
194
|
import "../CruisePlugin/utils/coordinatesAngle.js";
|
|
196
195
|
import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
197
196
|
import "../CruisePlugin/utils/safeCall.js";
|
|
197
|
+
import "../CruisePlugin/utils/vectorToCoordinates.js";
|
|
198
|
+
import "../CruisePlugin/utils/formatRad.js";
|
|
199
|
+
import "../CruisePlugin/utils/linerValue.js";
|
|
198
200
|
import "../CruisePlugin/utils/sleep.js";
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
import "../CruisePlugin/CruiseController.js";
|
|
202
|
-
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
203
|
-
const b = "GuideLinePlugin", g = `${b}`, Xr = (s) => `${g}--${s}`;
|
|
204
|
-
class Yr extends x {
|
|
201
|
+
const V = "v1.1.0", b = "GuideLinePlugin", g = `${b}@${V}`, Kr = (s) => `${g}--${s}`;
|
|
202
|
+
class Qr extends P {
|
|
205
203
|
constructor(t, i) {
|
|
206
204
|
super(t, i);
|
|
207
|
-
|
|
208
|
-
|
|
205
|
+
d(this, "version", V);
|
|
206
|
+
d(this, "name", b);
|
|
207
|
+
d(this, "cruisePlugin");
|
|
209
208
|
/** GuideLineItem 索引 */
|
|
210
|
-
|
|
211
|
-
|
|
209
|
+
d(this, "itemMap", /* @__PURE__ */ new Map());
|
|
210
|
+
d(this, "state", {
|
|
212
211
|
visible: !1,
|
|
213
212
|
enabled: !0
|
|
214
213
|
});
|
|
215
|
-
|
|
214
|
+
d(this, "data");
|
|
216
215
|
/** 当新增一根线时,整体高度的偏移值 */
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
216
|
+
d(this, "heightOffset", 0);
|
|
217
|
+
d(this, "_config");
|
|
218
|
+
d(this, "_disposed", !1);
|
|
219
|
+
d(this, "disposedErrorLog", () => {
|
|
221
220
|
console.error(`${g} is disposed`);
|
|
222
221
|
});
|
|
223
|
-
this._config = i != null ? i : {}, this.cruisePlugin = new
|
|
222
|
+
this._config = i != null ? i : {}, this.cruisePlugin = new x(t, { useGuideLine: !1 }), Object.assign(window, { [`__${b}_DEBUG__`]: this });
|
|
224
223
|
}
|
|
225
224
|
get config() {
|
|
226
225
|
return this._config;
|
|
@@ -230,7 +229,7 @@ class Yr extends x {
|
|
|
230
229
|
}
|
|
231
230
|
load(t, i, a = !0) {
|
|
232
231
|
return u(this, null, function* () {
|
|
233
|
-
var v,
|
|
232
|
+
var v, w, I, E, y, L, D;
|
|
234
233
|
if (this.disposed)
|
|
235
234
|
return;
|
|
236
235
|
const m = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, e = yield this.formatData(t);
|
|
@@ -239,14 +238,14 @@ class Yr extends x {
|
|
|
239
238
|
panorama_style: {
|
|
240
239
|
visible: !!(!e.lines && e.routes),
|
|
241
240
|
unit_length: (v = r == null ? void 0 : r.unitHeight) != null ? v : 0.4,
|
|
242
|
-
width: (
|
|
243
|
-
texture: { url: (
|
|
241
|
+
width: (w = r == null ? void 0 : r.unitWidth) != null ? w : 0.6,
|
|
242
|
+
texture: { url: (I = r == null ? void 0 : r.arrowTextureUrl) != null ? I : this.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }
|
|
244
243
|
}
|
|
245
|
-
},
|
|
244
|
+
}, h = (y = (E = e.routes) == null ? void 0 : E.map((l) => {
|
|
246
245
|
var _;
|
|
247
|
-
return
|
|
248
|
-
})) != null ? y : [],
|
|
249
|
-
yield
|
|
246
|
+
return S({}, n, { id: (_ = l.id) != null ? _ : Date.now(), pano_group: l.panoIndexList });
|
|
247
|
+
})) != null ? y : [], A = (D = (L = e.lines) == null ? void 0 : L.map((l) => S({}, n, l))) != null ? D : [], C = [...h, ...A];
|
|
248
|
+
yield this.waitFiveLoaded(), this.clear(), C.forEach((l) => {
|
|
250
249
|
this.addGuideLineItem(l);
|
|
251
250
|
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: a }), this.hooks.emit("dataLoaded", e), console.debug(`${g} loaded`, e);
|
|
252
251
|
});
|
|
@@ -285,13 +284,13 @@ class Yr extends x {
|
|
|
285
284
|
if (this.disposed)
|
|
286
285
|
return this.disposedErrorLog();
|
|
287
286
|
const a = f({}, this.state);
|
|
288
|
-
this.state = f(f({}, this.state), t), t.visible !== void 0 && t.visible !== a.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== a.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction),
|
|
287
|
+
this.state = f(f({}, this.state), t), t.visible !== void 0 && t.visible !== a.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== a.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), $(a, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: a, userAction: (m = i == null ? void 0 : i.userAction) != null ? m : !0 }), this.five.needsRender = !0);
|
|
289
288
|
}
|
|
290
289
|
/** 添加一个 GuideLineItem */
|
|
291
290
|
addGuideLineItem(t) {
|
|
292
291
|
const i = t.render_id || t.id, a = this.itemMap.get(i);
|
|
293
292
|
a && this.removeGuideLineItem(a);
|
|
294
|
-
const m = new
|
|
293
|
+
const m = new k({ five: this.five, id: i, plugin: this });
|
|
295
294
|
return this.itemMap.set(i, m), t && m.setData(t), this.heightOffset += 1e-4, m.modelItem.setHeightOffset(this.heightOffset), m.panoramaItem.setHeightOffset(this.heightOffset), m;
|
|
296
295
|
}
|
|
297
296
|
/** 获取 Plugin 内的 GuideLineItem */
|
|
@@ -309,21 +308,21 @@ class Yr extends x {
|
|
|
309
308
|
return Array.isArray(e) && e.every((r) => typeof r == "number");
|
|
310
309
|
}
|
|
311
310
|
function a(e, r) {
|
|
312
|
-
return new
|
|
311
|
+
return new T.Vector3().fromArray(e).distanceTo(new T.Vector3().fromArray(r)) < 0.01;
|
|
313
312
|
}
|
|
314
313
|
function m(e) {
|
|
315
314
|
var p;
|
|
316
315
|
const r = (p = e.tag) == null ? void 0 : p.position;
|
|
317
316
|
return i(r) ? t.every((n) => {
|
|
318
|
-
var
|
|
319
|
-
return i((
|
|
317
|
+
var h;
|
|
318
|
+
return i((h = n.tag) == null ? void 0 : h.position) ? !a(r, n.tag.position) : !0;
|
|
320
319
|
}) : !1;
|
|
321
320
|
}
|
|
322
321
|
this.itemMap.forEach((e) => {
|
|
323
322
|
const r = e.modelItem.startTagContainer, p = e.modelItem.endTagContainer, n = m(r);
|
|
324
323
|
n && t.push(r), r.plugin.setState({ enabled: n }, {});
|
|
325
|
-
const
|
|
326
|
-
|
|
324
|
+
const h = m(p);
|
|
325
|
+
h && t.push(p), p.plugin.setState({ enabled: h }, {});
|
|
327
326
|
});
|
|
328
327
|
}
|
|
329
328
|
/** 清空所有 GuideLineItem */
|
|
@@ -338,11 +337,27 @@ class Yr extends x {
|
|
|
338
337
|
handleVisible(t, i = !0) {
|
|
339
338
|
this.state.enabled && this.hooks.emit(t ? "show" : "hide", { userAction: i });
|
|
340
339
|
}
|
|
340
|
+
/**
|
|
341
|
+
* @description: Wait for five model ready
|
|
342
|
+
*/
|
|
343
|
+
waitFiveLoaded() {
|
|
344
|
+
return u(this, null, function* () {
|
|
345
|
+
return new Promise((t) => {
|
|
346
|
+
if (this.five.work) {
|
|
347
|
+
t();
|
|
348
|
+
return;
|
|
349
|
+
}
|
|
350
|
+
this.five.once("loaded", () => {
|
|
351
|
+
t();
|
|
352
|
+
});
|
|
353
|
+
});
|
|
354
|
+
});
|
|
355
|
+
}
|
|
341
356
|
getDataWithoutVersion(t) {
|
|
342
357
|
return typeof t == "object" && t !== null && t.version && t.data ? t.data : t;
|
|
343
358
|
}
|
|
344
359
|
}
|
|
345
360
|
export {
|
|
346
|
-
|
|
347
|
-
|
|
361
|
+
Qr as default,
|
|
362
|
+
Kr as pluginFlag
|
|
348
363
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
1
|
+
var v = Object.defineProperty;
|
|
2
2
|
var w = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var S = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var d = (o, e, t) => e in o ? v(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, c = (o, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
|
-
|
|
6
|
+
S.call(e, t) && d(o, t, e[t]);
|
|
7
7
|
if (w)
|
|
8
8
|
for (var t of w(e))
|
|
9
|
-
b.call(e, t) &&
|
|
9
|
+
b.call(e, t) && d(o, t, e[t]);
|
|
10
10
|
return o;
|
|
11
11
|
};
|
|
12
|
-
var s = (o, e, t) => (
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
var s = (o, e, t) => (d(o, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
+
var g = (o, e, t) => new Promise((n, i) => {
|
|
14
|
+
var p = (r) => {
|
|
15
15
|
try {
|
|
16
16
|
a(t.next(r));
|
|
17
17
|
} catch (m) {
|
|
@@ -23,16 +23,15 @@ var d = (o, e, t) => new Promise((n, i) => {
|
|
|
23
23
|
} catch (m) {
|
|
24
24
|
i(m);
|
|
25
25
|
}
|
|
26
|
-
}, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(
|
|
26
|
+
}, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(p, l);
|
|
27
27
|
a((t = t.apply(o, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { GuideLineModeItem as
|
|
30
|
-
import
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import P from "../../
|
|
35
|
-
import M from "../../CruisePlugin/Work.js";
|
|
29
|
+
import { GuideLineModeItem as y } from "../GuideLineModeItem/index.js";
|
|
30
|
+
import x from "../../CruisePlugin/Controller.js";
|
|
31
|
+
import { logError as G } from "../../shared-utils/log.js";
|
|
32
|
+
import { to as L } from "../../shared-utils/to.js";
|
|
33
|
+
import { Subscribe as k } from "@realsee/five";
|
|
34
|
+
import { changeMode as P } from "../../shared-utils/five/changeMode.js";
|
|
36
35
|
class C {
|
|
37
36
|
constructor(e) {
|
|
38
37
|
s(this, "id");
|
|
@@ -40,12 +39,12 @@ class C {
|
|
|
40
39
|
s(this, "isGuideLine", !0);
|
|
41
40
|
s(this, "panoramaItem");
|
|
42
41
|
s(this, "modelItem");
|
|
43
|
-
s(this, "hooks", new
|
|
42
|
+
s(this, "hooks", new k());
|
|
44
43
|
s(this, "_visible", !0);
|
|
45
44
|
s(this, "plugin");
|
|
46
45
|
s(this, "five");
|
|
47
|
-
s(this, "logError", (e) =>
|
|
48
|
-
this.id = e.id, this.five = e.five, this.plugin = e.plugin, this.panoramaItem = new
|
|
46
|
+
s(this, "logError", (e) => G("GuideLineItem: ", e));
|
|
47
|
+
this.id = e.id, this.five = e.five, this.plugin = e.plugin, this.panoramaItem = new y(this.five, { mode: "panorama", plugin: this.plugin, parent: this }), this.modelItem = new y(this.five, { mode: "model", plugin: this.plugin, parent: this });
|
|
49
48
|
}
|
|
50
49
|
get visible() {
|
|
51
50
|
return this._visible;
|
|
@@ -55,12 +54,12 @@ class C {
|
|
|
55
54
|
}
|
|
56
55
|
setDataByMode(e, t) {
|
|
57
56
|
var m;
|
|
58
|
-
const n = e === "panorama" ? this.panoramaItem : this.modelItem, i = e === "panorama" ? t.panorama_style : t.model_style,
|
|
57
|
+
const n = e === "panorama" ? this.panoramaItem : this.modelItem, i = e === "panorama" ? t.panorama_style : t.model_style, p = t.path, l = i, a = i, r = i;
|
|
59
58
|
if (t.pano_group) {
|
|
60
59
|
const h = e === "panorama";
|
|
61
|
-
n.setGeometryByPanoGroup(t.pano_group,
|
|
60
|
+
n.setGeometryByPanoGroup(t.pano_group, c({ skipPanoGroup: h }, l));
|
|
62
61
|
} else
|
|
63
|
-
t.path && n.setGeometryByPath(
|
|
62
|
+
t.path && n.setGeometryByPath(p, l);
|
|
64
63
|
n.name = t.name, n.setMeshStyle(r), n.setMartial(a), n.setVisibleFloorIndexes((m = t.visible_floor_indexes) != null ? m : null), n.setStartTag(i == null ? void 0 : i.start_tag), n.setEndTag(i == null ? void 0 : i.end_tag);
|
|
65
64
|
}
|
|
66
65
|
show() {
|
|
@@ -73,53 +72,44 @@ class C {
|
|
|
73
72
|
this.panoramaItem.dispose(), this.modelItem.dispose();
|
|
74
73
|
}
|
|
75
74
|
walk(e) {
|
|
76
|
-
return
|
|
77
|
-
if (
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
return this.logError(n.message);
|
|
85
|
-
}
|
|
86
|
-
this.hooks.emit("walkEnded", { userAction: !0 });
|
|
75
|
+
return g(this, null, function* () {
|
|
76
|
+
if (!this.panoramaItem.panoGroup)
|
|
77
|
+
return;
|
|
78
|
+
const t = c({ panoIndexList: this.panoramaItem.panoGroup }, e);
|
|
79
|
+
this.hooks.emit("walkStart", { userAction: !0 });
|
|
80
|
+
const [n] = yield L(M(this.five, t));
|
|
81
|
+
if (this.hooks.emit("walkEnded", { userAction: !0 }), n)
|
|
82
|
+
return this.logError(n.message);
|
|
87
83
|
});
|
|
88
84
|
}
|
|
89
85
|
}
|
|
90
|
-
function
|
|
91
|
-
return
|
|
92
|
-
const t = new P(o);
|
|
93
|
-
yield t.load(e), yield t.playFromStart();
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
function A(o, e) {
|
|
97
|
-
return d(this, null, function* () {
|
|
86
|
+
function M(o, e) {
|
|
87
|
+
return g(this, null, function* () {
|
|
98
88
|
if (e.panoIndexList.length === 0)
|
|
99
89
|
return;
|
|
100
90
|
const t = o.getCurrentState();
|
|
101
|
-
t.mode !== "Panorama" && (yield
|
|
102
|
-
const n = new
|
|
103
|
-
yield n.load(e), yield new Promise((i,
|
|
91
|
+
t.mode !== "Panorama" && (yield P(o, ["Panorama", { longitude: t.longitude, latitude: 0, panoIndex: e.panoIndexList[0] }]));
|
|
92
|
+
const n = new x(o, { useGuideLine: !1 });
|
|
93
|
+
yield n.load(e), yield new Promise((i, p) => {
|
|
104
94
|
const l = o.getCurrentState();
|
|
105
95
|
let a = e.panoIndexList.slice();
|
|
106
96
|
l.panoIndex === a[0] && m(l.panoIndex), n.playFromStart();
|
|
107
|
-
function r(
|
|
108
|
-
if (
|
|
97
|
+
function r(u) {
|
|
98
|
+
if (u !== "Panorama")
|
|
109
99
|
return f(new Error("mode not match"));
|
|
110
100
|
}
|
|
111
|
-
function m(
|
|
101
|
+
function m(u) {
|
|
112
102
|
const I = a[0];
|
|
113
|
-
if (a = a.slice(1),
|
|
114
|
-
return f(new Error("panoIndex not match, wanted: " + I + ", got: " +
|
|
103
|
+
if (a = a.slice(1), u !== I)
|
|
104
|
+
return f(new Error("panoIndex not match, wanted: " + I + ", got: " + u));
|
|
115
105
|
if (a.length === 0)
|
|
116
106
|
return _();
|
|
117
107
|
}
|
|
118
108
|
function h() {
|
|
119
109
|
o.off("modeChange", r), o.off("panoArrived", m);
|
|
120
110
|
}
|
|
121
|
-
function f(
|
|
122
|
-
h(), u
|
|
111
|
+
function f(u) {
|
|
112
|
+
h(), p(u);
|
|
123
113
|
}
|
|
124
114
|
function _() {
|
|
125
115
|
h(), i();
|
|
@@ -128,11 +118,11 @@ function A(o, e) {
|
|
|
128
118
|
});
|
|
129
119
|
});
|
|
130
120
|
}
|
|
131
|
-
const
|
|
121
|
+
const O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
132
122
|
__proto__: null,
|
|
133
123
|
GuideLineItem: C
|
|
134
124
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
135
125
|
export {
|
|
136
126
|
C as GuideLineItem,
|
|
137
|
-
|
|
127
|
+
O as GuideLineItem$1
|
|
138
128
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import "./GuideLineModeItem/index.js";
|
|
2
|
+
import "../CruisePlugin/Controller.js";
|
|
2
3
|
import "../shared-utils/log.js";
|
|
3
4
|
import "../shared-utils/to.js";
|
|
4
5
|
import "@realsee/five";
|
|
5
6
|
import "../shared-utils/five/changeMode.js";
|
|
6
|
-
import "
|
|
7
|
-
import "../CruisePlugin/Work.js";
|
|
8
|
-
import { GuideLineItem as Lo } from "./GuideLineItem/index.js";
|
|
7
|
+
import { GuideLineItem as Go } from "./GuideLineItem/index.js";
|
|
9
8
|
import "three";
|
|
10
9
|
import "./utils/createLineGeometry.js";
|
|
11
10
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -146,6 +145,7 @@ import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
|
146
145
|
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
147
146
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
148
147
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
148
|
+
import "../PanoTagPlugin/Components/Tag/PanoramaTag.js";
|
|
149
149
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
150
150
|
import "../vendor/classnames/index.js";
|
|
151
151
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
@@ -157,21 +157,19 @@ import "@realsee/five/gltf-loader";
|
|
|
157
157
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
158
158
|
import "./Components/Tag.js";
|
|
159
159
|
import "./utils/index.js";
|
|
160
|
-
import "../shared-utils/nearlyEqual.js";
|
|
161
|
-
import "../CruisePlugin/CruiseController.js";
|
|
162
|
-
import "../shared-utils/equal.js";
|
|
163
|
-
import "../shared-utils/isTruelyObject.js";
|
|
164
|
-
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
165
|
-
import "../shared-utils/vectorToCoordinate.js";
|
|
166
|
-
import "../shared-utils/formatRad.js";
|
|
167
160
|
import "../base/BasePluginWithData.js";
|
|
168
161
|
import "./index.js";
|
|
169
162
|
import "./Controller.js";
|
|
170
|
-
import "../shared-utils/
|
|
163
|
+
import "../shared-utils/equal.js";
|
|
164
|
+
import "../shared-utils/isTruelyObject.js";
|
|
165
|
+
import "../shared-utils/nearlyEqual.js";
|
|
171
166
|
import "../CruisePlugin/utils/coordinatesAngle.js";
|
|
172
167
|
import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
173
168
|
import "../CruisePlugin/utils/safeCall.js";
|
|
169
|
+
import "../CruisePlugin/utils/vectorToCoordinates.js";
|
|
170
|
+
import "../CruisePlugin/utils/formatRad.js";
|
|
171
|
+
import "../CruisePlugin/utils/linerValue.js";
|
|
174
172
|
import "../CruisePlugin/utils/sleep.js";
|
|
175
173
|
export {
|
|
176
|
-
|
|
174
|
+
Go as GuideLineItem
|
|
177
175
|
};
|
|
@@ -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 Xi } 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";
|
|
@@ -143,6 +143,7 @@ import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
|
143
143
|
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
144
144
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
145
145
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
146
|
+
import "../PanoTagPlugin/Components/Tag/PanoramaTag.js";
|
|
146
147
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
147
148
|
import "../vendor/classnames/index.js";
|
|
148
149
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
@@ -153,5 +154,5 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
153
154
|
import "@realsee/five/gltf-loader";
|
|
154
155
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
155
156
|
export {
|
|
156
|
-
|
|
157
|
+
Xi as GuideLineModeItem
|
|
157
158
|
};
|
|
@@ -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 st } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as xt } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -26,14 +26,16 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
26
26
|
import "../shared-utils/url/absoluteUrl.js";
|
|
27
27
|
import "../shared-utils/equal.js";
|
|
28
28
|
import "../shared-utils/isTruelyObject.js";
|
|
29
|
-
import "../CruisePlugin/
|
|
30
|
-
import "
|
|
31
|
-
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
29
|
+
import "../CruisePlugin/Controller.js";
|
|
30
|
+
import "./index.js";
|
|
32
31
|
import "../shared-utils/uuid.js";
|
|
33
|
-
import "../CruisePlugin/utils/
|
|
34
|
-
import "../
|
|
35
|
-
import "../
|
|
36
|
-
import "../
|
|
32
|
+
import "../CruisePlugin/utils/coordinatesAngle.js";
|
|
33
|
+
import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
34
|
+
import "../CruisePlugin/utils/safeCall.js";
|
|
35
|
+
import "../CruisePlugin/utils/vectorToCoordinates.js";
|
|
36
|
+
import "../CruisePlugin/utils/formatRad.js";
|
|
37
|
+
import "../CruisePlugin/utils/linerValue.js";
|
|
38
|
+
import "../CruisePlugin/utils/sleep.js";
|
|
37
39
|
import "../shared-utils/log.js";
|
|
38
40
|
import "./utils/createLineGeometry.js";
|
|
39
41
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -48,6 +50,7 @@ import "../shared-utils/animationFrame/BetterTween.js";
|
|
|
48
50
|
import "../shared-utils/animationFrame/index.js";
|
|
49
51
|
import "../shared-utils/three/loadTexture.js";
|
|
50
52
|
import "../PanoTagPlugin/controller/index.js";
|
|
53
|
+
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
51
54
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
52
55
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
53
56
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
@@ -152,6 +155,7 @@ import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
|
152
155
|
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
153
156
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
154
157
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
158
|
+
import "../PanoTagPlugin/Components/Tag/PanoramaTag.js";
|
|
155
159
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
156
160
|
import "../vendor/classnames/index.js";
|
|
157
161
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
@@ -166,16 +170,10 @@ import "./utils/index.js";
|
|
|
166
170
|
import "../shared-utils/to.js";
|
|
167
171
|
import "../shared-utils/five/changeMode.js";
|
|
168
172
|
import "../shared-utils/nearlyEqual.js";
|
|
169
|
-
|
|
170
|
-
import "./index.js";
|
|
171
|
-
import "../CruisePlugin/utils/coordinatesAngle.js";
|
|
172
|
-
import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
173
|
-
import "../CruisePlugin/utils/safeCall.js";
|
|
174
|
-
import "../CruisePlugin/utils/sleep.js";
|
|
175
|
-
const lt = (i, o) => new t(i, o);
|
|
173
|
+
const at = (i, o) => new t(i, o);
|
|
176
174
|
export {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
175
|
+
st as GuideLineItem,
|
|
176
|
+
xt as GuideLineModeItem,
|
|
177
|
+
at as GuideLinePlugin,
|
|
178
|
+
at as default
|
|
181
179
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var i = /* @__PURE__ */ ((a) => (a.PointTag = "PointTag", a.PlaneTag = "PlaneTag", a))(i || {}), r = /* @__PURE__ */ ((a) => (a.Audio = "Audio", a.Text = "Text", a.ImageText = "ImageText", a.Image = "Image", a.Video = "Video", a.Link = "Link", a.Sticker = "Sticker", a.VRLink = "VRLink", a.PanoLink = "PanoLink", a.Marketing = "Marketing", a.MediaPlane = "MediaPlane", a.MediaModel = "MediaModel", a.Model = "Model", a.Custom = "Custom", a.Unknown = "Unknown", a))(r || {}), d = /* @__PURE__ */ ((a) => (a.Two = "2D", a.Three = "3D", a))(d || {});
|
|
1
|
+
var i = /* @__PURE__ */ ((a) => (a.PointTag = "PointTag", a.PlaneTag = "PlaneTag", a))(i || {}), r = /* @__PURE__ */ ((a) => (a.Audio = "Audio", a.Text = "Text", a.ImageText = "ImageText", a.Image = "Image", a.Video = "Video", a.Link = "Link", a.Sticker = "Sticker", a.VRLink = "VRLink", a.PanoLink = "PanoLink", a.Marketing = "Marketing", a.MediaPlane = "MediaPlane", a.MediaModel = "MediaModel", a.Model = "Model", a.Panorama = "Panorama", a.Custom = "Custom", a.Unknown = "Unknown", a))(r || {}), d = /* @__PURE__ */ ((a) => (a.Two = "2D", a.Three = "3D", a))(d || {});
|
|
2
2
|
export {
|
|
3
3
|
r as ContentType,
|
|
4
4
|
d as DimensionType,
|