@realsee/dnalogel 3.4.0-dev.2 → 3.4.0-tag-dev.0
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 +53 -53
- package/dist/index.js +4491 -4556
- package/dist/index.umd.js +46 -46
- 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/Tag/PanoramaTag.js +96 -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
package/libs/index.js
CHANGED
|
@@ -3,58 +3,57 @@ import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
|
3
3
|
import { PaintBrush as qp } from "./components/PaintBrush/index.js";
|
|
4
4
|
import { PaintBrushTypeEnum as Jp } from "./components/PaintBrush/typings.js";
|
|
5
5
|
import { ModelViewPlugin as Qp } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
6
|
+
import { CSS3DRenderPlugin as Xp } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as oe } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as te, modelRoomLabelPluginServerParams as ie } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as pe } from "./floorplan/constant.js";
|
|
10
10
|
import { ModelFloorplanPlugin as ne } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
11
|
+
import { MapviewFloorplanPlugin as ae } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
12
|
import { TopviewFloorplanPlugin as ue } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
13
|
+
import { PanoFloorplanRadarPlugin as xe } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as se, ROOM_FETILE_TYPE_MAP as de, ROOM_TYPE_MAP as Me } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Le } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as _e } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as Ie } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Oe, Rotation as ye } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as Se } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as Ge } from "./PanoRulerProPlugin/index.js";
|
|
21
21
|
import { PanoCompassPlugin as Fe } from "./PanoCompassPlugin/index.js";
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import { PanoSpatialTagPlugin as
|
|
24
|
-
import { modelItemLabelPluginServerParams as
|
|
25
|
-
import { ModelTVVideoPlugin as
|
|
26
|
-
import { DIRECTION as
|
|
22
|
+
import { PanoMeasurePlugin as ve } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as Ve } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as he } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as Be } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Ue } from "./ModelTVVideoPlugin/typings.js";
|
|
27
27
|
import { itemLabelPluginServerParams as $e } from "./ItemLabelPlugin/index.js";
|
|
28
28
|
import { PanoDoorLabelPlugin as qe } from "./PanoDoorLabelPlugin/index.js";
|
|
29
29
|
import { GuideLinePlugin as Je } from "./GuideLinePlugin/index.js";
|
|
30
30
|
import { CruisePlugin as Qe } from "./CruisePlugin/index.js";
|
|
31
|
-
import { PanoTagPlugin as
|
|
32
|
-
import { Object3DHelperPlugin as
|
|
33
|
-
import { PanoVideoPlugin as
|
|
34
|
-
import { PipelinePlugin as
|
|
35
|
-
import { AreaMakerPlugin as
|
|
36
|
-
import { CurrentPanoImagePlugin as
|
|
37
|
-
import { index as
|
|
38
|
-
import { CSS3DRender as
|
|
39
|
-
import { Model as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { Polyline as
|
|
43
|
-
import { default as
|
|
44
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
45
|
-
import { ModelItemLabelPlugin as
|
|
46
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
47
|
-
import { Plugin as
|
|
48
|
-
import { GuideLineItem$1 as
|
|
49
|
-
import { GuideLineModeItem$1 as
|
|
50
|
-
import { default as
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import { typings as tn } from "./PanoVideoPlugin/typings/index.js";
|
|
31
|
+
import { PanoTagPlugin as Xe } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as on } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as tn } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as pn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as nn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as an } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { index as un } from "./shared-utils/index.js";
|
|
38
|
+
import { CSS3DRender as xn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
39
|
+
import { Model as sn } from "./PanoMeasurePlugin/Model/index.js";
|
|
40
|
+
import { default as Mn } from "./PanoMeasurePlugin/Model/point.js";
|
|
41
|
+
import { default as Ln } from "./PanoMeasurePlugin/Model/line.js";
|
|
42
|
+
import { Polyline as _n } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
43
|
+
import { default as In } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
44
|
+
import { DISPLAY_STRATEGY_TYPE as On } from "./ModelItemLabelPlugin/typings.js";
|
|
45
|
+
import { ModelItemLabelPlugin as An } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
46
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Dn } from "./ItemLabelPlugin/typings.js";
|
|
47
|
+
import { Plugin as bn } from "./ItemLabelPlugin/Plugin.js";
|
|
48
|
+
import { GuideLineItem$1 as Yn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
49
|
+
import { GuideLineModeItem$1 as cn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
50
|
+
import { default as Nn } from "./CruisePlugin/Controller.js";
|
|
51
|
+
import { typing as wn } from "./CruisePlugin/typing/index.js";
|
|
52
|
+
import { default as Hn, pluginFlag as Un } from "./PanoTagPlugin/controller/index.js";
|
|
53
|
+
import { defaultGlobalConfig as $n } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
54
|
+
import { ContentType as qn, DimensionType as zn, PointType as Jn } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
55
|
+
import { Object3DHelperController as Qn, PLUGIN as Wn } from "./Object3DHelperPlugin/Controller.js";
|
|
56
|
+
import { typings as Zn } from "./PanoVideoPlugin/typings/index.js";
|
|
58
57
|
import "./components/PaintBrush/Controller.js";
|
|
59
58
|
import "./components/PaintBrush/utils.js";
|
|
60
59
|
import "./components/PaintBrush/tween.js";
|
|
@@ -248,7 +247,6 @@ import "./PanoDoorLabelPlugin/BaseController.js";
|
|
|
248
247
|
import "./PanoDoorLabelPlugin/DoorLabelItem.js";
|
|
249
248
|
import "./PanoDoorLabelPlugin/utils.js";
|
|
250
249
|
import "./GuideLinePlugin/Controller.js";
|
|
251
|
-
import "./shared-utils/five/fiveLoaded.js";
|
|
252
250
|
import "./shared-utils/log.js";
|
|
253
251
|
import "./GuideLinePlugin/utils/createLineGeometry.js";
|
|
254
252
|
import "./vendor/polyline-normals/index.js";
|
|
@@ -353,6 +351,7 @@ import "./PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
|
353
351
|
import "./PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
354
352
|
import "./PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
355
353
|
import "./PanoTagPlugin/utils/getImageInfo.js";
|
|
354
|
+
import "./PanoTagPlugin/Components/Tag/PanoramaTag.js";
|
|
356
355
|
import "./PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
357
356
|
import "./PanoTagPlugin/Components/Common/TagPoint.js";
|
|
358
357
|
import "./shared-utils/three/GLTFLoader.js";
|
|
@@ -363,11 +362,10 @@ import "./GuideLinePlugin/utils/index.js";
|
|
|
363
362
|
import "./CruisePlugin/utils/coordinatesAngle.js";
|
|
364
363
|
import "./CruisePlugin/utils/coordinatesToVector.js";
|
|
365
364
|
import "./CruisePlugin/utils/safeCall.js";
|
|
365
|
+
import "./CruisePlugin/utils/vectorToCoordinates.js";
|
|
366
|
+
import "./CruisePlugin/utils/formatRad.js";
|
|
367
|
+
import "./CruisePlugin/utils/linerValue.js";
|
|
366
368
|
import "./CruisePlugin/utils/sleep.js";
|
|
367
|
-
import "./shared-utils/vectorToCoordinate.js";
|
|
368
|
-
import "./shared-utils/formatRad.js";
|
|
369
|
-
import "./CruisePlugin/CruiseController.js";
|
|
370
|
-
import "./CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
371
369
|
import "./shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
372
370
|
import "./shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
373
371
|
import "./shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
@@ -422,68 +420,66 @@ import "./shared-utils/three/getRaycaster.js";
|
|
|
422
420
|
r();
|
|
423
421
|
o();
|
|
424
422
|
export {
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
423
|
+
nn as AreaMakerPlugin,
|
|
424
|
+
xn as CSS3DRender,
|
|
425
|
+
Xp as CSS3DRenderPlugin,
|
|
426
|
+
Oe as CameraMovementEffect,
|
|
427
|
+
Ie as CameraMovementPlugin,
|
|
428
|
+
qn as ContentType,
|
|
431
429
|
Qe as CruisePlugin,
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
430
|
+
Nn as CruisePluginController,
|
|
431
|
+
wn as CruisePluginTypes,
|
|
432
|
+
an as CurrentPanoImagePlugin,
|
|
433
|
+
Ue as DIRECTION,
|
|
434
|
+
On as DISPLAY_STRATEGY_TYPE,
|
|
435
|
+
zn as DimensionType,
|
|
436
|
+
pe as FLOOR_PLAN_ATTACHED_TO,
|
|
437
|
+
se as FLOOR_TYPE_MAP,
|
|
438
|
+
Yn as GuideLineItem,
|
|
439
|
+
cn as GuideLineModeItem,
|
|
442
440
|
Je as GuideLinePlugin,
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
441
|
+
Dn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
442
|
+
bn as ItemLabelPlugin,
|
|
443
|
+
In as Magnifier,
|
|
444
|
+
ae as MapviewFloorplanPlugin,
|
|
445
|
+
Le as ModelChassisCompassPlugin,
|
|
446
|
+
_e as ModelEntryDoorGuidePlugin,
|
|
449
447
|
ne as ModelFloorplanPlugin,
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
448
|
+
An as ModelItemLabelPlugin,
|
|
449
|
+
te as ModelRoomLabelPlugin,
|
|
450
|
+
Be as ModelTVVideoPlugin,
|
|
453
451
|
Qp as ModelViewPlugin,
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
on as PLUGIN,
|
|
452
|
+
Qn as Object3DHelperController,
|
|
453
|
+
on as Object3DHelperPlugin,
|
|
454
|
+
Wn as PLUGIN,
|
|
458
455
|
qp as PaintBrush,
|
|
459
456
|
Jp as PaintBrushTypeEnum,
|
|
460
457
|
Fe as PanoCompassPlugin,
|
|
461
|
-
|
|
458
|
+
oe as PanoCursorRaycasterPlugin,
|
|
462
459
|
qe as PanoDoorLabelPlugin,
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
460
|
+
xe as PanoFloorplanRadarPlugin,
|
|
461
|
+
ve as PanoMeasurePlugin,
|
|
462
|
+
Ln as PanoMeasurePluginLine,
|
|
463
|
+
sn as PanoMeasurePluginModel,
|
|
464
|
+
Mn as PanoMeasurePluginPoint,
|
|
465
|
+
_n as PanoMeasurePluginPolyline,
|
|
466
|
+
Se as PanoRulerPlugin,
|
|
467
|
+
Ge as PanoRulerProPlugin,
|
|
468
|
+
Ve as PanoSpatialTagPlugin,
|
|
469
|
+
Xe as PanoTagPlugin,
|
|
470
|
+
Hn as PanoTagPluginController,
|
|
471
|
+
tn as PanoVideoPlugin,
|
|
472
|
+
Zn as PanoVideoPluginType,
|
|
473
|
+
pn as PipelinePlugin,
|
|
474
|
+
Jn as PointType,
|
|
475
|
+
de as ROOM_FETILE_TYPE_MAP,
|
|
476
|
+
Me as ROOM_TYPE_MAP,
|
|
477
|
+
ye as Rotation,
|
|
481
478
|
ue as TopviewFloorplanPlugin,
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
ql as defaultGlobalConfig,
|
|
479
|
+
un as Util,
|
|
480
|
+
$n as defaultGlobalConfig,
|
|
485
481
|
$e as itemLabelPluginServerParams,
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
482
|
+
he as modelItemLabelPluginServerParams,
|
|
483
|
+
ie as modelRoomLabelPluginServerParams,
|
|
484
|
+
Un as pluginFlag
|
|
489
485
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.4.0-dev.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.4.0-tag-dev.0",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "3.4.0-dev.
|
|
10
|
+
"version": "3.4.0-tag-dev.0",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"svelte-carousel": "1.0.25",
|
|
73
73
|
"svelte-preprocess": "^5.0.4",
|
|
74
74
|
"three": "0.117.1",
|
|
75
|
-
"type-fest": "
|
|
75
|
+
"type-fest": "3.11.0",
|
|
76
76
|
"typedoc": "^0.24.8",
|
|
77
77
|
"typescript": "^5.1.6",
|
|
78
78
|
"vite": "4.3.2",
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import type { Five, State } from '@realsee/five';
|
|
2
|
-
import type { BaseOptions } from '../base/BasePlugin';
|
|
3
|
-
import * as BasePlugin from '../base/BasePlugin';
|
|
4
|
-
import type { PluginState, EventMap } from './typing';
|
|
5
|
-
import type { PartialDeep } from 'type-fest';
|
|
6
|
-
export declare const pluginFlag: (name: string) => string;
|
|
7
|
-
export default abstract class CruiseController<PluginData, Config = unknown> extends BasePlugin.Controller<PluginState, EventMap> {
|
|
8
|
-
state: PluginState;
|
|
9
|
-
protected data?: PluginData & {
|
|
10
|
-
id: string | number;
|
|
11
|
-
};
|
|
12
|
-
protected config?: Config;
|
|
13
|
-
private privateState;
|
|
14
|
-
private GuideLine?;
|
|
15
|
-
constructor(five: Five, config?: Config);
|
|
16
|
-
/**
|
|
17
|
-
* @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
|
|
18
|
-
*/
|
|
19
|
-
play(options?: {
|
|
20
|
-
userAction?: boolean;
|
|
21
|
-
}): void;
|
|
22
|
-
/**
|
|
23
|
-
* @description Pause
|
|
24
|
-
*/
|
|
25
|
-
pause(options?: {
|
|
26
|
-
userAction?: boolean;
|
|
27
|
-
}): void;
|
|
28
|
-
/**
|
|
29
|
-
* @description Show guide line
|
|
30
|
-
*/
|
|
31
|
-
show(options?: {
|
|
32
|
-
userAction?: boolean;
|
|
33
|
-
}): Promise<void>;
|
|
34
|
-
/**
|
|
35
|
-
* @description Hide guide line
|
|
36
|
-
*/
|
|
37
|
-
hide(options?: {
|
|
38
|
-
userAction?: boolean;
|
|
39
|
-
}): Promise<void>;
|
|
40
|
-
/**
|
|
41
|
-
* @description Enable
|
|
42
|
-
*/
|
|
43
|
-
enable(options?: {
|
|
44
|
-
userAction?: boolean;
|
|
45
|
-
}): void;
|
|
46
|
-
/**
|
|
47
|
-
* @description Disable
|
|
48
|
-
*/
|
|
49
|
-
disable(options?: {
|
|
50
|
-
userAction?: boolean;
|
|
51
|
-
}): void;
|
|
52
|
-
/**
|
|
53
|
-
* @description Dispose
|
|
54
|
-
*/
|
|
55
|
-
dispose(): void;
|
|
56
|
-
/**
|
|
57
|
-
* @description Set state
|
|
58
|
-
*/
|
|
59
|
-
setState(state: PartialDeep<PluginState>, options?: BaseOptions & Record<string, any>): void;
|
|
60
|
-
/**
|
|
61
|
-
* @description Clear pause data
|
|
62
|
-
*/
|
|
63
|
-
protected clearPauseData(): boolean;
|
|
64
|
-
protected changePlayState(play: boolean, options?: {
|
|
65
|
-
userAction?: boolean;
|
|
66
|
-
playFromIndex?: number;
|
|
67
|
-
playFromId?: string;
|
|
68
|
-
}): void;
|
|
69
|
-
protected handleEnable(enabled: boolean, userAction?: boolean): void;
|
|
70
|
-
protected handleVisible(visible: boolean, userAction?: boolean): void;
|
|
71
|
-
/**
|
|
72
|
-
* @description: listen interupted by five gesture
|
|
73
|
-
*/
|
|
74
|
-
protected addInterruptListener(interrupt: () => void): () => void;
|
|
75
|
-
/**
|
|
76
|
-
* @description Get duration by speed
|
|
77
|
-
*/
|
|
78
|
-
protected getSpeededDuration(duration: number): number;
|
|
79
|
-
/**
|
|
80
|
-
* @description Change five mode
|
|
81
|
-
*/
|
|
82
|
-
protected changeMode(data: Partial<State>, duration?: number): Promise<void>;
|
|
83
|
-
/**
|
|
84
|
-
* @description Force interupt five updateCamera
|
|
85
|
-
*/
|
|
86
|
-
protected forceInteruptUpdateCamera(): void;
|
|
87
|
-
protected getPauseData(): {
|
|
88
|
-
fiveState: Partial<State>;
|
|
89
|
-
id?: string | number;
|
|
90
|
-
playedProgress: number;
|
|
91
|
-
duration?: number;
|
|
92
|
-
};
|
|
93
|
-
/**
|
|
94
|
-
* @description Set pause data
|
|
95
|
-
*/
|
|
96
|
-
protected setPauseData(): Map<string | number, {
|
|
97
|
-
fiveState: Partial<State>;
|
|
98
|
-
id?: string | number;
|
|
99
|
-
playedProgress: number;
|
|
100
|
-
duration?: number;
|
|
101
|
-
}>;
|
|
102
|
-
/**
|
|
103
|
-
* @description: Restore state that before loaded
|
|
104
|
-
*/
|
|
105
|
-
protected clear(): void;
|
|
106
|
-
protected handleDispose(): void;
|
|
107
|
-
/**
|
|
108
|
-
* @description Action function if plugin is enable
|
|
109
|
-
*/
|
|
110
|
-
protected actionIfStateIsEnabled<T = any>(func: () => T, options?: {
|
|
111
|
-
warnLog?: true;
|
|
112
|
-
}): T;
|
|
113
|
-
/**
|
|
114
|
-
* @description Load Data and State
|
|
115
|
-
*/
|
|
116
|
-
abstract load(serverData: unknown, state?: PluginState, userAction?: boolean): Promise<void>;
|
|
117
|
-
/**
|
|
118
|
-
* @description Play from first keyframe
|
|
119
|
-
*/
|
|
120
|
-
abstract playFromStart(): void;
|
|
121
|
-
/**
|
|
122
|
-
* @description Play | Continue play. if have been paused, continue play from the pause position; if playing, do nothing
|
|
123
|
-
* @param {number} options.playFromIndex play from keyframes index
|
|
124
|
-
* @param {string} options.playFromId play from keyframes id
|
|
125
|
-
*/
|
|
126
|
-
protected abstract handlePlay(options?: {
|
|
127
|
-
userAction?: boolean;
|
|
128
|
-
playFromIndex?: number;
|
|
129
|
-
playFromId?: string;
|
|
130
|
-
notEmitEvent?: true;
|
|
131
|
-
}): Promise<string>;
|
|
132
|
-
/**
|
|
133
|
-
* @description: Change play speed
|
|
134
|
-
*/
|
|
135
|
-
protected abstract changeSpeed(speed: number): void;
|
|
136
|
-
/**
|
|
137
|
-
* @description Get ratate progress
|
|
138
|
-
*/
|
|
139
|
-
protected abstract getProgress(): number;
|
|
140
|
-
/**
|
|
141
|
-
* @description: Pause and record pause state
|
|
142
|
-
*/
|
|
143
|
-
protected abstract handlePause(options?: {
|
|
144
|
-
userAction?: boolean;
|
|
145
|
-
notEmitEvent?: true;
|
|
146
|
-
}): void;
|
|
147
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { Five } from '@realsee/five';
|
|
2
|
-
import CruiseController from './CruiseController';
|
|
3
|
-
import type { PluginState } from './typing';
|
|
4
|
-
import type { PartialDeep } from 'type-fest';
|
|
5
|
-
import type * as THREE from 'three';
|
|
6
|
-
type Data = {
|
|
7
|
-
path: THREE.CurvePath<THREE.Vector3>;
|
|
8
|
-
};
|
|
9
|
-
type Config = {
|
|
10
|
-
allowBreak?: boolean;
|
|
11
|
-
};
|
|
12
|
-
export default class MoveController extends CruiseController<Data, Config> {
|
|
13
|
-
private curve;
|
|
14
|
-
private curveOffset;
|
|
15
|
-
private playStartedTime;
|
|
16
|
-
private duration;
|
|
17
|
-
constructor(five: Five, config?: Config);
|
|
18
|
-
load(data: Data, state?: PartialDeep<PluginState>): Promise<void>;
|
|
19
|
-
changeSpeed: (speed: number, userAction?: boolean) => void;
|
|
20
|
-
playFromStart(): void;
|
|
21
|
-
protected getDuration(): number;
|
|
22
|
-
protected getProgress(): number;
|
|
23
|
-
protected handlePlay(): Promise<string>;
|
|
24
|
-
protected handlePause(options?: {
|
|
25
|
-
userAction?: boolean;
|
|
26
|
-
}): void;
|
|
27
|
-
}
|
|
28
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as THREE from 'three';
|
|
2
|
-
export declare function getFiveStateOnCurve(curve: THREE.Curve<THREE.Vector3>, progress: number, curveOffset: Partial<{
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
z: number;
|
|
6
|
-
}>): {
|
|
7
|
-
offset: THREE.Vector3;
|
|
8
|
-
longitude: number;
|
|
9
|
-
latitude: number;
|
|
10
|
-
distance: number;
|
|
11
|
-
};
|