@realsee/dnalogel 2.14.2-alpha.1 → 2.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/typing.d.ts +5 -5
- package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +3 -3
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
- package/dist/CameraMovementPlugin/typing.d.ts +4 -4
- package/dist/CruisePlugin/typing.d.ts +4 -4
- package/dist/GuideLinePlugin/typing.d.ts +1 -1
- package/dist/ItemLabelPlugin/events.type.d.ts +1 -1
- package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -1
- package/dist/ModelItemLabelPlugin/events.type.d.ts +1 -1
- package/dist/ModelRoomLabelPlugin/Controller.d.ts +1 -1
- package/dist/ModelRoomLabelPlugin/index.d.ts +1 -1
- package/dist/Object3DHelperPlugin/typings.d.ts +2 -2
- package/dist/PanoCompassPlugin/index.d.ts +1 -1
- package/dist/PanoCompassPlugin/typings.d.ts +2 -2
- package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +6 -6
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/line.d.ts +1 -1
- package/dist/PanoRulerPlugin/typings.d.ts +1 -1
- package/dist/PanoRulerProPlugin/typings.d.ts +1 -1
- package/dist/PanoSpatialTagPlugin/typings.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -3
- package/dist/PanoTagPlugin/index.d.ts +2 -2
- package/dist/PanoTagPlugin/typings/controller.d.ts +11 -11
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +5 -5
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +19 -19
- package/dist/PanoVideoPlugin/index.d.ts +2 -2
- package/dist/base/BasePlugin.d.ts +1 -1
- package/dist/base/BasePluginWithData.d.ts +1 -1
- package/dist/components/PaintBrush/Subscribe.d.ts +1 -1
- package/dist/components/PaintBrush/typings.d.ts +1 -1
- package/dist/floorplan/MapviewFloorplanPlugin/index.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/index.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +4 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +2 -0
- package/dist/floorplan/TopviewFloorplanPlugin/index.d.ts +2 -2
- package/dist/floorplan/typings/floorplanData.d.ts +3 -3
- package/dist/floorplan/typings/floorplanServerData.d.ts +1 -1
- package/dist/floorplan/typings/utility.d.ts +2 -2
- package/dist/index.cjs.js +29 -29
- package/dist/index.js +1188 -1192
- package/dist/index.umd.js +34 -34
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +2 -2
- package/dist/shared-utils/three/PointHelper.d.ts +3 -3
- package/dist/typings/math.type.d.ts +3 -3
- package/docs/assets/highlight.css +6 -6
- package/docs/assets/main.js +56 -52
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +27 -5
- package/docs/classes/CSS3DRender.html +36 -36
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +37 -37
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +46 -46
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +5 -5
- package/docs/functions/CameraMovementPlugin.html +5 -5
- package/docs/functions/CruisePlugin.html +5 -5
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +5 -5
- package/docs/functions/MapviewFloorplanPlugin.html +5 -5
- package/docs/functions/ModelChassisCompassPlugin.html +5 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
- package/docs/functions/ModelFloorplanPlugin.html +5 -5
- package/docs/functions/ModelItemLabelPlugin.html +5 -5
- package/docs/functions/ModelRoomLabelPlugin.html +5 -5
- package/docs/functions/ModelTVVideoPlugin.html +5 -5
- package/docs/functions/ModelViewPlugin.html +5 -5
- package/docs/functions/Object3DHelperPlugin.html +5 -5
- package/docs/functions/PanoCompassPlugin.html +5 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
- package/docs/functions/PanoDoorLabelPlugin.html +5 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
- package/docs/functions/PanoMeasurePlugin.html +5 -5
- package/docs/functions/PanoRulerPlugin.html +5 -5
- package/docs/functions/PanoRulerProPlugin.html +5 -5
- package/docs/functions/PanoSpatialTagPlugin.html +5 -5
- package/docs/functions/PanoTagPlugin.html +5 -5
- package/docs/functions/PanoVideoPlugin.html +5 -5
- package/docs/functions/TopviewFloorplanPlugin.html +5 -5
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +9 -9
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +23 -23
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +35 -35
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +21 -21
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +14 -14
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +14 -14
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +21 -21
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +14 -14
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +23 -23
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +16 -16
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +22 -22
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +20 -20
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +18 -18
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -9
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +15 -15
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -9
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +29 -29
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +17 -17
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +45 -45
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +17 -17
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +9 -9
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +13 -13
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -6
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CSS3DRenderPlugin/typing.d.ts +5 -5
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +3 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
- package/libs/CameraMovementPlugin/typing.d.ts +4 -4
- package/libs/CruisePlugin/typing.d.ts +4 -4
- package/libs/GuideLinePlugin/typing.d.ts +1 -1
- package/libs/ItemLabelPlugin/events.type.d.ts +1 -1
- package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -1
- package/libs/ModelItemLabelPlugin/events.type.d.ts +1 -1
- package/libs/ModelRoomLabelPlugin/Controller.d.ts +1 -1
- package/libs/ModelRoomLabelPlugin/index.d.ts +1 -1
- package/libs/Object3DHelperPlugin/typings.d.ts +2 -2
- package/libs/PanoCompassPlugin/index.d.ts +1 -1
- package/libs/PanoCompassPlugin/typings.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +6 -6
- package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/line.d.ts +1 -1
- package/libs/PanoRulerPlugin/typings.d.ts +1 -1
- package/libs/PanoRulerProPlugin/typings.d.ts +1 -1
- package/libs/PanoSpatialTagPlugin/typings.d.ts +1 -1
- package/libs/PanoTagPlugin/Archive/deprecated.d.ts +1 -1
- package/libs/PanoTagPlugin/Components/Common/Media.js +181 -190
- package/libs/PanoTagPlugin/controller/TagRender.js +73 -73
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -3
- package/libs/PanoTagPlugin/controller/TagUtil.js +34 -46
- package/libs/PanoTagPlugin/controller/index.js +8 -8
- package/libs/PanoTagPlugin/index.d.ts +2 -2
- package/libs/PanoTagPlugin/typings/controller.d.ts +11 -11
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -2
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +5 -5
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +19 -19
- package/libs/PanoVideoPlugin/index.d.ts +2 -2
- package/libs/base/BasePlugin.d.ts +1 -1
- package/libs/base/BasePlugin.js +3 -3
- package/libs/base/BasePluginWithData.d.ts +1 -1
- package/libs/components/PaintBrush/Subscribe.d.ts +1 -1
- package/libs/components/PaintBrush/typings.d.ts +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.d.ts +2 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.d.ts +2 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +64 -60
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +104 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +4 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +60 -51
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.d.ts +2 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +2 -0
- package/libs/floorplan/TopviewFloorplanPlugin/index.d.ts +2 -2
- package/libs/floorplan/typings/floorplanData.d.ts +3 -3
- package/libs/floorplan/typings/floorplanServerData.d.ts +1 -1
- package/libs/floorplan/typings/utility.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +2 -2
- package/libs/shared-utils/three/PointHelper.d.ts +3 -3
- package/libs/typings/math.type.d.ts +3 -3
- package/package.json +15 -17
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type CSS3DRenderPlugin from '.';
|
|
2
2
|
import type * as BasePlugin from '../base/BasePlugin';
|
|
3
3
|
import type { CSS3DRender } from './utils/three/CSS3DRender';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
4
|
+
export type CSS3DRenderPluginParameterType = undefined;
|
|
5
|
+
export type CSS3DRenderPluginExportType = ReturnType<typeof CSS3DRenderPlugin>;
|
|
6
|
+
export type CSS3DRenderExportType = InstanceType<typeof CSS3DRender>;
|
|
7
|
+
export type Create3DDomContainerReturnType = ReturnType<CSS3DRenderPluginExportType['create3DDomContainer']>;
|
|
8
|
+
export type Create3DElementReturnType = ReturnType<InstanceType<typeof CSS3DRender>['create3DElement']>;
|
|
9
9
|
export interface CSS3DRenderPluginState extends BasePlugin.State {
|
|
10
10
|
enabled: boolean;
|
|
11
11
|
visible: boolean;
|
|
@@ -4,9 +4,9 @@ import { Subscribe } from '../../../shared-utils/Subscribe';
|
|
|
4
4
|
import OpacityMesh from './OpacityMesh';
|
|
5
5
|
export declare const MinRatio = 0.00216;
|
|
6
6
|
export declare const DefaultRatio = 0.003;
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
7
|
+
export type Mode = 'front' | 'behind';
|
|
8
|
+
export type CornerPoints = [Vector3, Vector3, Vector3, Vector3];
|
|
9
|
+
export type CSS3DRenderEventMap = {
|
|
10
10
|
applyMatrix4: (matrix: Matrix4) => void;
|
|
11
11
|
applyQuaternion: (quaternion: Quaternion) => void;
|
|
12
12
|
applyScaleMatrix4: (matrix: Matrix4) => void;
|
|
@@ -42,20 +42,20 @@ export interface CameraMovementOptsCallback {
|
|
|
42
42
|
/**
|
|
43
43
|
* 移动运镜参数
|
|
44
44
|
*/
|
|
45
|
-
export
|
|
45
|
+
export type MoveArgs = {
|
|
46
46
|
mode: Mode;
|
|
47
47
|
panoIndex: number;
|
|
48
48
|
} & Pose;
|
|
49
49
|
/**
|
|
50
50
|
* 移动运镜配置
|
|
51
51
|
*/
|
|
52
|
-
export
|
|
52
|
+
export type MoveOpts = {
|
|
53
53
|
preload?: boolean;
|
|
54
54
|
} & CameraMovementOptsCallback;
|
|
55
55
|
/**
|
|
56
56
|
* 旋转运镜参数
|
|
57
57
|
*/
|
|
58
|
-
export
|
|
58
|
+
export type RotateArgs = {
|
|
59
59
|
panoIndex?: number;
|
|
60
60
|
rotateSpeed?: number;
|
|
61
61
|
rotation?: Rotation;
|
|
@@ -63,6 +63,6 @@ export declare type RotateArgs = {
|
|
|
63
63
|
/**
|
|
64
64
|
* 旋转运镜配置
|
|
65
65
|
*/
|
|
66
|
-
export
|
|
66
|
+
export type RotateOpts = {
|
|
67
67
|
preload?: boolean;
|
|
68
68
|
} & CameraMovementOptsCallback;
|
|
@@ -2,9 +2,9 @@ import type { MovePanoOptions, Pose, State } from '@realsee/five';
|
|
|
2
2
|
import type CruisePlugin from '.';
|
|
3
3
|
import type * as BasePluginWithData from '../base/BasePluginWithData';
|
|
4
4
|
import type { PluginData as GuideLinePluginData } from '../GuideLinePlugin/typing';
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
export
|
|
5
|
+
type FivePoseAndState = Partial<Pose> & Partial<State>;
|
|
6
|
+
export type MoveEffect = MovePanoOptions['effect'];
|
|
7
|
+
export type CruiseData = {
|
|
8
8
|
/** 移动/旋转 */
|
|
9
9
|
effect: 'Move' | 'Rotate';
|
|
10
10
|
/** five走点动画 */
|
|
@@ -135,5 +135,5 @@ export interface EventMap extends BasePluginWithData.EventMap<PluginState, Plugi
|
|
|
135
135
|
userAction: boolean;
|
|
136
136
|
}) => void;
|
|
137
137
|
}
|
|
138
|
-
export
|
|
138
|
+
export type CruisePluginExportType = ReturnType<typeof CruisePlugin>;
|
|
139
139
|
export {};
|
|
@@ -34,4 +34,4 @@ export interface EventMap extends BasePluginWithData.EventMap<PluginState, Plugi
|
|
|
34
34
|
userAction: boolean;
|
|
35
35
|
}) => void;
|
|
36
36
|
}
|
|
37
|
-
export
|
|
37
|
+
export type GuideLinePluginExportType = ReturnType<typeof GuideLinePlugin>;
|
|
@@ -5,7 +5,7 @@ export interface ModelEntryDoorGuidePluginData {
|
|
|
5
5
|
rad?: number;
|
|
6
6
|
fbx_url?: string;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type ModelEntryDoorGuidePluginParameterType = {
|
|
9
9
|
animationEnabled?: boolean;
|
|
10
10
|
name?: string;
|
|
11
11
|
} & ModelEntryDoorGuidePluginData;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
2
|
import type { ModelRoomLabelPluginData } from './typings';
|
|
3
|
-
export
|
|
3
|
+
export type ModelRoomLabelPluginParameters = undefined;
|
|
4
4
|
export declare class ModelRoomLabelController {
|
|
5
5
|
private five;
|
|
6
6
|
private enabled;
|
|
@@ -8,5 +8,5 @@ export declare const modelRoomLabelPluginServerParams: {
|
|
|
8
8
|
};
|
|
9
9
|
export type { ModelRoomLabelController } from './Controller';
|
|
10
10
|
export type { ModelRoomLabelPluginData, RoomLabel } from './typings';
|
|
11
|
-
export
|
|
11
|
+
export type ModelRoomLabelPluginReturnType = Controller.ModelRoomLabelController;
|
|
12
12
|
export type { ModelRoomLabelPluginParameters } from './Controller';
|
|
@@ -14,10 +14,10 @@ export interface HelperOffset {
|
|
|
14
14
|
percents: number;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
export
|
|
17
|
+
export type HelperConfig<T extends Object = {}> = boolean | ({
|
|
18
18
|
enable: boolean;
|
|
19
19
|
} & T);
|
|
20
|
-
export
|
|
20
|
+
export type Object3DHelperPluginEventMap = {
|
|
21
21
|
show: (options?: {
|
|
22
22
|
userAction?: boolean;
|
|
23
23
|
}) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FivePlugin } from '@realsee/five';
|
|
2
2
|
import { PanoCompassController } from './Controller';
|
|
3
3
|
import type { PanoCompassPluginParameterType } from './typings';
|
|
4
|
-
export
|
|
4
|
+
export type PanoCompassPluginExportType = PanoCompassController;
|
|
5
5
|
export declare const PanoCompassPlugin: FivePlugin<PanoCompassPluginParameterType, PanoCompassPluginExportType>;
|
|
6
6
|
export default PanoCompassPlugin;
|
|
7
7
|
export type { PanoCompassPluginParameterType, PanoCompassPluginData } from './typings';
|
|
@@ -53,5 +53,5 @@ export interface PluginServerData extends BasePlugin.ServerData {
|
|
|
53
53
|
version: number;
|
|
54
54
|
data: PluginData;
|
|
55
55
|
}
|
|
56
|
-
export
|
|
57
|
-
export
|
|
56
|
+
export type PanoCompassPluginParameterType = Partial<Config> | undefined;
|
|
57
|
+
export type PanoCompassPluginData = PluginData;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Line from '../Model/line';
|
|
2
2
|
import BaseController, { ControllerParams } from './BaseController';
|
|
3
3
|
import { Polyline } from '../Model/polyline';
|
|
4
|
-
export
|
|
4
|
+
export type State = 'watching' | 'editing';
|
|
5
5
|
export default class MixedController extends BaseController {
|
|
6
6
|
state: State;
|
|
7
7
|
polyline: Polyline;
|
|
@@ -7,7 +7,7 @@ import { Five, Subscribe } from '@realsee/five';
|
|
|
7
7
|
import { UIControllerParams } from '../Modules/UIController';
|
|
8
8
|
import { GuideControllerParams } from '../Modules/GuideController';
|
|
9
9
|
import { Polyline } from '../Model/polyline';
|
|
10
|
-
export
|
|
10
|
+
export type Mode = 'Watch' | 'Edit' | 'Mixed' | 'View';
|
|
11
11
|
export interface PanoMeasureParameterType extends Partial<Config> {
|
|
12
12
|
openParams?: OpenParameter;
|
|
13
13
|
magnifierParams?: MagnifierParameter;
|
|
@@ -7,7 +7,7 @@ export interface UIControllerParams {
|
|
|
7
7
|
revokeButtonText?: string;
|
|
8
8
|
exitButtonText?: string;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type UIMode = 'pc' | 'mobile';
|
|
11
11
|
export declare class UIController {
|
|
12
12
|
private revoke?;
|
|
13
13
|
private container;
|
|
@@ -8,7 +8,7 @@ export { Model as PanoMeasurePluginModel } from './Model';
|
|
|
8
8
|
export { default as PanoMeasurePluginPoint } from './Model/point';
|
|
9
9
|
export { default as PanoMeasurePluginLine } from './Model/line';
|
|
10
10
|
export { Polyline as PanoMeasurePluginPolyline } from './Model/polyline';
|
|
11
|
-
export
|
|
11
|
+
export type PanoMeasureReturnType = MeasureController;
|
|
12
12
|
export type { PanoMeasurePluginEvent } from './typings/event.type';
|
|
13
13
|
export type { LineJson as PanoMeasurePluginLineJson, PointJson as PanoMeasurePluginPointJson, PolylineJson as PanoMeasurePluginPolylineJson, OpenParameter as PanoMeasurePluginOpenParameter, } from './typings/data';
|
|
14
14
|
export type { PanoMeasureParameterType } from './Controller';
|
|
@@ -4,7 +4,7 @@ import type { State } from '../Controller/MixedController';
|
|
|
4
4
|
import Line from '../Model/line';
|
|
5
5
|
import type Point from '../Model/point';
|
|
6
6
|
import { Polyline } from '../Model/polyline';
|
|
7
|
-
|
|
7
|
+
type ControllerEvent = {
|
|
8
8
|
enable: (userAction: boolean) => void;
|
|
9
9
|
disable: (userAction: boolean) => void;
|
|
10
10
|
/**
|
|
@@ -12,10 +12,10 @@ declare type ControllerEvent = {
|
|
|
12
12
|
*/
|
|
13
13
|
modeChange: (mode: Mode) => void;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
type WatchEvent = {
|
|
16
16
|
selectedChange: (lines: Line[]) => void;
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
type EditEvent = {
|
|
19
19
|
/**
|
|
20
20
|
* 编辑线条变更
|
|
21
21
|
*/
|
|
@@ -24,18 +24,18 @@ declare type EditEvent = {
|
|
|
24
24
|
editedDashedLineChange: (line: Line | null) => void;
|
|
25
25
|
anchorChange: (anchor: Vector3 | null) => void;
|
|
26
26
|
};
|
|
27
|
-
|
|
27
|
+
type DragEvent = {
|
|
28
28
|
wantsDragLine: (event: {
|
|
29
29
|
point: string;
|
|
30
30
|
lines: string[];
|
|
31
31
|
}) => boolean;
|
|
32
32
|
};
|
|
33
33
|
/** 移动端专用事件 */
|
|
34
|
-
|
|
34
|
+
type MobileEvent = {
|
|
35
35
|
getStartPoint: (point: Point) => void;
|
|
36
36
|
getEndPoint: (point: Point) => void;
|
|
37
37
|
willChangeState: (state: State, newState: State) => void;
|
|
38
38
|
nowPointChange: (point: Point) => void;
|
|
39
39
|
};
|
|
40
|
-
export
|
|
40
|
+
export type PanoMeasurePluginEvent = ControllerEvent & EditEvent & WatchEvent & DragEvent & MobileEvent;
|
|
41
41
|
export {};
|
|
@@ -2,7 +2,7 @@ import type Line from '../Model/line';
|
|
|
2
2
|
import type { Five } from '@realsee/five';
|
|
3
3
|
import { Vector3 } from 'three';
|
|
4
4
|
import { Polyline } from '../Model/polyline';
|
|
5
|
-
export
|
|
5
|
+
export type DistanceItem = ReturnType<typeof createDistanceItem>;
|
|
6
6
|
export interface UserDistanceItem {
|
|
7
7
|
element: Element;
|
|
8
8
|
highlight: () => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type Line from '../Model/line';
|
|
2
2
|
import { Line as FiveLine } from '@realsee/five/line';
|
|
3
3
|
import { Color, Texture, Vector3 } from 'three';
|
|
4
|
-
|
|
4
|
+
type ISetMaterialOpts = Parameters<FiveLine['setMaterial']>[0];
|
|
5
5
|
export interface ICreateLineOpts extends ISetMaterialOpts {
|
|
6
6
|
hasPoint?: boolean;
|
|
7
7
|
pointSize?: number;
|
|
@@ -36,8 +36,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
36
36
|
protected updateTagConfig(params?: {
|
|
37
37
|
force?: boolean;
|
|
38
38
|
}): void;
|
|
39
|
-
protected can<T extends TagElement<any, any>>(action: 'show' | 'hide' | 'fold' | 'unfold', paramsTag: T): boolean;
|
|
40
|
-
protected getRenderType(tag: TagElement<any, any>): 'Dom' | 'Mesh' | 'BehindDom';
|
|
39
|
+
protected can<T extends TagElement<any, any>>(action: 'show' | 'hide' | 'fold' | 'unfold' | 'renderByMesh' | 'renderByMeshDom', paramsTag: T): boolean;
|
|
41
40
|
/**
|
|
42
41
|
* @description: 获取角度
|
|
43
42
|
*/
|
|
@@ -56,7 +55,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
56
55
|
protected get filterImagePlane(): PlaneTagElement<"MediaPlane">[];
|
|
57
56
|
protected get filterMediaModel(): ModelElement<"MediaModel">[];
|
|
58
57
|
protected get filterModelTag(): ModelElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
|
|
59
|
-
protected get
|
|
58
|
+
protected get filter3DTag(): (TagElement<any, "Plane"> | TagElement<any, "Model"> | TagElement<any, "3DPoint">)[];
|
|
60
59
|
/**
|
|
61
60
|
* @description 检查是否已经销毁
|
|
62
61
|
* @returns isDisposed; 已经销毁返回 true,否则返回 false
|
|
@@ -2,7 +2,7 @@ import type { FivePlugin } from '@realsee/five';
|
|
|
2
2
|
import PanoTagPluginController from './controller';
|
|
3
3
|
export * from './controller';
|
|
4
4
|
export * from './typings';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type PanoTagPluginExportInterface = InstanceType<typeof PanoTagPluginController>;
|
|
6
|
+
export type PanoTagPluginParamsInterface = ConstructorParameters<typeof PanoTagPluginController>[1];
|
|
7
7
|
export declare const PanoTagPlugin: FivePlugin<PanoTagPluginParamsInterface, PanoTagPluginExportInterface>;
|
|
8
8
|
export default PanoTagPlugin;
|
|
@@ -9,14 +9,14 @@ import type { TagId, StickType, TagGLTFObject } from './tag/Utils';
|
|
|
9
9
|
import type { TagContentType } from './tag/TagData';
|
|
10
10
|
import type { Tag } from './tag/Tag';
|
|
11
11
|
import type ImagePlane from '../utils/model/imagePlane';
|
|
12
|
-
|
|
13
|
-
export
|
|
12
|
+
type NonNullable<T> = T extends null | undefined | void ? never : T;
|
|
13
|
+
export type TagHooks = InstanceType<typeof PanoTagPluginController>['hooks'];
|
|
14
14
|
export interface State extends BasePlugin.State {
|
|
15
15
|
}
|
|
16
16
|
export interface AddTagConfig {
|
|
17
17
|
withAnimation?: boolean;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
19
|
+
export type LoadTagConfig = AddTagConfig;
|
|
20
20
|
export interface TemporaryState {
|
|
21
21
|
visible?: boolean;
|
|
22
22
|
}
|
|
@@ -60,7 +60,7 @@ export interface EventMap extends BasePlugin.EventMap<State> {
|
|
|
60
60
|
}) => void;
|
|
61
61
|
loadVideoFirstFrame: () => void;
|
|
62
62
|
}
|
|
63
|
-
export
|
|
63
|
+
export type TagEvents = {
|
|
64
64
|
unfolded: () => void;
|
|
65
65
|
folded: () => void;
|
|
66
66
|
show: () => void;
|
|
@@ -79,7 +79,7 @@ export interface TagCacheInterface {
|
|
|
79
79
|
reason?: string;
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
export
|
|
82
|
+
export type TagElement<C extends TagContentType = TagContentType, S extends StickType = StickType> = Tag<C, S> & Partial<{
|
|
83
83
|
pointTagStyle: {
|
|
84
84
|
leftPercent: number;
|
|
85
85
|
topPercent: number;
|
|
@@ -114,12 +114,12 @@ export declare type TagElement<C extends TagContentType = TagContentType, S exte
|
|
|
114
114
|
disable: () => void;
|
|
115
115
|
destroy: () => void;
|
|
116
116
|
};
|
|
117
|
-
export
|
|
117
|
+
export type MediaStore = Writable<{
|
|
118
118
|
currentMediaElement: HTMLMediaElement | null;
|
|
119
119
|
}>;
|
|
120
|
-
export
|
|
121
|
-
export
|
|
122
|
-
export
|
|
123
|
-
export
|
|
124
|
-
export
|
|
120
|
+
export type PointTagElement<C extends TagContentType = TagContentType> = TagElement<C, '3DPoint' | '2DPoint'>;
|
|
121
|
+
export type PlaneTagElement<C extends TagContentType = TagContentType> = TagElement<C, 'Plane'>;
|
|
122
|
+
export type Point2DElement<C extends TagContentType = TagContentType> = TagElement<C, '2DPoint'>;
|
|
123
|
+
export type Point3DElement<C extends TagContentType = TagContentType> = TagElement<C, '3DPoint'>;
|
|
124
|
+
export type ModelElement<C extends TagContentType = TagContentType> = TagElement<C, 'Model'>;
|
|
125
125
|
export {};
|
|
@@ -5,7 +5,7 @@ import type { ContentTypeConfigKey, Position, TagId, StickType, TagStyle } from
|
|
|
5
5
|
export type { ContentTypeMap, TagContentType };
|
|
6
6
|
export { ContentType };
|
|
7
7
|
/** 返回一个销毁函数 */
|
|
8
|
-
|
|
8
|
+
type ElementRenderer = (container: HTMLElement) => () => void;
|
|
9
9
|
export interface Tags {
|
|
10
10
|
version?: string;
|
|
11
11
|
/** tag配置 > 按type配置 > 全局配置 */
|
|
@@ -16,7 +16,7 @@ export interface Tags {
|
|
|
16
16
|
/** 标签列表配置 */
|
|
17
17
|
tagList: Tag[];
|
|
18
18
|
}
|
|
19
|
-
export
|
|
19
|
+
export type Tag<C extends TagContentType = TagContentType, S extends StickType = StickType> = {
|
|
20
20
|
/** 开启/禁用 */
|
|
21
21
|
enabled?: boolean;
|
|
22
22
|
/** 唯一标识 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Position, TagIconUrl } from './Utils';
|
|
2
|
-
export
|
|
2
|
+
export type MediaData = {
|
|
3
3
|
type: 'Image';
|
|
4
4
|
url: string;
|
|
5
5
|
} | {
|
|
@@ -7,8 +7,8 @@ export declare type MediaData = {
|
|
|
7
7
|
url: string;
|
|
8
8
|
videoCoverUrl?: string;
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
export
|
|
10
|
+
type Object = Record<string | number | symbol, any>;
|
|
11
|
+
export type ObjectFit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
|
|
12
12
|
export declare enum ContentType {
|
|
13
13
|
/** 音频标签 */
|
|
14
14
|
Audio = "Audio",
|
|
@@ -39,7 +39,7 @@ export declare enum ContentType {
|
|
|
39
39
|
/** Unknown */
|
|
40
40
|
Unknown = "Unknown"
|
|
41
41
|
}
|
|
42
|
-
export
|
|
42
|
+
export type TagContentType = keyof typeof ContentType;
|
|
43
43
|
/**
|
|
44
44
|
* @description: 标签数据
|
|
45
45
|
*/
|
|
@@ -170,5 +170,5 @@ interface ContentTypeMapInterface {
|
|
|
170
170
|
Custom: Object;
|
|
171
171
|
Unknown: Object;
|
|
172
172
|
}
|
|
173
|
-
export
|
|
173
|
+
export type ContentTypeMap = Pick<ContentTypeMapInterface, TagContentType>;
|
|
174
174
|
export {};
|
|
@@ -3,11 +3,11 @@ import { Group } from 'three';
|
|
|
3
3
|
import type { Tag } from './Tag';
|
|
4
4
|
import type { TagContentType } from './TagData';
|
|
5
5
|
import ImagePlane from '../../utils/model/imagePlane';
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
6
|
+
export type TagId = string | number;
|
|
7
|
+
export type ArrayPosition = number[];
|
|
8
|
+
export type Position = ArrayPosition;
|
|
9
|
+
export type PanoIndex = number;
|
|
10
|
+
export type WorkCode = string;
|
|
11
11
|
export interface MinMax {
|
|
12
12
|
min?: number;
|
|
13
13
|
max?: number;
|
|
@@ -17,8 +17,8 @@ export declare enum DimensionType {
|
|
|
17
17
|
Two = "2D",
|
|
18
18
|
Three = "3D"
|
|
19
19
|
}
|
|
20
|
-
export
|
|
21
|
-
export
|
|
20
|
+
export type TagDimensionType = '2D' | '3D';
|
|
21
|
+
export type StickType = '2DPoint' | '3DPoint' | 'Plane' | 'Model';
|
|
22
22
|
export interface TagIconUrl {
|
|
23
23
|
url: string;
|
|
24
24
|
/** 指切图是几倍图,如 2倍图, 3倍图,默认值为 3 */
|
|
@@ -39,7 +39,7 @@ export interface TagStyle {
|
|
|
39
39
|
size?: TagIconSize;
|
|
40
40
|
} & TagIconUrl;
|
|
41
41
|
}
|
|
42
|
-
export
|
|
42
|
+
export type TagGLTFObject = GLTFObject & {
|
|
43
43
|
customID: number | string;
|
|
44
44
|
isTagModel: boolean;
|
|
45
45
|
};
|
|
@@ -55,19 +55,19 @@ export interface ImagePlaneGroup extends Group {
|
|
|
55
55
|
/**
|
|
56
56
|
* @description S: 18; M: 20; L: 24; XL: 28
|
|
57
57
|
*/
|
|
58
|
-
export
|
|
59
|
-
export
|
|
60
|
-
export
|
|
61
|
-
export
|
|
62
|
-
export
|
|
63
|
-
export
|
|
58
|
+
export type TagIconSize = 'S' | 'M' | 'L' | 'XL' | number;
|
|
59
|
+
export type AudioAppearance = Tag<'Audio'>['data']['appearance'];
|
|
60
|
+
export type AudioTagTypeConfigKey = `${StickType | 'Any'}-Audio-${AudioAppearance}`;
|
|
61
|
+
export type ContentTypeConfigKey = `${StickType | 'Any'}-${TagContentType | 'Any'}` | TagContentType | AudioTagTypeConfigKey;
|
|
62
|
+
export type ContentTypeConfigKeySplit = [StickType | 'Any', TagContentType | 'Any'] | [TagContentType] | [StickType | 'Any', 'Audio', AudioAppearance];
|
|
63
|
+
export type PointTag<C extends TagContentType = TagContentType> = Tag<C, '2DPoint' | '3DPoint'>;
|
|
64
64
|
/** 二维标签 */
|
|
65
|
-
export
|
|
65
|
+
export type Point2DTag<C extends TagContentType = TagContentType> = Tag<C, '2DPoint'>;
|
|
66
66
|
/** 三维标签 */
|
|
67
|
-
export
|
|
67
|
+
export type Point3DTag<C extends TagContentType = TagContentType> = Tag<C, '3DPoint'>;
|
|
68
68
|
/** 三维贴片 */
|
|
69
|
-
export
|
|
69
|
+
export type PlaneTag<C extends TagContentType = TagContentType> = Tag<C, 'Plane'>;
|
|
70
70
|
/** @deprecated 'Tag2D' replaced by pointType: 'Point2DTag' */
|
|
71
|
-
export
|
|
71
|
+
export type Tag2D<C extends TagContentType = TagContentType> = Point2DTag<C>;
|
|
72
72
|
/** @deprecated 'Tag3D' replaced by pointType: 'Point3DTag' */
|
|
73
|
-
export
|
|
73
|
+
export type Tag3D<C extends TagContentType = TagContentType> = Point3DTag<C>;
|
|
@@ -11,6 +11,6 @@ import * as _PanoVideoPluginType from './typings';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const PanoVideoPlugin: FivePlugin<undefined, PanoVideoPluginController>;
|
|
13
13
|
export { _PanoVideoPluginType as PanoVideoPluginType };
|
|
14
|
-
export
|
|
15
|
-
export
|
|
14
|
+
export type PanoVideoPluginParameterType = undefined;
|
|
15
|
+
export type PanoVideoPluginReturnType = InstanceType<typeof PanoVideoPluginController>;
|
|
16
16
|
export default PanoVideoPlugin;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as BasePlugin from './BasePlugin';
|
|
2
|
-
|
|
2
|
+
type State = BasePlugin.State;
|
|
3
3
|
interface EventMap<PluginState, PluginData> extends BasePlugin.EventMap<PluginState> {
|
|
4
4
|
/** 数据变更 */
|
|
5
5
|
dataChange: (data: PluginData, prevData?: PluginData) => void;
|
|
@@ -7,7 +7,7 @@ export interface PaintBrushConfigs {
|
|
|
7
7
|
onUndoText?: string;
|
|
8
8
|
onExitText?: string;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type PaintBrushEventMap = {
|
|
11
11
|
readyChange: (ready: boolean) => void;
|
|
12
12
|
stateChange: (state: PaintBrushAction, userAction: boolean) => void;
|
|
13
13
|
};
|
|
@@ -2,6 +2,6 @@ import type { Parameters } from './typing';
|
|
|
2
2
|
import type { FivePlugin } from '@realsee/five';
|
|
3
3
|
import { Controller } from './Controller';
|
|
4
4
|
export declare const MapviewFloorplanPlugin: FivePlugin<undefined | Parameters, Controller>;
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type MapviewFloorplanPluginParameterType = Parameters | undefined;
|
|
6
|
+
export type MapviewFloorplanPluginReturnType = InstanceType<typeof Controller>;
|
|
7
7
|
export default MapviewFloorplanPlugin;
|
|
@@ -2,6 +2,6 @@ import type { Parameters } from './typing';
|
|
|
2
2
|
import type { FivePlugin } from '@realsee/five';
|
|
3
3
|
import { Controller } from './Controller';
|
|
4
4
|
export declare const ModelFloorplanPlugin: FivePlugin<undefined | Parameters, Controller>;
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type ModelFloorplanPluginParameterType = Parameters | undefined;
|
|
6
|
+
export type ModelFloorplanPluginReturnType = InstanceType<typeof Controller>;
|
|
7
7
|
export default ModelFloorplanPlugin;
|