@realsee/dnalogel 2.19.1 → 2.20.0-alpha.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/PanoTagPlugin/Archive/deprecated.d.ts +48 -1
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +12 -12
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +5 -5
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +20 -20
- package/dist/PanoTagPlugin/controller/index.d.ts +7 -7
- package/dist/PanoTagPlugin/typings/controller.d.ts +8 -58
- package/dist/PanoTagPlugin/typings/index.d.ts +7 -5
- package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +4 -4
- package/dist/PanoTagPlugin/utils/resizeObserver.d.ts +1 -1
- package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +11 -11
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -2
- package/dist/index.cjs.js +39 -39
- package/dist/index.js +677 -672
- package/dist/index.umd.js +32 -32
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +45 -38
- package/docs/classes/CruisePluginController.html +40 -33
- package/docs/classes/GuideLineItem.GuideLineItem.html +34 -27
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -38
- package/docs/classes/Magnifier.html +34 -27
- package/docs/classes/ModelRoomLabelController.html +25 -18
- package/docs/classes/Object3DHelperController.html +39 -32
- package/docs/classes/PaintBrush.html +29 -22
- package/docs/classes/PanoMeasurePluginLine.html +37 -30
- package/docs/classes/PanoMeasurePluginModel.html +36 -29
- package/docs/classes/PanoMeasurePluginPoint.html +28 -21
- package/docs/classes/PanoMeasurePluginPolyline.html +40 -33
- package/docs/classes/PanoTagPluginController.html +86 -79
- package/docs/classes/Util.BetterTween.html +23 -16
- package/docs/classes/Util.FivePointSelector.html +26 -19
- package/docs/classes/Util.Interval.html +26 -19
- package/docs/classes/Util.Magnifier.html +31 -24
- package/docs/classes/Util.PointDomHelper.html +25 -18
- package/docs/classes/Util.PointHelper.html +25 -18
- package/docs/classes/Util.Rectangle.html +27 -20
- package/docs/enums/CameraMovementEffect.html +21 -14
- package/docs/enums/ContentType.html +69 -58
- package/docs/enums/DIRECTION.html +23 -16
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +23 -16
- package/docs/enums/DimensionType.html +21 -14
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +22 -15
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +23 -16
- package/docs/enums/PaintBrushTypeEnum.html +22 -15
- package/docs/enums/PointType.html +390 -0
- package/docs/enums/Rotation.html +22 -15
- package/docs/functions/CSS3DRenderPlugin.html +18 -11
- package/docs/functions/CameraMovementPlugin.html +18 -11
- package/docs/functions/CruisePlugin.html +18 -11
- package/docs/functions/GuideLinePlugin.html +19 -12
- package/docs/functions/ItemLabelPlugin.html +18 -11
- package/docs/functions/MapviewFloorplanPlugin.html +18 -11
- package/docs/functions/ModelChassisCompassPlugin.html +18 -11
- package/docs/functions/ModelEntryDoorGuidePlugin.html +18 -11
- package/docs/functions/ModelFloorplanPlugin.html +18 -11
- package/docs/functions/ModelItemLabelPlugin.html +18 -11
- package/docs/functions/ModelRoomLabelPlugin.html +18 -11
- package/docs/functions/ModelTVVideoPlugin.html +18 -11
- package/docs/functions/ModelViewPlugin.html +18 -11
- package/docs/functions/Object3DHelperPlugin.html +18 -11
- package/docs/functions/PanoCompassPlugin.html +18 -11
- package/docs/functions/PanoCursorRaycasterPlugin.html +18 -11
- package/docs/functions/PanoDoorLabelPlugin.html +18 -11
- package/docs/functions/PanoFloorplanRadarPlugin.html +18 -11
- package/docs/functions/PanoMeasurePlugin.html +18 -11
- package/docs/functions/PanoRulerPlugin.html +18 -11
- package/docs/functions/PanoRulerProPlugin.html +18 -11
- package/docs/functions/PanoSpatialTagPlugin.html +18 -11
- package/docs/functions/PanoTagPlugin.html +18 -11
- package/docs/functions/PanoVideoPlugin.html +18 -11
- package/docs/functions/TopviewFloorplanPlugin.html +18 -11
- package/docs/functions/Util.getCoordsFromClient.html +19 -12
- package/docs/functions/Util.getCoordsFromElement.html +19 -12
- package/docs/functions/Util.getFrameTime.html +19 -12
- package/docs/functions/Util.getIntersectFromRelativePosition.html +19 -12
- package/docs/functions/Util.getRaycasterFromFivePointer.html +19 -12
- package/docs/functions/Util.isAbsoluteURL.html +19 -12
- package/docs/functions/Util.isModelLike.html +19 -12
- package/docs/functions/Util.isNil.html +19 -12
- package/docs/functions/Util.isPanoramaLike.html +19 -12
- package/docs/functions/Util.nextFrame.html +19 -12
- package/docs/functions/Util.notNil.html +19 -12
- package/docs/functions/Util.requestAnimationFrameInterval.html +19 -12
- package/docs/functions/Util.tweenProgress.html +19 -12
- package/docs/functions/Util.uuid.html +19 -12
- package/docs/functions/pluginFlag.html +19 -12
- package/docs/index.html +19 -12
- package/docs/interfaces/AddTagConfig.html +20 -13
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +25 -18
- package/docs/interfaces/CSS3DRenderPluginState.html +22 -15
- package/docs/interfaces/CameraMovementPluginExportType.html +21 -14
- package/docs/interfaces/ContentTypeMapInterface.html +724 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +22 -15
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +26 -19
- package/docs/interfaces/CruisePluginTypes.EventMap.html +34 -27
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +26 -19
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +28 -21
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +28 -21
- package/docs/interfaces/CruisePluginTypes.PluginData.html +23 -16
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +21 -14
- package/docs/interfaces/CruisePluginTypes.PluginState.html +25 -18
- package/docs/interfaces/EventMap.html +31 -24
- package/docs/interfaces/FloorplanBounding.html +22 -15
- package/docs/interfaces/FloorplanData.html +24 -17
- package/docs/interfaces/FloorplanEntrance.html +25 -18
- package/docs/interfaces/FloorplanExtraObject.html +24 -17
- package/docs/interfaces/FloorplanExtraObject3D.html +22 -15
- package/docs/interfaces/FloorplanFloorData.html +23 -16
- package/docs/interfaces/FloorplanImagePosition.html +21 -14
- package/docs/interfaces/FloorplanObserver.html +23 -16
- package/docs/interfaces/FloorplanOutlineItem.html +23 -16
- package/docs/interfaces/FloorplanPosition.html +21 -14
- package/docs/interfaces/FloorplanRoomItem.html +27 -20
- package/docs/interfaces/FloorplanRoomLabelItem.html +21 -14
- package/docs/interfaces/FloorplanServerBounding.html +22 -15
- package/docs/interfaces/FloorplanServerComputedData.html +24 -17
- package/docs/interfaces/FloorplanServerData.html +21 -14
- package/docs/interfaces/FloorplanServerDoorItem.html +24 -17
- package/docs/interfaces/FloorplanServerDoorPosition.html +22 -15
- package/docs/interfaces/FloorplanServerEntrance.html +25 -18
- package/docs/interfaces/FloorplanServerFloorData.html +23 -16
- package/docs/interfaces/FloorplanServerImagePosition.html +21 -14
- package/docs/interfaces/FloorplanServerObserver.html +23 -16
- package/docs/interfaces/FloorplanServerOutlineItem.html +23 -16
- package/docs/interfaces/FloorplanServerPosition.html +21 -14
- package/docs/interfaces/FloorplanServerRoomItem.html +28 -21
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +21 -14
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +22 -15
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +24 -17
- package/docs/interfaces/GuideLinePluginType.EventMap.html +27 -20
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +22 -15
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +20 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +27 -20
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +22 -15
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +32 -25
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +21 -14
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +32 -25
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +19 -12
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +21 -14
- package/docs/interfaces/GuideLinePluginType.PluginState.html +22 -15
- package/docs/interfaces/GuideLinePluginType.Route.html +25 -18
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +23 -16
- package/docs/interfaces/HelperOffset.html +22 -15
- package/docs/interfaces/ImagePlaneGroup.html +20 -13
- package/docs/interfaces/ItemLabelPluginData.html +20 -13
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +25 -18
- package/docs/interfaces/ItemLabelPluginParametersType.html +23 -16
- package/docs/interfaces/MinMax.html +21 -14
- package/docs/interfaces/ModelChassisCompassPluginData.html +21 -14
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +22 -15
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +21 -14
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +22 -15
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +22 -15
- package/docs/interfaces/ModelItemLabelPluginData.html +20 -13
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +25 -18
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +21 -14
- package/docs/interfaces/ModelRoomLabelPluginData.html +20 -13
- package/docs/interfaces/ModelTVVideoPluginData.html +23 -16
- package/docs/interfaces/ModelTVVideoPluginExportType.html +22 -15
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +20 -13
- package/docs/interfaces/ModelViewPluginExportType.html +25 -18
- package/docs/interfaces/Object3DHelperState.html +22 -15
- package/docs/interfaces/ObjectHelperControllers.html +23 -16
- package/docs/interfaces/PaintBrushAction.html +26 -19
- package/docs/interfaces/PaintBrushConfigs.html +26 -19
- package/docs/interfaces/PaintBrushState.html +24 -17
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +24 -17
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +19 -12
- package/docs/interfaces/PanoMeasureParameterType.html +28 -21
- package/docs/interfaces/PanoMeasurePluginLineJson.html +22 -15
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +21 -14
- package/docs/interfaces/PanoMeasurePluginPointJson.html +21 -14
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +22 -15
- package/docs/interfaces/PanoRulerPluginExportType.html +24 -17
- package/docs/interfaces/PanoRulerPluginOptions.html +21 -14
- package/docs/interfaces/PanoRulerPluginParameterType.html +22 -15
- package/docs/interfaces/PanoRulerProPluginExportType.html +23 -16
- package/docs/interfaces/PanoRulerProPluginOptions.html +21 -14
- package/docs/interfaces/PanoRulerProPluginParameterType.html +21 -14
- package/docs/interfaces/PanoRulerProPluginState.html +22 -15
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +19 -12
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +19 -12
- package/docs/interfaces/PanoSpatialTagPluginData.html +25 -18
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +24 -17
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +27 -20
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +24 -17
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +27 -20
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +25 -18
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +24 -17
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +20 -13
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +22 -15
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +20 -13
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +23 -16
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +20 -13
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +22 -15
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +24 -17
- package/docs/interfaces/Point.html +22 -15
- package/docs/interfaces/Room.html +23 -16
- package/docs/interfaces/RoomInfo.html +21 -14
- package/docs/interfaces/RoomLabel.html +28 -21
- package/docs/interfaces/RoomRules.html +19 -12
- package/docs/interfaces/Rooms.html +19 -12
- package/docs/interfaces/Scissor.html +23 -16
- package/docs/interfaces/State.html +22 -15
- package/docs/interfaces/TagCacheInterface.html +26 -19
- package/docs/interfaces/TagConfig.html +32 -27
- package/docs/interfaces/TagGLTFObjectGroup.html +20 -13
- package/docs/interfaces/TagIconUrl.html +26 -19
- package/docs/interfaces/TagObjectGroup.html +20 -13
- package/docs/interfaces/TagStyle.html +20 -13
- package/docs/interfaces/Tags.html +116 -129
- package/docs/interfaces/TemporaryState.html +20 -13
- package/docs/interfaces/Util.MagnifierParameter.html +25 -18
- package/docs/interfaces/Util.MouseGroupParameter.html +22 -15
- package/docs/modules/CruisePluginTypes.html +19 -12
- package/docs/modules/GuideLineItem.html +19 -12
- package/docs/modules/GuideLineModeItem.html +19 -12
- package/docs/modules/GuideLinePluginType.html +19 -12
- package/docs/modules/PanoVideoPluginType.html +19 -12
- package/docs/modules/Util.html +19 -12
- package/docs/modules.html +34 -20
- package/docs/types/ArrayPosition.html +19 -12
- package/docs/types/AudioAppearance.html +20 -13
- package/docs/types/AudioTagTypeConfigKey.html +19 -12
- package/docs/types/CSS3DRenderExportType.html +19 -12
- package/docs/types/CSS3DRenderPluginExportType.html +19 -12
- package/docs/types/CSS3DRenderPluginParameterType.html +19 -12
- package/docs/types/ClassFunctionParameters.html +19 -12
- package/docs/types/Color.html +19 -12
- package/docs/types/ConfigFunction.html +390 -0
- package/docs/types/ContentTypeConfigKey.html +19 -12
- package/docs/types/ContentTypeConfigKeySplit.html +19 -12
- package/docs/types/ContentTypeMap.html +20 -13
- package/docs/types/ContentTypeMapInterfaceWithExtraData.html +359 -0
- package/docs/types/Create3DDomContainerReturnType.html +19 -12
- package/docs/types/Create3DElementReturnType.html +19 -12
- package/docs/types/CruisePluginExportType.html +19 -12
- package/docs/types/CruisePluginTypes.CruiseData.html +19 -12
- package/docs/types/CruisePluginTypes.MoveEffect.html +19 -12
- package/docs/types/DeprecatedMediaPlaneProperty.html +371 -0
- package/docs/types/DeprecatedTagProperty.html +374 -0
- package/docs/types/Direction-1.html +19 -12
- package/docs/types/Direction4.html +19 -12
- package/docs/types/ElementRenderer.html +19 -12
- package/docs/types/FloorplanRuleLabels.html +19 -12
- package/docs/types/FloorplanServerRuleLabels.html +19 -12
- package/docs/types/GuideLinePluginExportType.html +19 -12
- package/docs/types/GuideLinePluginType.GuideLineItem.html +19 -12
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +19 -12
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +19 -12
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +19 -12
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +19 -12
- package/docs/types/GuideLinePluginType.PathItem.html +19 -12
- package/docs/types/GuideLinePluginType.PluginData.html +19 -12
- package/docs/types/HelperEventMap.html +19 -12
- package/docs/types/LoadTagConfig.html +19 -12
- package/docs/types/MapviewFloorplanPluginParameterType.html +19 -12
- package/docs/types/MapviewFloorplanPluginReturnType.html +19 -12
- package/docs/types/MediaData.html +19 -12
- package/docs/types/MediaStore.html +19 -12
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +19 -12
- package/docs/types/ModelFloorplanPluginParameterType.html +19 -12
- package/docs/types/ModelFloorplanPluginReturnType.html +19 -12
- package/docs/types/ModelRoomLabelPluginParameters.html +19 -12
- package/docs/types/ModelRoomLabelPluginReturnType.html +19 -12
- package/docs/types/MoveArgs.html +19 -12
- package/docs/types/MoveOpts.html +19 -12
- package/docs/types/{Point2DElement.html → Object.html} +22 -20
- package/docs/types/Object3DHelperEventMap.html +19 -12
- package/docs/types/ObjectFit.html +19 -12
- package/docs/types/PaintBrushEventMap.html +19 -12
- package/docs/types/PanoCompassPluginData.html +19 -12
- package/docs/types/PanoCompassPluginExportType.html +19 -12
- package/docs/types/PanoCompassPluginParameterType.html +19 -12
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +19 -12
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +19 -12
- package/docs/types/PanoIndex.html +19 -12
- package/docs/types/PanoMeasurePluginEvent.html +19 -12
- package/docs/types/PanoMeasureReturnType.html +19 -12
- package/docs/types/PanoSpatialTagPluginId.html +19 -12
- package/docs/types/PanoTagPluginExportInterface.html +19 -12
- package/docs/types/PanoTagPluginParamsInterface.html +19 -12
- package/docs/types/PanoVideoPluginParameterType.html +19 -12
- package/docs/types/PanoVideoPluginReturnType.html +19 -12
- package/docs/types/{Point3DElement.html → PartialObjectDeep.html} +23 -16
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +20 -13
- package/docs/types/PlaneTag.html +20 -13
- package/docs/types/Point2DTag.html +20 -13
- package/docs/types/Point3DTag.html +20 -13
- package/docs/types/PointTag.html +20 -13
- package/docs/types/{PointTagElement.html → PointTagInstance.html} +22 -15
- package/docs/types/Position.html +19 -12
- package/docs/types/{ModelElement.html → RequiredTag.html} +25 -16
- package/docs/types/RotateArgs.html +19 -12
- package/docs/types/RotateOpts.html +19 -12
- package/docs/types/RuleLabelsKey.html +19 -12
- package/docs/types/RuleLabelsValue.html +19 -12
- package/docs/types/StickType.html +19 -12
- package/docs/types/Tag.html +20 -13
- package/docs/types/Tag2D.html +19 -12
- package/docs/types/Tag3D.html +19 -12
- package/docs/types/TagContentType.html +19 -12
- package/docs/types/TagDimensionType.html +22 -13
- package/docs/types/TagElement.html +23 -13
- package/docs/types/TagEvents.html +19 -12
- package/docs/types/TagGLTFObject.html +19 -12
- package/docs/types/TagHooks.html +19 -12
- package/docs/types/TagIconSize.html +19 -12
- package/docs/types/TagId.html +19 -12
- package/docs/types/TagInstance.html +366 -0
- package/docs/types/{PlaneTagElement.html → TagPointType.html} +25 -20
- package/docs/types/TopviewFloorplanPluginParameterType.html +19 -12
- package/docs/types/TopviewFloorplanPluginReturnType.html +19 -12
- package/docs/types/WorkCode.html +19 -12
- package/docs/variables/FLOOR_TYPE_MAP.html +19 -12
- package/docs/variables/PLUGIN.html +19 -12
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +19 -12
- package/docs/variables/ROOM_TYPE_MAP.html +19 -12
- package/docs/variables/itemLabelPluginServerParams.html +19 -12
- package/docs/variables/modelItemLabelPluginServerParams.html +19 -12
- package/docs/variables/modelRoomLabelPluginServerParams.html +19 -12
- package/libs/CruisePlugin/Controller.js +74 -74
- package/libs/GuideLinePlugin/Controller.js +7 -7
- package/libs/PanoTagPlugin/Archive/deprecated.d.ts +48 -1
- package/libs/PanoTagPlugin/Archive/deprecated.js +4 -2
- package/libs/PanoTagPlugin/Components/Tag/index.js +21 -21
- package/libs/PanoTagPlugin/Components/TagItem.js +46 -46
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +12 -12
- package/libs/PanoTagPlugin/controller/TagComputer.js +27 -27
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +5 -5
- package/libs/PanoTagPlugin/controller/TagRender.js +33 -31
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +20 -20
- package/libs/PanoTagPlugin/controller/TagUtil.js +17 -20
- package/libs/PanoTagPlugin/controller/index.d.ts +7 -7
- package/libs/PanoTagPlugin/controller/index.js +36 -34
- package/libs/PanoTagPlugin/index.js +11 -11
- package/libs/PanoTagPlugin/typings/controller.d.ts +8 -58
- package/libs/PanoTagPlugin/typings/index.d.ts +7 -5
- package/libs/PanoTagPlugin/typings/index.js +4 -4
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.js +1 -0
- package/libs/PanoTagPlugin/typings/tag/Utils.d.js +1 -0
- package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +4 -4
- package/libs/PanoTagPlugin/utils/planeNormal.js +5 -5
- package/libs/PanoTagPlugin/utils/resizeObserver.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +11 -11
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -2
- package/libs/base/BasePlugin.js +3 -3
- package/libs/index.js +7 -7
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +2 -2
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +0 -50
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -133
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -184
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -83
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +0 -50
- package/libs/PanoTagPlugin/typings/tag/Tag.js +0 -4
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -133
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -184
- package/libs/PanoTagPlugin/typings/tag/TagData.js +0 -4
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -83
- package/libs/PanoTagPlugin/typings/tag/Utils.js +0 -4
- /package/libs/PanoTagPlugin/typings/tag/{TagConfig.js → Tag.d.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.20.0-alpha.1</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.20.0-alpha.1</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/a83ca2e/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-sidebar">
|
|
29
29
|
<div class="page-menu">
|
|
30
30
|
<div class="tsd-navigation settings">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>如视看房插件合集 -<wbr/> v2.
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>如视看房插件合集 -<wbr/> v2.20.0-<wbr/>alpha.1</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li>
|
|
44
44
|
<details class="tsd-index-accordion" data-key="CruisePluginTypes"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4-path"></use><use href="#icon-4-text"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></summary>
|
|
@@ -132,13 +132,14 @@
|
|
|
132
132
|
<li><a href="../functions/Util.tweenProgress.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>tween<wbr/>Progress</span></a></li>
|
|
133
133
|
<li><a href="../functions/Util.uuid.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>uuid</span></a></li></ul></div></details></li>
|
|
134
134
|
<li><a href="../enums/CameraMovementEffect.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-8-path"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)" id="icon-8-text"></path></svg><span>Camera<wbr/>Movement<wbr/>Effect</span></a></li>
|
|
135
|
-
<li><a href="../enums/ContentType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg><span>Content<wbr/>Type</span></a></li>
|
|
135
|
+
<li><a href="../enums/ContentType.html" class="deprecated"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg><span>Content<wbr/>Type</span></a></li>
|
|
136
136
|
<li><a href="../enums/DIRECTION.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg><span>DIRECTION</span></a></li>
|
|
137
137
|
<li><a href="../enums/DISPLAY_STRATEGY_TYPE.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg><span>DISPLAY_<wbr/>STRATEGY_<wbr/>TYPE</span></a></li>
|
|
138
138
|
<li><a href="../enums/DimensionType.html" class="deprecated"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg><span>Dimension<wbr/>Type</span></a></li>
|
|
139
139
|
<li><a href="../enums/FLOOR_PLAN_ATTACHED_TO.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg><span>FLOOR_<wbr/>PLAN_<wbr/>ATTACHED_<wbr/>TO</span></a></li>
|
|
140
140
|
<li><a href="../enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg><span>ITEM_<wbr/>LABEL_<wbr/>PLUGIN_<wbr/>DISPLAY_<wbr/>STRATEGY_<wbr/>TYPE</span></a></li>
|
|
141
141
|
<li><a href="../enums/PaintBrushTypeEnum.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg><span>Paint<wbr/>Brush<wbr/>Type<wbr/>Enum</span></a></li>
|
|
142
|
+
<li><a href="../enums/PointType.html" class="deprecated"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg><span>Point<wbr/>Type</span></a></li>
|
|
142
143
|
<li><a href="../enums/Rotation.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-8-path"></use><use href="#icon-8-text"></use></svg><span>Rotation</span></a></li>
|
|
143
144
|
<li><a href="../classes/CSS3DRender.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>CSS3DRender</span></a></li>
|
|
144
145
|
<li><a href="../classes/CruisePluginController.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-128-path"></use><use href="#icon-128-text"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
|
|
@@ -155,6 +156,7 @@
|
|
|
155
156
|
<li><a href="../interfaces/CSS3DRenderPluginEventMap.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>CSS3DRender<wbr/>Plugin<wbr/>Event<wbr/>Map</span></a></li>
|
|
156
157
|
<li><a href="../interfaces/CSS3DRenderPluginState.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>CSS3DRender<wbr/>Plugin<wbr/>State</span></a></li>
|
|
157
158
|
<li><a href="../interfaces/CameraMovementPluginExportType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Camera<wbr/>Movement<wbr/>Plugin<wbr/>Export<wbr/>Type</span></a></li>
|
|
159
|
+
<li><a href="../interfaces/ContentTypeMapInterface.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Content<wbr/>Type<wbr/>Map<wbr/>Interface</span></a></li>
|
|
158
160
|
<li><a href="../interfaces/EventMap.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Event<wbr/>Map</span></a></li>
|
|
159
161
|
<li><a href="../interfaces/FloorplanBounding.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Floorplan<wbr/>Bounding</span></a></li>
|
|
160
162
|
<li><a href="../interfaces/FloorplanData.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-256-path"></use><use href="#icon-256-text"></use></svg><span>Floorplan<wbr/>Data</span></a></li>
|
|
@@ -252,12 +254,16 @@
|
|
|
252
254
|
<li><a href="../types/CSS3DRenderPluginParameterType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>CSS3DRender<wbr/>Plugin<wbr/>Parameter<wbr/>Type</span></a></li>
|
|
253
255
|
<li><a href="../types/ClassFunctionParameters.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Class<wbr/>Function<wbr/>Parameters</span></a></li>
|
|
254
256
|
<li><a href="../types/Color.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Color</span></a></li>
|
|
257
|
+
<li><a href="../types/ConfigFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Config<wbr/>Function</span></a></li>
|
|
255
258
|
<li><a href="../types/ContentTypeConfigKey.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Content<wbr/>Type<wbr/>Config<wbr/>Key</span></a></li>
|
|
256
259
|
<li><a href="../types/ContentTypeConfigKeySplit.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Content<wbr/>Type<wbr/>Config<wbr/>Key<wbr/>Split</span></a></li>
|
|
257
260
|
<li><a href="../types/ContentTypeMap.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Content<wbr/>Type<wbr/>Map</span></a></li>
|
|
261
|
+
<li><a href="../types/ContentTypeMapInterfaceWithExtraData.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Content<wbr/>Type<wbr/>Map<wbr/>Interface<wbr/>With<wbr/>Extra<wbr/>Data</span></a></li>
|
|
258
262
|
<li><a href="../types/Create3DDomContainerReturnType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Create3DDom<wbr/>Container<wbr/>Return<wbr/>Type</span></a></li>
|
|
259
263
|
<li><a href="../types/Create3DElementReturnType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Create3DElement<wbr/>Return<wbr/>Type</span></a></li>
|
|
260
264
|
<li><a href="../types/CruisePluginExportType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Export<wbr/>Type</span></a></li>
|
|
265
|
+
<li><a href="../types/DeprecatedMediaPlaneProperty.html" class="deprecated"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Deprecated<wbr/>Media<wbr/>Plane<wbr/>Property</span></a></li>
|
|
266
|
+
<li><a href="../types/DeprecatedTagProperty.html" class="deprecated"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Deprecated<wbr/>Tag<wbr/>Property</span></a></li>
|
|
261
267
|
<li><a href="../types/Direction-1.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Direction</span></a></li>
|
|
262
268
|
<li><a href="../types/Direction4.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Direction4</span></a></li>
|
|
263
269
|
<li><a href="../types/ElementRenderer.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Element<wbr/>Renderer</span></a></li>
|
|
@@ -270,7 +276,6 @@
|
|
|
270
276
|
<li><a href="../types/MapviewFloorplanPluginReturnType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Mapview<wbr/>Floorplan<wbr/>Plugin<wbr/>Return<wbr/>Type</span></a></li>
|
|
271
277
|
<li><a href="../types/MediaData.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Media<wbr/>Data</span></a></li>
|
|
272
278
|
<li><a href="../types/MediaStore.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Media<wbr/>Store</span></a></li>
|
|
273
|
-
<li><a href="../types/ModelElement.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Model<wbr/>Element</span></a></li>
|
|
274
279
|
<li><a href="../types/ModelEntryDoorGuidePluginParameterType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Model<wbr/>Entry<wbr/>Door<wbr/>Guide<wbr/>Plugin<wbr/>Parameter<wbr/>Type</span></a></li>
|
|
275
280
|
<li><a href="../types/ModelFloorplanPluginParameterType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Model<wbr/>Floorplan<wbr/>Plugin<wbr/>Parameter<wbr/>Type</span></a></li>
|
|
276
281
|
<li><a href="../types/ModelFloorplanPluginReturnType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Model<wbr/>Floorplan<wbr/>Plugin<wbr/>Return<wbr/>Type</span></a></li>
|
|
@@ -278,6 +283,7 @@
|
|
|
278
283
|
<li><a href="../types/ModelRoomLabelPluginReturnType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Return<wbr/>Type</span></a></li>
|
|
279
284
|
<li><a href="../types/MoveArgs.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Move<wbr/>Args</span></a></li>
|
|
280
285
|
<li><a href="../types/MoveOpts.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Move<wbr/>Opts</span></a></li>
|
|
286
|
+
<li><a href="../types/Object.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Object</span></a></li>
|
|
281
287
|
<li><a href="../types/Object3DHelperEventMap.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Object3DHelper<wbr/>Event<wbr/>Map</span></a></li>
|
|
282
288
|
<li><a href="../types/ObjectFit.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Object<wbr/>Fit</span></a></li>
|
|
283
289
|
<li><a href="../types/PaintBrushEventMap.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Paint<wbr/>Brush<wbr/>Event<wbr/>Map</span></a></li>
|
|
@@ -294,16 +300,15 @@
|
|
|
294
300
|
<li><a href="../types/PanoTagPluginParamsInterface.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pano<wbr/>Tag<wbr/>Plugin<wbr/>Params<wbr/>Interface</span></a></li>
|
|
295
301
|
<li><a href="../types/PanoVideoPluginParameterType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pano<wbr/>Video<wbr/>Plugin<wbr/>Parameter<wbr/>Type</span></a></li>
|
|
296
302
|
<li><a href="../types/PanoVideoPluginReturnType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pano<wbr/>Video<wbr/>Plugin<wbr/>Return<wbr/>Type</span></a></li>
|
|
303
|
+
<li><a href="../types/PartialObjectDeep.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Partial<wbr/>Object<wbr/>Deep</span></a></li>
|
|
297
304
|
<li><a href="../types/PickTagContentTypeInContentTypeConfigKey.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Pick<wbr/>Tag<wbr/>Content<wbr/>Type<wbr/>In<wbr/>Content<wbr/>Type<wbr/>Config<wbr/>Key</span></a></li>
|
|
298
305
|
<li><a href="../types/PlaneTag.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Plane<wbr/>Tag</span></a></li>
|
|
299
|
-
<li><a href="../types/PlaneTagElement.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Plane<wbr/>Tag<wbr/>Element</span></a></li>
|
|
300
|
-
<li><a href="../types/Point2DElement.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Point2DElement</span></a></li>
|
|
301
306
|
<li><a href="../types/Point2DTag.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Point2DTag</span></a></li>
|
|
302
|
-
<li><a href="../types/Point3DElement.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Point3DElement</span></a></li>
|
|
303
307
|
<li><a href="../types/Point3DTag.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Point3DTag</span></a></li>
|
|
304
308
|
<li><a href="../types/PointTag.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Point<wbr/>Tag</span></a></li>
|
|
305
|
-
<li><a href="../types/
|
|
309
|
+
<li><a href="../types/PointTagInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Point<wbr/>Tag<wbr/>Instance</span></a></li>
|
|
306
310
|
<li><a href="../types/Position.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Position</span></a></li>
|
|
311
|
+
<li><a href="../types/RequiredTag.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Required<wbr/>Tag</span></a></li>
|
|
307
312
|
<li><a href="../types/RotateArgs.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Rotate<wbr/>Args</span></a></li>
|
|
308
313
|
<li><a href="../types/RotateOpts.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Rotate<wbr/>Opts</span></a></li>
|
|
309
314
|
<li><a href="../types/RuleLabelsKey.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Rule<wbr/>Labels<wbr/>Key</span></a></li>
|
|
@@ -313,13 +318,15 @@
|
|
|
313
318
|
<li><a href="../types/Tag2D.html" class="deprecated"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Tag2D</span></a></li>
|
|
314
319
|
<li><a href="../types/Tag3D.html" class="deprecated"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Tag3D</span></a></li>
|
|
315
320
|
<li><a href="../types/TagContentType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Tag<wbr/>Content<wbr/>Type</span></a></li>
|
|
316
|
-
<li><a href="../types/TagDimensionType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Tag<wbr/>Dimension<wbr/>Type</span></a></li>
|
|
317
|
-
<li><a href="../types/TagElement.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Tag<wbr/>Element</span></a></li>
|
|
321
|
+
<li><a href="../types/TagDimensionType.html" class="deprecated"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Tag<wbr/>Dimension<wbr/>Type</span></a></li>
|
|
322
|
+
<li><a href="../types/TagElement.html" class="deprecated"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Tag<wbr/>Element</span></a></li>
|
|
318
323
|
<li><a href="../types/TagEvents.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Tag<wbr/>Events</span></a></li>
|
|
319
324
|
<li><a href="../types/TagGLTFObject.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>TagGLTFObject</span></a></li>
|
|
320
325
|
<li><a href="../types/TagHooks.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Tag<wbr/>Hooks</span></a></li>
|
|
321
326
|
<li><a href="../types/TagIconSize.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Tag<wbr/>Icon<wbr/>Size</span></a></li>
|
|
322
327
|
<li><a href="../types/TagId.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Tag<wbr/>Id</span></a></li>
|
|
328
|
+
<li><a href="../types/TagInstance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Tag<wbr/>Instance</span></a></li>
|
|
329
|
+
<li><a href="../types/TagPointType.html" class="deprecated"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Tag<wbr/>Point<wbr/>Type</span></a></li>
|
|
323
330
|
<li><a href="../types/TopviewFloorplanPluginParameterType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Topview<wbr/>Floorplan<wbr/>Plugin<wbr/>Parameter<wbr/>Type</span></a></li>
|
|
324
331
|
<li><a href="../types/TopviewFloorplanPluginReturnType.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Topview<wbr/>Floorplan<wbr/>Plugin<wbr/>Return<wbr/>Type</span></a></li>
|
|
325
332
|
<li><a href="../types/WorkCode.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Work<wbr/>Code</span></a></li>
|
|
@@ -2,30 +2,30 @@ var T = Object.defineProperty, K = Object.defineProperties;
|
|
|
2
2
|
var O = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var F = Object.getOwnPropertySymbols;
|
|
4
4
|
var U = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var L = (c,
|
|
6
|
-
for (var e in
|
|
7
|
-
U.call(
|
|
5
|
+
var L = (c, u, e) => u in c ? T(c, u, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[u] = e, g = (c, u) => {
|
|
6
|
+
for (var e in u || (u = {}))
|
|
7
|
+
U.call(u, e) && L(c, e, u[e]);
|
|
8
8
|
if (F)
|
|
9
|
-
for (var e of F(
|
|
10
|
-
A.call(
|
|
9
|
+
for (var e of F(u))
|
|
10
|
+
A.call(u, e) && L(c, e, u[e]);
|
|
11
11
|
return c;
|
|
12
|
-
}, C = (c,
|
|
13
|
-
var I = (c,
|
|
14
|
-
var v = (c,
|
|
12
|
+
}, C = (c, u) => K(c, O(u));
|
|
13
|
+
var I = (c, u, e) => (L(c, typeof u != "symbol" ? u + "" : u, e), e);
|
|
14
|
+
var v = (c, u, e) => new Promise((t, i) => {
|
|
15
15
|
var r = (m) => {
|
|
16
16
|
try {
|
|
17
17
|
s(e.next(m));
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
18
|
+
} catch (a) {
|
|
19
|
+
i(a);
|
|
20
20
|
}
|
|
21
21
|
}, n = (m) => {
|
|
22
22
|
try {
|
|
23
23
|
s(e.throw(m));
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
24
|
+
} catch (a) {
|
|
25
|
+
i(a);
|
|
26
26
|
}
|
|
27
27
|
}, s = (m) => m.done ? t(m.value) : Promise.resolve(m.value).then(r, n);
|
|
28
|
-
s((e = e.apply(c,
|
|
28
|
+
s((e = e.apply(c, u)).next());
|
|
29
29
|
});
|
|
30
30
|
import { Controller as V } from "../base/BasePluginWithData.js";
|
|
31
31
|
import { GuideLinePlugin as $ } from "../GuideLinePlugin/index.js";
|
|
@@ -236,17 +236,17 @@ class z extends V {
|
|
|
236
236
|
*/
|
|
237
237
|
load(e, t, i) {
|
|
238
238
|
return v(this, null, function* () {
|
|
239
|
-
var
|
|
239
|
+
var o, d, f, l, h, P;
|
|
240
240
|
if (this.state.disposed)
|
|
241
241
|
return D();
|
|
242
|
-
this.privateState.fiveOriginGetProgress || (d = (
|
|
242
|
+
this.privateState.fiveOriginGetProgress || (d = (o = this.five.controller) == null ? void 0 : o.cameraMotion) != null && d.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (l = (f = this.five.controller) == null ? void 0 : f.cameraMotion) == null ? void 0 : l.getProgress), this.clear();
|
|
243
243
|
const r = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, n = yield this.formatData(e);
|
|
244
244
|
this.data = n, this.hooks.emit("dataChange", n, r);
|
|
245
245
|
let s = [], m;
|
|
246
|
-
const
|
|
247
|
-
|
|
246
|
+
const a = this.data.keyframes.filter((p) => p.data.panoIndex !== void 0);
|
|
247
|
+
a.filter((p, y) => {
|
|
248
248
|
var S;
|
|
249
|
-
return p.data.panoIndex !== ((S =
|
|
249
|
+
return p.data.panoIndex !== ((S = a[y - 1]) == null ? void 0 : S.data.panoIndex);
|
|
250
250
|
}).map((p) => p.data.panoIndex).forEach((p) => {
|
|
251
251
|
var S, k;
|
|
252
252
|
const y = (S = this.five.work.observers[p]) == null ? void 0 : S.floorIndex;
|
|
@@ -259,7 +259,7 @@ class z extends V {
|
|
|
259
259
|
const b = s.length;
|
|
260
260
|
s[b] = [p];
|
|
261
261
|
}
|
|
262
|
-
}), !this.GuideLine && ((h = this.config) == null ? void 0 : h.useGuideLine) !== !1 && n.useGuildLine !== !1 && (this.GuideLine = $(this.five, this.config)), (P = this.GuideLine) == null || P.load({ routes: s.map((p) => ({ panoIndexList: p })), config: n.guildPluginOptions }), this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed), t && this.setState(t, { userAction: i }), console.
|
|
262
|
+
}), !this.GuideLine && ((h = this.config) == null ? void 0 : h.useGuideLine) !== !1 && n.useGuildLine !== !1 && (this.GuideLine = $(this.five, this.config)), (P = this.GuideLine) == null || P.load({ routes: s.map((p) => ({ panoIndexList: p })), config: n.guildPluginOptions }), this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed), t && this.setState(t, { userAction: i }), console.debug(`${x} loaded`, n), this.hooks.emit("dataLoaded", n);
|
|
263
263
|
});
|
|
264
264
|
}
|
|
265
265
|
/**
|
|
@@ -349,34 +349,34 @@ class z extends V {
|
|
|
349
349
|
return {
|
|
350
350
|
keyframesId: w(),
|
|
351
351
|
keyframes: i.keyframes.map((r, n) => {
|
|
352
|
-
var
|
|
352
|
+
var a;
|
|
353
353
|
const s = i.keyframes[n + 1], m = (() => !s || s.start === void 0 || r.end === void 0 ? 0 : s.start - r.end)();
|
|
354
|
-
return C(g({ id: (
|
|
354
|
+
return C(g({ id: (a = r.uuid) != null ? a : w(), moveIndex: n, stay: m, index: n }, r), { guildPluginOptions: i.guildPluginOptions });
|
|
355
355
|
})
|
|
356
356
|
};
|
|
357
357
|
if (i.panoIndexList) {
|
|
358
358
|
let r = [];
|
|
359
359
|
const { moveEffect: n, moveToFirstPanoEffect: s, moveToFirstPanoDuration: m } = i;
|
|
360
|
-
return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration = m, i.panoIndexList.forEach((
|
|
360
|
+
return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration = m, i.panoIndexList.forEach((a, o) => {
|
|
361
361
|
const d = (() => {
|
|
362
362
|
var p, y, S, k;
|
|
363
|
-
const f = i.panoIndexList.slice(
|
|
363
|
+
const f = i.panoIndexList.slice(o).find((b) => b !== a);
|
|
364
364
|
if (f === void 0)
|
|
365
365
|
return;
|
|
366
|
-
const
|
|
367
|
-
if (!h || !
|
|
366
|
+
const l = (p = t[a]) == null ? void 0 : p.position, h = (y = t[f]) == null ? void 0 : y.position;
|
|
367
|
+
if (!h || !l || ((S = t[a]) == null ? void 0 : S.floorIndex) !== ((k = t[f]) == null ? void 0 : k.floorIndex))
|
|
368
368
|
return;
|
|
369
|
-
const P = new j.Vector3().subVectors(h,
|
|
369
|
+
const P = new j.Vector3().subVectors(h, l);
|
|
370
370
|
return N(P.normalize());
|
|
371
371
|
})();
|
|
372
372
|
i.moveType === void 0 || i.moveType === "justMove" ? r.push({
|
|
373
|
-
moveIndex:
|
|
373
|
+
moveIndex: o,
|
|
374
374
|
stay: i.stay,
|
|
375
|
-
data: g({ effect: "Move", panoIndex:
|
|
376
|
-
}) : i.moveType === "moveAndRotate" && (r.push({ moveIndex:
|
|
375
|
+
data: g({ effect: "Move", panoIndex: a, moveEffect: n }, d != null ? d : {})
|
|
376
|
+
}) : i.moveType === "moveAndRotate" && (r.push({ moveIndex: o, stay: i.stay, data: { effect: "Move", panoIndex: a, moveEffect: n } }), d && r.push({ moveIndex: o, stay: i.stay, data: g({ effect: "Rotate", panoIndex: a }, d) }));
|
|
377
377
|
}), {
|
|
378
378
|
keyframesId: w(),
|
|
379
|
-
keyframes: r.map((
|
|
379
|
+
keyframes: r.map((a, o) => g({ id: w(), index: o }, a)),
|
|
380
380
|
guildPluginOptions: i.guildPluginOptions,
|
|
381
381
|
useGuildLine: i.useGuildLine
|
|
382
382
|
};
|
|
@@ -408,32 +408,32 @@ class z extends V {
|
|
|
408
408
|
// eslint-disable-next-line complexity
|
|
409
409
|
handlePlay(e) {
|
|
410
410
|
return v(this, null, function* () {
|
|
411
|
-
var
|
|
411
|
+
var l;
|
|
412
412
|
const { data: t, state: i, privateState: r, hooks: n } = this;
|
|
413
413
|
if (r.playing || !(t != null && t.keyframes) || (t == null ? void 0 : t.keyframes.length) === 0)
|
|
414
414
|
return;
|
|
415
415
|
const s = w();
|
|
416
416
|
r.playId = s, r.playing = !0, r.broke = !1;
|
|
417
|
-
const m = t.keyframes,
|
|
418
|
-
(e == null ? void 0 : e.notEmitEvent) !== !0 && n.emit("play", { userAction: (
|
|
419
|
-
let
|
|
417
|
+
const m = t.keyframes, a = this.getPauseData();
|
|
418
|
+
(e == null ? void 0 : e.notEmitEvent) !== !0 && n.emit("play", { userAction: (l = e == null ? void 0 : e.userAction) != null ? l : !0 });
|
|
419
|
+
let o = !1;
|
|
420
420
|
const f = yield (() => v(this, null, function* () {
|
|
421
421
|
var h, P;
|
|
422
422
|
if ((e == null ? void 0 : e.playFromIndex) !== void 0)
|
|
423
423
|
return e.playFromIndex;
|
|
424
424
|
if ((e == null ? void 0 : e.playFromId) !== void 0)
|
|
425
425
|
return (h = this.data) == null ? void 0 : h.keyframes.findIndex((p) => p.id === e.playFromId);
|
|
426
|
-
if (
|
|
427
|
-
const p = (P = this.data) == null ? void 0 : P.keyframes.find((y) => y.id ===
|
|
428
|
-
if (
|
|
426
|
+
if (a != null && a.keyframeId) {
|
|
427
|
+
const p = (P = this.data) == null ? void 0 : P.keyframes.find((y) => y.id === a.keyframeId);
|
|
428
|
+
if (a != null && a.fiveState && (yield this.move(a.fiveState, {
|
|
429
429
|
moveEffect: r.moveToFirstPanoEffect,
|
|
430
430
|
duration: r.moveToFirstPanoDuration
|
|
431
431
|
})), p) {
|
|
432
432
|
if (p.data.effect === "Move")
|
|
433
433
|
return p.index;
|
|
434
434
|
if (p.data.effect === "Rotate") {
|
|
435
|
-
const y =
|
|
436
|
-
return yield this.playKeyframe(p, { duration: y }),
|
|
435
|
+
const y = a.duration !== void 0 ? a.duration * (1 - a.playedProgress) : void 0;
|
|
436
|
+
return yield this.playKeyframe(p, { duration: y }), o = !0, p.index + 1;
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
}
|
|
@@ -445,9 +445,9 @@ class z extends V {
|
|
|
445
445
|
if (!(f !== void 0 && h.index < f))
|
|
446
446
|
try {
|
|
447
447
|
n.emit("playIndexChange", h.index, h), yield this.playKeyframe(h, {
|
|
448
|
-
moveEffect:
|
|
449
|
-
duration:
|
|
450
|
-
}), h.stay && (yield J(h.stay)),
|
|
448
|
+
moveEffect: o === !1 ? r.moveToFirstPanoEffect : void 0,
|
|
449
|
+
duration: o === !1 && typeof r.moveToFirstPanoDuration == "number" ? r.moveToFirstPanoDuration : void 0
|
|
450
|
+
}), h.stay && (yield J(h.stay)), o === !1 && (o = !0);
|
|
451
451
|
} catch (P) {
|
|
452
452
|
return Promise.resolve("broke");
|
|
453
453
|
}
|
|
@@ -493,28 +493,28 @@ class z extends V {
|
|
|
493
493
|
const r = e.data;
|
|
494
494
|
if (t.duration = (n = t.duration) != null ? n : e.start !== void 0 && e.end !== void 0 ? e.end - e.start : void 0, !!r)
|
|
495
495
|
return new Promise((s, m) => {
|
|
496
|
-
let
|
|
496
|
+
let a = !1;
|
|
497
497
|
this.addInterruptListener(() => {
|
|
498
|
-
if (!
|
|
499
|
-
return this.hooks.emit("broke"), this.privateState.broke = !0, this.setState({ playing: !1 }),
|
|
498
|
+
if (!a)
|
|
499
|
+
return this.hooks.emit("broke"), this.privateState.broke = !0, this.setState({ playing: !1 }), a = !0, m(new Error("play is interupted"));
|
|
500
500
|
});
|
|
501
501
|
try {
|
|
502
|
-
if (
|
|
502
|
+
if (a)
|
|
503
503
|
return;
|
|
504
|
-
const
|
|
505
|
-
s(),
|
|
504
|
+
const o = () => {
|
|
505
|
+
s(), a = !0;
|
|
506
506
|
};
|
|
507
507
|
switch (r.effect) {
|
|
508
508
|
case "Move":
|
|
509
|
-
this.move(r, t).then(
|
|
509
|
+
this.move(r, t).then(o);
|
|
510
510
|
break;
|
|
511
511
|
case "Rotate":
|
|
512
|
-
this.rotate(r, t).then(
|
|
512
|
+
this.rotate(r, t).then(o);
|
|
513
513
|
break;
|
|
514
514
|
default:
|
|
515
|
-
this.rotate(r, t).then(
|
|
515
|
+
this.rotate(r, t).then(o);
|
|
516
516
|
}
|
|
517
|
-
} catch (
|
|
517
|
+
} catch (o) {
|
|
518
518
|
}
|
|
519
519
|
});
|
|
520
520
|
});
|
|
@@ -570,13 +570,13 @@ class z extends V {
|
|
|
570
570
|
updateCamera(i) {
|
|
571
571
|
return v(this, arguments, function* (e, t = {}) {
|
|
572
572
|
const { five: r, privateState: n, state: s } = this, m = (() => {
|
|
573
|
-
var
|
|
574
|
-
const d = (
|
|
573
|
+
var l, h;
|
|
574
|
+
const d = (l = s.config) == null ? void 0 : l.speedConfig, f = (h = e.rotateSpeed) != null ? h : d == null ? void 0 : d.rotateSpeed;
|
|
575
575
|
if ((d == null ? void 0 : d.rotateSpeedUnit) === void 0)
|
|
576
576
|
return f;
|
|
577
577
|
if (f !== void 0)
|
|
578
578
|
return d.rotateSpeedUnit === "rad/ms" ? f : f / 1e3;
|
|
579
|
-
})(),
|
|
579
|
+
})(), a = (() => {
|
|
580
580
|
if (t.duration)
|
|
581
581
|
return t.duration;
|
|
582
582
|
if (m) {
|
|
@@ -585,10 +585,10 @@ class z extends V {
|
|
|
585
585
|
}
|
|
586
586
|
return 800;
|
|
587
587
|
})();
|
|
588
|
-
n.currentPlayKeyframe && (n.currentPlayKeyframe.originDuration =
|
|
589
|
-
const
|
|
588
|
+
n.currentPlayKeyframe && (n.currentPlayKeyframe.originDuration = a);
|
|
589
|
+
const o = this.getSpeededDuration(a);
|
|
590
590
|
return new Promise((d) => {
|
|
591
|
-
_(() => r.updateCamera(e,
|
|
591
|
+
_(() => r.updateCamera(e, o)), setTimeout(() => d(), o);
|
|
592
592
|
});
|
|
593
593
|
});
|
|
594
594
|
}
|
|
@@ -603,32 +603,32 @@ class z extends V {
|
|
|
603
603
|
const s = i.getCurrentState().mode !== "Panorama";
|
|
604
604
|
s && (this.privateState.modeChanging = !0);
|
|
605
605
|
const m = (() => {
|
|
606
|
-
var f,
|
|
607
|
-
const
|
|
608
|
-
if ((
|
|
606
|
+
var f, l;
|
|
607
|
+
const o = (f = n.config) == null ? void 0 : f.speedConfig, d = (l = e.moveSpeed) != null ? l : o == null ? void 0 : o.moveSpeed;
|
|
608
|
+
if ((o == null ? void 0 : o.moveSpeedUnit) === void 0)
|
|
609
609
|
return d;
|
|
610
610
|
if (d !== void 0)
|
|
611
|
-
return
|
|
612
|
-
})(),
|
|
611
|
+
return o.moveSpeedUnit === "m/ms" ? d : d / 1e3;
|
|
612
|
+
})(), a = (() => {
|
|
613
613
|
if (t != null && t.duration)
|
|
614
614
|
return t.duration;
|
|
615
615
|
if (m && typeof i.panoIndex == "number" && typeof e.panoIndex == "number") {
|
|
616
|
-
const
|
|
617
|
-
return
|
|
616
|
+
const o = i.work.observers[i.panoIndex].position, d = i.work.observers[e.panoIndex].position;
|
|
617
|
+
return o.distanceTo(d) / m;
|
|
618
618
|
}
|
|
619
619
|
return 800;
|
|
620
620
|
})();
|
|
621
|
-
r.currentPlayKeyframe && (r.currentPlayKeyframe.originDuration =
|
|
622
|
-
var d, f,
|
|
621
|
+
r.currentPlayKeyframe && (r.currentPlayKeyframe.originDuration = a), yield new Promise((o) => {
|
|
622
|
+
var d, f, l;
|
|
623
623
|
i.moveToPano(e.panoIndex, {
|
|
624
624
|
latitude: e.latitude,
|
|
625
625
|
longitude: e.longitude,
|
|
626
626
|
fov: e.fov,
|
|
627
|
-
duration: this.getSpeededDuration(
|
|
628
|
-
effect: (
|
|
629
|
-
moveCancelCallback: () =>
|
|
630
|
-
moveEndCallback: () =>
|
|
631
|
-
}), s && i.once("panoArrived", () =>
|
|
627
|
+
duration: this.getSpeededDuration(a),
|
|
628
|
+
effect: (l = (f = t == null ? void 0 : t.moveEffect) != null ? f : (d = this.state.config) == null ? void 0 : d.moveEffect) != null ? l : e.moveEffect,
|
|
629
|
+
moveCancelCallback: () => o(),
|
|
630
|
+
moveEndCallback: () => o()
|
|
631
|
+
}), s && i.once("panoArrived", () => o());
|
|
632
632
|
}), s && (this.privateState.modeChanging = !1);
|
|
633
633
|
});
|
|
634
634
|
}
|
|
@@ -639,8 +639,8 @@ class z extends V {
|
|
|
639
639
|
const { state: i, privateState: r, hooks: n } = this, { currentPlayKeyframe: s } = r;
|
|
640
640
|
if (n.emit("speedChange", e, { userAction: t }), i.playing && s)
|
|
641
641
|
try {
|
|
642
|
-
const m = s.originDuration !== void 0 ? s.originDuration * (1 - this.getProgress()) : void 0,
|
|
643
|
-
r.currentPlayQueue.push(
|
|
642
|
+
const m = s.originDuration !== void 0 ? s.originDuration * (1 - this.getProgress()) : void 0, a = this.playKeyframe(s.keyframe, { duration: m });
|
|
643
|
+
r.currentPlayQueue.push(a);
|
|
644
644
|
} catch (m) {
|
|
645
645
|
}
|
|
646
646
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var V = Object.defineProperty;
|
|
2
2
|
var S = Object.getOwnPropertySymbols;
|
|
3
3
|
var M = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
4
|
+
var f = (p, o, t) => o in p ? V(p, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : p[o] = t, c = (p, o) => {
|
|
5
5
|
for (var t in o || (o = {}))
|
|
6
|
-
M.call(o, t) &&
|
|
6
|
+
M.call(o, t) && f(p, t, o[t]);
|
|
7
7
|
if (S)
|
|
8
8
|
for (var t of S(o))
|
|
9
|
-
N.call(o, t) &&
|
|
9
|
+
N.call(o, t) && f(p, t, o[t]);
|
|
10
10
|
return p;
|
|
11
11
|
};
|
|
12
|
-
var d = (p, o, t) => (
|
|
12
|
+
var d = (p, o, t) => (f(p, typeof o != "symbol" ? o + "" : o, t), t);
|
|
13
13
|
var u = (p, o, t) => new Promise((i, s) => {
|
|
14
14
|
var a = (m) => {
|
|
15
15
|
try {
|
|
@@ -233,7 +233,7 @@ class Wr extends O {
|
|
|
233
233
|
})) != null ? y : [], h = (D = (L = e.lines) == null ? void 0 : L.map((l) => T({}, m, l))) != null ? D : [], C = [...n, ...h];
|
|
234
234
|
yield this.waitFiveLoaded(), this.clear(), C.forEach((l) => {
|
|
235
235
|
this.addGuideLineItem(l);
|
|
236
|
-
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", e), console.
|
|
236
|
+
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", e), console.debug(`${g} loaded`, e);
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
formatData(t) {
|
|
@@ -269,8 +269,8 @@ class Wr extends O {
|
|
|
269
269
|
var a;
|
|
270
270
|
if (this.disposed)
|
|
271
271
|
return this.disposedErrorLog();
|
|
272
|
-
const s =
|
|
273
|
-
this.state =
|
|
272
|
+
const s = c({}, this.state);
|
|
273
|
+
this.state = c(c({}, this.state), t), t.visible !== void 0 && t.visible !== s.visible && this.handleVisible(t.visible, i == null ? void 0 : i.userAction), t.enabled !== void 0 && t.enabled !== s.enabled && this.handleEnable(t.enabled, i == null ? void 0 : i.userAction), P(s, this.state, { deep: !0 }) || (this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: (a = i == null ? void 0 : i.userAction) != null ? a : !0 }), this.five.needsRender = !0);
|
|
274
274
|
}
|
|
275
275
|
/** 添加一个 GuideLineItem */
|
|
276
276
|
addGuideLineItem(t) {
|
|
@@ -1,8 +1,49 @@
|
|
|
1
|
+
import type { StickType, TagContentType, TagInstance, Point2DTag, Point3DTag } from '../typings';
|
|
1
2
|
/** @deprecated 改用具体的string */
|
|
2
3
|
export declare enum PointType {
|
|
3
4
|
PointTag = "PointTag",
|
|
4
5
|
PlaneTag = "PlaneTag"
|
|
5
6
|
}
|
|
7
|
+
/** @deprecated Use {@link TagContentType} instead */
|
|
8
|
+
export declare enum ContentType {
|
|
9
|
+
/** 音频标签 */
|
|
10
|
+
Audio = "Audio",
|
|
11
|
+
/** 文本标签 */
|
|
12
|
+
Text = "Text",
|
|
13
|
+
/** 图文标签 */
|
|
14
|
+
ImageText = "ImageText",
|
|
15
|
+
/** 图片标签, 可用 ImageText 代替 */
|
|
16
|
+
Image = "Image",
|
|
17
|
+
/** 视频标签,可用 ImageText 代替 */
|
|
18
|
+
Video = "Video",
|
|
19
|
+
/** VR跳转标签 */
|
|
20
|
+
Link = "Link",
|
|
21
|
+
/** 贴纸标签 */
|
|
22
|
+
Sticker = "Sticker",
|
|
23
|
+
/** VR跳转标签 */
|
|
24
|
+
VRLink = "VRLink",
|
|
25
|
+
/** 全景跳转标签 */
|
|
26
|
+
PanoLink = "PanoLink",
|
|
27
|
+
/** 营销标签 */
|
|
28
|
+
Marketing = "Marketing",
|
|
29
|
+
/** 图片视频贴片 */
|
|
30
|
+
MediaPlane = "MediaPlane",
|
|
31
|
+
/** 带有多媒体的模型 */
|
|
32
|
+
MediaModel = "MediaModel",
|
|
33
|
+
/** 模型 */
|
|
34
|
+
Model = "Model",
|
|
35
|
+
/** 其他/自定义标签 */
|
|
36
|
+
Custom = "Custom",
|
|
37
|
+
/** Unknown */
|
|
38
|
+
Unknown = "Unknown"
|
|
39
|
+
}
|
|
40
|
+
/** @deprecated 改用具体的string */
|
|
41
|
+
export declare enum DimensionType {
|
|
42
|
+
Two = "2D",
|
|
43
|
+
Three = "3D"
|
|
44
|
+
}
|
|
45
|
+
/** @deprecated */
|
|
46
|
+
export type TagDimensionType = '2D' | '3D';
|
|
6
47
|
/** @deprecated 改用 stickType */
|
|
7
48
|
export type TagPointType = keyof typeof PointType;
|
|
8
49
|
/** @deprecated */
|
|
@@ -16,7 +57,13 @@ export type DeprecatedTagProperty = {
|
|
|
16
57
|
export type DeprecatedMediaPlaneProperty = {
|
|
17
58
|
/**
|
|
18
59
|
* @description stretch: 拉伸适配, proportional: 等比适配,默认值 'proportional'
|
|
19
|
-
* @deprecated
|
|
60
|
+
* @deprecated Use {@link ObjectFit} instead
|
|
20
61
|
*/
|
|
21
62
|
adaptationMode?: 'stretch' | 'proportional';
|
|
22
63
|
};
|
|
64
|
+
/** @deprecated Use {@link TagInstance} instead */
|
|
65
|
+
export type TagElement<C extends TagContentType = TagContentType, S extends StickType = StickType> = TagInstance<C, S>;
|
|
66
|
+
/** @deprecated 'Tag2D' replaced by pointType: 'Point2DTag' */
|
|
67
|
+
export type Tag2D<C extends TagContentType = TagContentType> = Point2DTag<C>;
|
|
68
|
+
/** @deprecated 'Tag3D' replaced by pointType: 'Point3DTag' */
|
|
69
|
+
export type Tag3D<C extends TagContentType = TagContentType> = Point3DTag<C>;
|