@realsee/dnalogel 2.0.1 → 2.0.2-alpha
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/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/CSS3DRenderPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/CSS3DRenderPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/CSS3DRenderPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/CameraMovementPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/CameraMovementPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/CameraMovementPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/CameraMovementPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/CruisePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/CruisePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/CruisePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/CruisePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/CruisePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/CruisePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/CruisePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/CruisePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/CruisePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/CruisePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/GuideLinePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/GuideLinePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/GuideLinePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/GuideLinePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/GuideLinePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/GuideLinePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/GuideLinePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ItemLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ItemLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ItemLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ItemLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ModelChassisCompassPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ModelChassisCompassPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ModelChassisCompassPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ModelEntryDoorGuidePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ModelEntryDoorGuidePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ModelItemLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ModelItemLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ModelItemLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ModelRoomLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ModelRoomLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ModelRoomLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ModelTVVideoPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ModelTVVideoPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ModelTVVideoPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/ModelViewPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/ModelViewPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/ModelViewPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/ModelViewPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/ModelViewPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/ModelViewPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/ModelViewPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoCompassPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoCompassPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoCompassPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoCompassPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoCursorRaycasterPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoCursorRaycasterPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoCursorRaycasterPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoDoorLabelPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoDoorLabelPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoDoorLabelPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoMeasurePlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoMeasurePlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoMeasurePlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoMeasurePlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoMeasurePlugin/index.js +75 -31
- package/dist/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoRulerPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoRulerPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoRulerPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoRulerPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoRulerPlugin/index.js +17 -0
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoRulerProPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoRulerProPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoRulerProPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoRulerProPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/PanoSpatialTagPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/PanoSpatialTagPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/PanoSpatialTagPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/floorplan/MapviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/floorplan/MapviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/floorplan/MapviewFloorplanPlugin/index.js +233 -157
- package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/floorplan/ModelFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/floorplan/ModelFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/floorplan/ModelFloorplanPlugin/index.js +240 -163
- package/dist/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/dist/floorplan/TopviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/dist/floorplan/TopviewFloorplanPlugin/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/dist/floorplan/TopviewFloorplanPlugin/index.js +233 -157
- package/dist/index.es.js +303 -194
- package/dist/index.js +303 -194
- package/dist/index.umd.js +303 -194
- package/docs/assets/search.js +1 -1
- package/docs/classes/CruisePluginController.html +14 -14
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +1 -1
- package/docs/interfaces/CSS3DRenderPluginExportType.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +7 -7
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +6 -6
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +1 -1
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
- package/docs/interfaces/FloorplanServerEntrance.html +7 -7
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +1 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/ModelViewPluginExportType.html +1 -1
- package/docs/interfaces/OpenParameter.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +5 -1
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginState.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
- package/docs/interfaces/Point.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -1
- package/docs/interfaces/RoomInfo.html +1 -1
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/modules.html +18 -18
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +8 -4
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +21 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +0 -4
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -16
- package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -2
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -13
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +4 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +24 -1
- package/libs/PanoMeasurePlugin/Model/index.d.ts +3 -6
- package/libs/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/libs/PanoMeasurePlugin/typings/index.js +1 -0
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +2 -2
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +2 -1
- package/libs/PanoRulerPlugin/Plugin.d.ts +5 -2
- package/libs/PanoRulerPlugin/Plugin.js +17 -0
- package/libs/floorplan/Components/CurrentFloor.js +32 -20
- package/libs/floorplan/Components/Main.js +31 -19
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +24 -13
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +40 -34
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +46 -28
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +61 -43
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +7 -6
- package/libs/floorplan/ModelFloorplanPlugin/typing.d.ts +15 -7
- package/package.json +2 -1
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import type Line from '../Model/line';
|
|
2
1
|
import type Magnifier from '../Modules/Magnifier';
|
|
3
2
|
import type FiveHelper from '../Modules/FiveHelper';
|
|
4
3
|
import type { Group } from 'three';
|
|
5
4
|
import type { Model } from '../Model';
|
|
5
|
+
import type { Config } from '../typings';
|
|
6
6
|
import type { PanoMeasurePluginEvent } from '../typings/event.type';
|
|
7
7
|
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
8
8
|
import type { Five, Intersection, IntersectMeshInterface, Subscribe } from '@realsee/five';
|
|
9
9
|
import type { OpenParameter } from '../typings/data';
|
|
10
|
+
import Line from '../Model/line';
|
|
10
11
|
export interface IControllerParams {
|
|
11
12
|
five: Five;
|
|
12
13
|
group: Group;
|
|
13
14
|
model: Model;
|
|
15
|
+
config: Config;
|
|
14
16
|
mouseGroup: Group;
|
|
15
17
|
container: Element;
|
|
16
18
|
magnifier: Magnifier;
|
|
@@ -19,10 +21,12 @@ export interface IControllerParams {
|
|
|
19
21
|
hook: Subscribe<PanoMeasurePluginEvent>;
|
|
20
22
|
userDistanceItemCreator?: () => UserDistanceItem;
|
|
21
23
|
}
|
|
22
|
-
export default
|
|
24
|
+
export default class BaseController {
|
|
25
|
+
model: Model;
|
|
23
26
|
protected five: Five;
|
|
24
27
|
protected group: Group;
|
|
25
|
-
protected
|
|
28
|
+
protected config: Config;
|
|
29
|
+
protected dashed: Line;
|
|
26
30
|
protected disposed: boolean;
|
|
27
31
|
protected isMobile: boolean;
|
|
28
32
|
protected mouseGroup: Group;
|
|
@@ -32,8 +36,8 @@ export default abstract class BaseController {
|
|
|
32
36
|
protected magnifier: IControllerParams['magnifier'];
|
|
33
37
|
protected userDistanceItemCreator: IControllerParams['userDistanceItemCreator'];
|
|
34
38
|
constructor(params: IControllerParams);
|
|
39
|
+
updateDistanceUI: () => void;
|
|
35
40
|
protected removeLine(line: Line): void;
|
|
36
|
-
protected updateDistanceUI: () => void;
|
|
37
41
|
protected updateMouseGroup(intersection: Intersection, mesh?: IntersectMeshInterface): Group;
|
|
38
42
|
protected dispose(): void;
|
|
39
43
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { LineJson } from '../typings/data';
|
|
2
|
-
import { Model } from '../Model';
|
|
3
2
|
import Line from '../Model/line';
|
|
4
3
|
import BaseController, { IControllerParams } from './BaseController';
|
|
5
4
|
export interface EditEvent {
|
|
@@ -7,15 +6,12 @@ export interface EditEvent {
|
|
|
7
6
|
}
|
|
8
7
|
export default class EditController extends BaseController {
|
|
9
8
|
type: string;
|
|
10
|
-
model: Model;
|
|
11
9
|
private pressPoint?;
|
|
12
10
|
private hasAppendDashed;
|
|
13
11
|
private hasAppendMouseGroup;
|
|
14
12
|
private fiveElement?;
|
|
15
13
|
/** 上一个端点位置 */
|
|
16
14
|
private lastPoint;
|
|
17
|
-
/** 鼠标点到上一个端点连接的虚线 */
|
|
18
|
-
private dashed;
|
|
19
15
|
private hammer?;
|
|
20
16
|
/** 根据 intersection 更新放大镜和吸附点 */
|
|
21
17
|
private onIntersectionUpdate;
|
|
@@ -15,8 +15,6 @@ export default class MixedController extends BaseController {
|
|
|
15
15
|
private mobileNowPoint;
|
|
16
16
|
private highlightedLines;
|
|
17
17
|
private deleteDom;
|
|
18
|
-
/** 圆环点到上一个端点连接的虚线 */
|
|
19
|
-
private dashed;
|
|
20
18
|
constructor(params: IControllerParams);
|
|
21
19
|
dispose(): void;
|
|
22
20
|
highlightLine(line: Line): void;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { Config } from '../typings';
|
|
1
2
|
import type { OpenParameter, PluginData } from '../typings/data';
|
|
2
3
|
import type { PanoMeasurePluginEvent } from '../typings/event.type';
|
|
3
4
|
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
4
5
|
import Magnifier, { MagnifierParameter } from '../Modules/Magnifier';
|
|
5
6
|
import { Five, Subscribe } from '@realsee/five';
|
|
6
7
|
export declare type Mode = 'Watch' | 'Edit' | 'Mixed' | 'View';
|
|
7
|
-
export interface PanoMeasureParameterType {
|
|
8
|
+
export interface PanoMeasureParameterType extends Partial<Config> {
|
|
8
9
|
openParams?: OpenParameter;
|
|
9
10
|
magnifierParams?: MagnifierParameter;
|
|
10
11
|
useUIController?: boolean;
|
|
@@ -18,6 +19,7 @@ export default class MeasureController {
|
|
|
18
19
|
private five;
|
|
19
20
|
private model;
|
|
20
21
|
private group;
|
|
22
|
+
private config;
|
|
21
23
|
private fiveHelper;
|
|
22
24
|
private useUIController?;
|
|
23
25
|
private params;
|
|
@@ -67,4 +69,5 @@ export default class MeasureController {
|
|
|
67
69
|
* @param isMobile true为移动端模式,false为pc端
|
|
68
70
|
*/
|
|
69
71
|
changeIsMobile(isMobile: boolean): void;
|
|
72
|
+
changeConfigs(config: Partial<Config>): void;
|
|
70
73
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Config } from '../typings';
|
|
1
2
|
import type { PluginData } from '../typings/data';
|
|
2
|
-
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
3
3
|
import Line from './line';
|
|
4
4
|
import Point from './point';
|
|
5
5
|
import { Subscribe, SubscribeEventMap } from '@realsee/five';
|
|
@@ -14,16 +14,13 @@ interface IModelEvent extends SubscribeEventMap {
|
|
|
14
14
|
*/
|
|
15
15
|
lineRemoved: (lines: Line) => void;
|
|
16
16
|
}
|
|
17
|
-
export interface ModelParams {
|
|
18
|
-
userDistanceItemCreator?: () => UserDistanceItem;
|
|
19
|
-
}
|
|
20
17
|
export declare class Model {
|
|
21
18
|
readonly lines: Line[];
|
|
22
19
|
readonly points: Point[];
|
|
23
|
-
readonly params:
|
|
20
|
+
readonly params: Config;
|
|
24
21
|
readonly polylines: Polyline[];
|
|
25
22
|
readonly hook: Subscribe<IModelEvent>;
|
|
26
|
-
constructor(params:
|
|
23
|
+
constructor(params: Config);
|
|
27
24
|
addLine(line: Line): this;
|
|
28
25
|
removeLineByID(lineID: string): void;
|
|
29
26
|
removeLine(line: Line): this;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
2
|
+
export interface Config {
|
|
3
|
+
userDistanceItemCreator: undefined | (() => UserDistanceItem);
|
|
4
|
+
/** 展示 distance DOM 时,使用的转换函数
|
|
5
|
+
* @param distance 单位是 m
|
|
6
|
+
*/
|
|
7
|
+
getDistanceText: (distance: number) => string;
|
|
8
|
+
}
|
|
@@ -12,12 +12,12 @@ export interface UserDistanceItem {
|
|
|
12
12
|
polyline: PolylineCompletelyJson;
|
|
13
13
|
}) => void;
|
|
14
14
|
}
|
|
15
|
-
export interface
|
|
15
|
+
export interface CreateDistanceItemProps {
|
|
16
16
|
line: Line;
|
|
17
17
|
userDistanceItem?: UserDistanceItem;
|
|
18
18
|
clickCallback?: (item: DistanceItem) => unknown;
|
|
19
19
|
}
|
|
20
|
-
export declare function createDistanceItem(props:
|
|
20
|
+
export declare function createDistanceItem(props: CreateDistanceItemProps): {
|
|
21
21
|
lineID: string;
|
|
22
22
|
ndcPosition: Vector3;
|
|
23
23
|
update: (five: Five) => void;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { FivePlugin } from '@realsee/five';
|
|
2
2
|
import type { RoomInfo, RoomRules } from './typings';
|
|
3
|
-
|
|
4
|
-
distanceText
|
|
3
|
+
interface PanoRulerPluginConfig {
|
|
4
|
+
distanceText: (distance: number) => string;
|
|
5
|
+
}
|
|
6
|
+
export interface PanoRulerPluginOptions extends Partial<PanoRulerPluginConfig> {
|
|
5
7
|
className?: string;
|
|
6
8
|
}
|
|
7
9
|
interface PanoRulerPluginPluginState {
|
|
@@ -19,6 +21,7 @@ export interface PanoRulerPluginExportType {
|
|
|
19
21
|
disable: () => void;
|
|
20
22
|
load: (roomInfo?: RoomInfo, roomRules?: RoomRules, options?: PanoRulerPluginOptions) => Promise<boolean>;
|
|
21
23
|
state: PanoRulerPluginPluginState;
|
|
24
|
+
changeConfigs: (config: Partial<PanoRulerPluginConfig>) => void;
|
|
22
25
|
}
|
|
23
26
|
/**
|
|
24
27
|
* 全景标尺插件
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PartialDeep } from 'type-fest';
|
|
1
2
|
import type { BaseOptions } from '../../base/BasePlugin';
|
|
2
3
|
import type { Five } from '@realsee/five';
|
|
3
4
|
import type { ShowState } from '../utils/correctFiveState';
|
|
@@ -56,8 +57,8 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, P
|
|
|
56
57
|
/** 隐藏户型图 */
|
|
57
58
|
hide: (options?: Partial<HideOptions>) => Promise<void>;
|
|
58
59
|
/** 更改插件 State */
|
|
59
|
-
setState(state:
|
|
60
|
-
changeConfigs(
|
|
60
|
+
setState(state: PartialDeep<State>, options?: BaseOptions): void;
|
|
61
|
+
changeConfigs(config: Partial<Config>, userAction?: boolean): void;
|
|
61
62
|
/** 更新户型图大小 */
|
|
62
63
|
updateSize: () => void;
|
|
63
64
|
protected formatData(serverData: PluginServerData): Promise<PluginData>;
|
|
@@ -21,6 +21,12 @@ export interface Config {
|
|
|
21
21
|
ruleLabelsEnable: boolean;
|
|
22
22
|
/** 是否要启用户型图分间标签功能,默认为 true */
|
|
23
23
|
roomLabelsEnable: boolean;
|
|
24
|
+
/** 是否支持房屋标签自适应展示,默认为 true
|
|
25
|
+
* @description
|
|
26
|
+
* * 标签边框超过房间边框时,自动隐藏;不超过时自动展示。
|
|
27
|
+
* * 鼠标 hover 时,自动展示。
|
|
28
|
+
* */
|
|
29
|
+
adaptiveRoomLabelVisibleEnable: boolean;
|
|
24
30
|
/** 自定义「雷达」图标 */
|
|
25
31
|
cameraImageUrl: string;
|
|
26
32
|
/** 计算户型图大小时,以模型的哪个高度为依据,默认为 BOUNDING_CENTER
|
|
@@ -31,12 +37,14 @@ export interface Config {
|
|
|
31
37
|
attachedTo: FLOOR_PLAN_ATTACHED_TO;
|
|
32
38
|
/** 分间标签的自定义函数,通过返回自定义 DOM 替换对应分间的标签 */
|
|
33
39
|
getLabelElement: undefined | ((room: FloorplanRoomItem) => Element | null);
|
|
34
|
-
/**
|
|
35
|
-
* @
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
/** 自定义分间面积文本
|
|
41
|
+
* @param area 分间原始面积,单位是 mm²
|
|
42
|
+
*/
|
|
43
|
+
getRoomAreaText: (areaSize: number) => string;
|
|
44
|
+
/** 自定义标尺距离文本
|
|
45
|
+
* @param distance 原始标尺距离,单位是 mm
|
|
46
|
+
*/
|
|
47
|
+
getRuleDistanceText: (distance: number) => string;
|
|
40
48
|
}
|
|
41
49
|
export interface Parameters extends Partial<Config> {
|
|
42
50
|
selector?: string | Element;
|
|
@@ -80,7 +88,7 @@ export interface EventMap extends BasePlugin.EventMap<State, FloorplanData> {
|
|
|
80
88
|
* 点击户型图的回调
|
|
81
89
|
* @return 当返回 false 时,会阻止默认行为
|
|
82
90
|
*/
|
|
83
|
-
click: () => boolean |
|
|
91
|
+
click: () => boolean | undefined;
|
|
84
92
|
}
|
|
85
93
|
export interface PluginServerData extends BasePlugin.ServerData {
|
|
86
94
|
version: number;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import type Line from '../Model/line';
|
|
2
1
|
import type Magnifier from '../Modules/Magnifier';
|
|
3
2
|
import type FiveHelper from '../Modules/FiveHelper';
|
|
4
3
|
import type { Group } from 'three';
|
|
5
4
|
import type { Model } from '../Model';
|
|
5
|
+
import type { Config } from '../typings';
|
|
6
6
|
import type { PanoMeasurePluginEvent } from '../typings/event.type';
|
|
7
7
|
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
8
8
|
import type { Five, Intersection, IntersectMeshInterface, Subscribe } from '@realsee/five';
|
|
9
9
|
import type { OpenParameter } from '../typings/data';
|
|
10
|
+
import Line from '../Model/line';
|
|
10
11
|
export interface IControllerParams {
|
|
11
12
|
five: Five;
|
|
12
13
|
group: Group;
|
|
13
14
|
model: Model;
|
|
15
|
+
config: Config;
|
|
14
16
|
mouseGroup: Group;
|
|
15
17
|
container: Element;
|
|
16
18
|
magnifier: Magnifier;
|
|
@@ -19,10 +21,12 @@ export interface IControllerParams {
|
|
|
19
21
|
hook: Subscribe<PanoMeasurePluginEvent>;
|
|
20
22
|
userDistanceItemCreator?: () => UserDistanceItem;
|
|
21
23
|
}
|
|
22
|
-
export default
|
|
24
|
+
export default class BaseController {
|
|
25
|
+
model: Model;
|
|
23
26
|
protected five: Five;
|
|
24
27
|
protected group: Group;
|
|
25
|
-
protected
|
|
28
|
+
protected config: Config;
|
|
29
|
+
protected dashed: Line;
|
|
26
30
|
protected disposed: boolean;
|
|
27
31
|
protected isMobile: boolean;
|
|
28
32
|
protected mouseGroup: Group;
|
|
@@ -32,8 +36,8 @@ export default abstract class BaseController {
|
|
|
32
36
|
protected magnifier: IControllerParams['magnifier'];
|
|
33
37
|
protected userDistanceItemCreator: IControllerParams['userDistanceItemCreator'];
|
|
34
38
|
constructor(params: IControllerParams);
|
|
39
|
+
updateDistanceUI: () => void;
|
|
35
40
|
protected removeLine(line: Line): void;
|
|
36
|
-
protected updateDistanceUI: () => void;
|
|
37
41
|
protected updateMouseGroup(intersection: Intersection, mesh?: IntersectMeshInterface): Group;
|
|
38
42
|
protected dispose(): void;
|
|
39
43
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { LineJson } from '../typings/data';
|
|
2
|
-
import { Model } from '../Model';
|
|
3
2
|
import Line from '../Model/line';
|
|
4
3
|
import BaseController, { IControllerParams } from './BaseController';
|
|
5
4
|
export interface EditEvent {
|
|
@@ -7,15 +6,12 @@ export interface EditEvent {
|
|
|
7
6
|
}
|
|
8
7
|
export default class EditController extends BaseController {
|
|
9
8
|
type: string;
|
|
10
|
-
model: Model;
|
|
11
9
|
private pressPoint?;
|
|
12
10
|
private hasAppendDashed;
|
|
13
11
|
private hasAppendMouseGroup;
|
|
14
12
|
private fiveElement?;
|
|
15
13
|
/** 上一个端点位置 */
|
|
16
14
|
private lastPoint;
|
|
17
|
-
/** 鼠标点到上一个端点连接的虚线 */
|
|
18
|
-
private dashed;
|
|
19
15
|
private hammer?;
|
|
20
16
|
/** 根据 intersection 更新放大镜和吸附点 */
|
|
21
17
|
private onIntersectionUpdate;
|
|
@@ -15,8 +15,6 @@ export default class MixedController extends BaseController {
|
|
|
15
15
|
private mobileNowPoint;
|
|
16
16
|
private highlightedLines;
|
|
17
17
|
private deleteDom;
|
|
18
|
-
/** 圆环点到上一个端点连接的虚线 */
|
|
19
|
-
private dashed;
|
|
20
18
|
constructor(params: IControllerParams);
|
|
21
19
|
dispose(): void;
|
|
22
20
|
highlightLine(line: Line): void;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { Config } from '../typings';
|
|
1
2
|
import type { OpenParameter, PluginData } from '../typings/data';
|
|
2
3
|
import type { PanoMeasurePluginEvent } from '../typings/event.type';
|
|
3
4
|
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
4
5
|
import Magnifier, { MagnifierParameter } from '../Modules/Magnifier';
|
|
5
6
|
import { Five, Subscribe } from '@realsee/five';
|
|
6
7
|
export declare type Mode = 'Watch' | 'Edit' | 'Mixed' | 'View';
|
|
7
|
-
export interface PanoMeasureParameterType {
|
|
8
|
+
export interface PanoMeasureParameterType extends Partial<Config> {
|
|
8
9
|
openParams?: OpenParameter;
|
|
9
10
|
magnifierParams?: MagnifierParameter;
|
|
10
11
|
useUIController?: boolean;
|
|
@@ -18,6 +19,7 @@ export default class MeasureController {
|
|
|
18
19
|
private five;
|
|
19
20
|
private model;
|
|
20
21
|
private group;
|
|
22
|
+
private config;
|
|
21
23
|
private fiveHelper;
|
|
22
24
|
private useUIController?;
|
|
23
25
|
private params;
|
|
@@ -67,4 +69,5 @@ export default class MeasureController {
|
|
|
67
69
|
* @param isMobile true为移动端模式,false为pc端
|
|
68
70
|
*/
|
|
69
71
|
changeIsMobile(isMobile: boolean): void;
|
|
72
|
+
changeConfigs(config: Partial<Config>): void;
|
|
70
73
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Config } from '../typings';
|
|
1
2
|
import type { PluginData } from '../typings/data';
|
|
2
|
-
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
3
3
|
import Line from './line';
|
|
4
4
|
import Point from './point';
|
|
5
5
|
import { Subscribe, SubscribeEventMap } from '@realsee/five';
|
|
@@ -14,16 +14,13 @@ interface IModelEvent extends SubscribeEventMap {
|
|
|
14
14
|
*/
|
|
15
15
|
lineRemoved: (lines: Line) => void;
|
|
16
16
|
}
|
|
17
|
-
export interface ModelParams {
|
|
18
|
-
userDistanceItemCreator?: () => UserDistanceItem;
|
|
19
|
-
}
|
|
20
17
|
export declare class Model {
|
|
21
18
|
readonly lines: Line[];
|
|
22
19
|
readonly points: Point[];
|
|
23
|
-
readonly params:
|
|
20
|
+
readonly params: Config;
|
|
24
21
|
readonly polylines: Polyline[];
|
|
25
22
|
readonly hook: Subscribe<IModelEvent>;
|
|
26
|
-
constructor(params:
|
|
23
|
+
constructor(params: Config);
|
|
27
24
|
addLine(line: Line): this;
|
|
28
25
|
removeLineByID(lineID: string): void;
|
|
29
26
|
removeLine(line: Line): this;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
2
|
+
export interface Config {
|
|
3
|
+
userDistanceItemCreator: undefined | (() => UserDistanceItem);
|
|
4
|
+
/** 展示 distance DOM 时,使用的转换函数
|
|
5
|
+
* @param distance 单位是 m
|
|
6
|
+
*/
|
|
7
|
+
getDistanceText: (distance: number) => string;
|
|
8
|
+
}
|
|
@@ -12,12 +12,12 @@ export interface UserDistanceItem {
|
|
|
12
12
|
polyline: PolylineCompletelyJson;
|
|
13
13
|
}) => void;
|
|
14
14
|
}
|
|
15
|
-
export interface
|
|
15
|
+
export interface CreateDistanceItemProps {
|
|
16
16
|
line: Line;
|
|
17
17
|
userDistanceItem?: UserDistanceItem;
|
|
18
18
|
clickCallback?: (item: DistanceItem) => unknown;
|
|
19
19
|
}
|
|
20
|
-
export declare function createDistanceItem(props:
|
|
20
|
+
export declare function createDistanceItem(props: CreateDistanceItemProps): {
|
|
21
21
|
lineID: string;
|
|
22
22
|
ndcPosition: Vector3;
|
|
23
23
|
update: (five: Five) => void;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { FivePlugin } from '@realsee/five';
|
|
2
2
|
import type { RoomInfo, RoomRules } from './typings';
|
|
3
|
-
|
|
4
|
-
distanceText
|
|
3
|
+
interface PanoRulerPluginConfig {
|
|
4
|
+
distanceText: (distance: number) => string;
|
|
5
|
+
}
|
|
6
|
+
export interface PanoRulerPluginOptions extends Partial<PanoRulerPluginConfig> {
|
|
5
7
|
className?: string;
|
|
6
8
|
}
|
|
7
9
|
interface PanoRulerPluginPluginState {
|
|
@@ -19,6 +21,7 @@ export interface PanoRulerPluginExportType {
|
|
|
19
21
|
disable: () => void;
|
|
20
22
|
load: (roomInfo?: RoomInfo, roomRules?: RoomRules, options?: PanoRulerPluginOptions) => Promise<boolean>;
|
|
21
23
|
state: PanoRulerPluginPluginState;
|
|
24
|
+
changeConfigs: (config: Partial<PanoRulerPluginConfig>) => void;
|
|
22
25
|
}
|
|
23
26
|
/**
|
|
24
27
|
* 全景标尺插件
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PartialDeep } from 'type-fest';
|
|
1
2
|
import type { BaseOptions } from '../../base/BasePlugin';
|
|
2
3
|
import type { Five } from '@realsee/five';
|
|
3
4
|
import type { ShowState } from '../utils/correctFiveState';
|
|
@@ -56,8 +57,8 @@ export declare class Controller extends BasePlugin.Controller<State, EventMap, P
|
|
|
56
57
|
/** 隐藏户型图 */
|
|
57
58
|
hide: (options?: Partial<HideOptions>) => Promise<void>;
|
|
58
59
|
/** 更改插件 State */
|
|
59
|
-
setState(state:
|
|
60
|
-
changeConfigs(
|
|
60
|
+
setState(state: PartialDeep<State>, options?: BaseOptions): void;
|
|
61
|
+
changeConfigs(config: Partial<Config>, userAction?: boolean): void;
|
|
61
62
|
/** 更新户型图大小 */
|
|
62
63
|
updateSize: () => void;
|
|
63
64
|
protected formatData(serverData: PluginServerData): Promise<PluginData>;
|
|
@@ -21,6 +21,12 @@ export interface Config {
|
|
|
21
21
|
ruleLabelsEnable: boolean;
|
|
22
22
|
/** 是否要启用户型图分间标签功能,默认为 true */
|
|
23
23
|
roomLabelsEnable: boolean;
|
|
24
|
+
/** 是否支持房屋标签自适应展示,默认为 true
|
|
25
|
+
* @description
|
|
26
|
+
* * 标签边框超过房间边框时,自动隐藏;不超过时自动展示。
|
|
27
|
+
* * 鼠标 hover 时,自动展示。
|
|
28
|
+
* */
|
|
29
|
+
adaptiveRoomLabelVisibleEnable: boolean;
|
|
24
30
|
/** 自定义「雷达」图标 */
|
|
25
31
|
cameraImageUrl: string;
|
|
26
32
|
/** 计算户型图大小时,以模型的哪个高度为依据,默认为 BOUNDING_CENTER
|
|
@@ -31,12 +37,14 @@ export interface Config {
|
|
|
31
37
|
attachedTo: FLOOR_PLAN_ATTACHED_TO;
|
|
32
38
|
/** 分间标签的自定义函数,通过返回自定义 DOM 替换对应分间的标签 */
|
|
33
39
|
getLabelElement: undefined | ((room: FloorplanRoomItem) => Element | null);
|
|
34
|
-
/**
|
|
35
|
-
* @
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
/** 自定义分间面积文本
|
|
41
|
+
* @param area 分间原始面积,单位是 mm²
|
|
42
|
+
*/
|
|
43
|
+
getRoomAreaText: (areaSize: number) => string;
|
|
44
|
+
/** 自定义标尺距离文本
|
|
45
|
+
* @param distance 原始标尺距离,单位是 mm
|
|
46
|
+
*/
|
|
47
|
+
getRuleDistanceText: (distance: number) => string;
|
|
40
48
|
}
|
|
41
49
|
export interface Parameters extends Partial<Config> {
|
|
42
50
|
selector?: string | Element;
|
|
@@ -80,7 +88,7 @@ export interface EventMap extends BasePlugin.EventMap<State, FloorplanData> {
|
|
|
80
88
|
* 点击户型图的回调
|
|
81
89
|
* @return 当返回 false 时,会阻止默认行为
|
|
82
90
|
*/
|
|
83
|
-
click: () => boolean |
|
|
91
|
+
click: () => boolean | undefined;
|
|
84
92
|
}
|
|
85
93
|
export interface PluginServerData extends BasePlugin.ServerData {
|
|
86
94
|
version: number;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import type Line from '../Model/line';
|
|
2
1
|
import type Magnifier from '../Modules/Magnifier';
|
|
3
2
|
import type FiveHelper from '../Modules/FiveHelper';
|
|
4
3
|
import type { Group } from 'three';
|
|
5
4
|
import type { Model } from '../Model';
|
|
5
|
+
import type { Config } from '../typings';
|
|
6
6
|
import type { PanoMeasurePluginEvent } from '../typings/event.type';
|
|
7
7
|
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
8
8
|
import type { Five, Intersection, IntersectMeshInterface, Subscribe } from '@realsee/five';
|
|
9
9
|
import type { OpenParameter } from '../typings/data';
|
|
10
|
+
import Line from '../Model/line';
|
|
10
11
|
export interface IControllerParams {
|
|
11
12
|
five: Five;
|
|
12
13
|
group: Group;
|
|
13
14
|
model: Model;
|
|
15
|
+
config: Config;
|
|
14
16
|
mouseGroup: Group;
|
|
15
17
|
container: Element;
|
|
16
18
|
magnifier: Magnifier;
|
|
@@ -19,10 +21,12 @@ export interface IControllerParams {
|
|
|
19
21
|
hook: Subscribe<PanoMeasurePluginEvent>;
|
|
20
22
|
userDistanceItemCreator?: () => UserDistanceItem;
|
|
21
23
|
}
|
|
22
|
-
export default
|
|
24
|
+
export default class BaseController {
|
|
25
|
+
model: Model;
|
|
23
26
|
protected five: Five;
|
|
24
27
|
protected group: Group;
|
|
25
|
-
protected
|
|
28
|
+
protected config: Config;
|
|
29
|
+
protected dashed: Line;
|
|
26
30
|
protected disposed: boolean;
|
|
27
31
|
protected isMobile: boolean;
|
|
28
32
|
protected mouseGroup: Group;
|
|
@@ -32,8 +36,8 @@ export default abstract class BaseController {
|
|
|
32
36
|
protected magnifier: IControllerParams['magnifier'];
|
|
33
37
|
protected userDistanceItemCreator: IControllerParams['userDistanceItemCreator'];
|
|
34
38
|
constructor(params: IControllerParams);
|
|
39
|
+
updateDistanceUI: () => void;
|
|
35
40
|
protected removeLine(line: Line): void;
|
|
36
|
-
protected updateDistanceUI: () => void;
|
|
37
41
|
protected updateMouseGroup(intersection: Intersection, mesh?: IntersectMeshInterface): Group;
|
|
38
42
|
protected dispose(): void;
|
|
39
43
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { LineJson } from '../typings/data';
|
|
2
|
-
import { Model } from '../Model';
|
|
3
2
|
import Line from '../Model/line';
|
|
4
3
|
import BaseController, { IControllerParams } from './BaseController';
|
|
5
4
|
export interface EditEvent {
|
|
@@ -7,15 +6,12 @@ export interface EditEvent {
|
|
|
7
6
|
}
|
|
8
7
|
export default class EditController extends BaseController {
|
|
9
8
|
type: string;
|
|
10
|
-
model: Model;
|
|
11
9
|
private pressPoint?;
|
|
12
10
|
private hasAppendDashed;
|
|
13
11
|
private hasAppendMouseGroup;
|
|
14
12
|
private fiveElement?;
|
|
15
13
|
/** 上一个端点位置 */
|
|
16
14
|
private lastPoint;
|
|
17
|
-
/** 鼠标点到上一个端点连接的虚线 */
|
|
18
|
-
private dashed;
|
|
19
15
|
private hammer?;
|
|
20
16
|
/** 根据 intersection 更新放大镜和吸附点 */
|
|
21
17
|
private onIntersectionUpdate;
|
|
@@ -15,8 +15,6 @@ export default class MixedController extends BaseController {
|
|
|
15
15
|
private mobileNowPoint;
|
|
16
16
|
private highlightedLines;
|
|
17
17
|
private deleteDom;
|
|
18
|
-
/** 圆环点到上一个端点连接的虚线 */
|
|
19
|
-
private dashed;
|
|
20
18
|
constructor(params: IControllerParams);
|
|
21
19
|
dispose(): void;
|
|
22
20
|
highlightLine(line: Line): void;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { Config } from '../typings';
|
|
1
2
|
import type { OpenParameter, PluginData } from '../typings/data';
|
|
2
3
|
import type { PanoMeasurePluginEvent } from '../typings/event.type';
|
|
3
4
|
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
4
5
|
import Magnifier, { MagnifierParameter } from '../Modules/Magnifier';
|
|
5
6
|
import { Five, Subscribe } from '@realsee/five';
|
|
6
7
|
export declare type Mode = 'Watch' | 'Edit' | 'Mixed' | 'View';
|
|
7
|
-
export interface PanoMeasureParameterType {
|
|
8
|
+
export interface PanoMeasureParameterType extends Partial<Config> {
|
|
8
9
|
openParams?: OpenParameter;
|
|
9
10
|
magnifierParams?: MagnifierParameter;
|
|
10
11
|
useUIController?: boolean;
|
|
@@ -18,6 +19,7 @@ export default class MeasureController {
|
|
|
18
19
|
private five;
|
|
19
20
|
private model;
|
|
20
21
|
private group;
|
|
22
|
+
private config;
|
|
21
23
|
private fiveHelper;
|
|
22
24
|
private useUIController?;
|
|
23
25
|
private params;
|
|
@@ -67,4 +69,5 @@ export default class MeasureController {
|
|
|
67
69
|
* @param isMobile true为移动端模式,false为pc端
|
|
68
70
|
*/
|
|
69
71
|
changeIsMobile(isMobile: boolean): void;
|
|
72
|
+
changeConfigs(config: Partial<Config>): void;
|
|
70
73
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Config } from '../typings';
|
|
1
2
|
import type { PluginData } from '../typings/data';
|
|
2
|
-
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
3
3
|
import Line from './line';
|
|
4
4
|
import Point from './point';
|
|
5
5
|
import { Subscribe, SubscribeEventMap } from '@realsee/five';
|
|
@@ -14,16 +14,13 @@ interface IModelEvent extends SubscribeEventMap {
|
|
|
14
14
|
*/
|
|
15
15
|
lineRemoved: (lines: Line) => void;
|
|
16
16
|
}
|
|
17
|
-
export interface ModelParams {
|
|
18
|
-
userDistanceItemCreator?: () => UserDistanceItem;
|
|
19
|
-
}
|
|
20
17
|
export declare class Model {
|
|
21
18
|
readonly lines: Line[];
|
|
22
19
|
readonly points: Point[];
|
|
23
|
-
readonly params:
|
|
20
|
+
readonly params: Config;
|
|
24
21
|
readonly polylines: Polyline[];
|
|
25
22
|
readonly hook: Subscribe<IModelEvent>;
|
|
26
|
-
constructor(params:
|
|
23
|
+
constructor(params: Config);
|
|
27
24
|
addLine(line: Line): this;
|
|
28
25
|
removeLineByID(lineID: string): void;
|
|
29
26
|
removeLine(line: Line): this;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { UserDistanceItem } from '../utils/distanceDom';
|
|
2
|
+
export interface Config {
|
|
3
|
+
userDistanceItemCreator: undefined | (() => UserDistanceItem);
|
|
4
|
+
/** 展示 distance DOM 时,使用的转换函数
|
|
5
|
+
* @param distance 单位是 m
|
|
6
|
+
*/
|
|
7
|
+
getDistanceText: (distance: number) => string;
|
|
8
|
+
}
|
|
@@ -12,12 +12,12 @@ export interface UserDistanceItem {
|
|
|
12
12
|
polyline: PolylineCompletelyJson;
|
|
13
13
|
}) => void;
|
|
14
14
|
}
|
|
15
|
-
export interface
|
|
15
|
+
export interface CreateDistanceItemProps {
|
|
16
16
|
line: Line;
|
|
17
17
|
userDistanceItem?: UserDistanceItem;
|
|
18
18
|
clickCallback?: (item: DistanceItem) => unknown;
|
|
19
19
|
}
|
|
20
|
-
export declare function createDistanceItem(props:
|
|
20
|
+
export declare function createDistanceItem(props: CreateDistanceItemProps): {
|
|
21
21
|
lineID: string;
|
|
22
22
|
ndcPosition: Vector3;
|
|
23
23
|
update: (five: Five) => void;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { FivePlugin } from '@realsee/five';
|
|
2
2
|
import type { RoomInfo, RoomRules } from './typings';
|
|
3
|
-
|
|
4
|
-
distanceText
|
|
3
|
+
interface PanoRulerPluginConfig {
|
|
4
|
+
distanceText: (distance: number) => string;
|
|
5
|
+
}
|
|
6
|
+
export interface PanoRulerPluginOptions extends Partial<PanoRulerPluginConfig> {
|
|
5
7
|
className?: string;
|
|
6
8
|
}
|
|
7
9
|
interface PanoRulerPluginPluginState {
|
|
@@ -19,6 +21,7 @@ export interface PanoRulerPluginExportType {
|
|
|
19
21
|
disable: () => void;
|
|
20
22
|
load: (roomInfo?: RoomInfo, roomRules?: RoomRules, options?: PanoRulerPluginOptions) => Promise<boolean>;
|
|
21
23
|
state: PanoRulerPluginPluginState;
|
|
24
|
+
changeConfigs: (config: Partial<PanoRulerPluginConfig>) => void;
|
|
22
25
|
}
|
|
23
26
|
/**
|
|
24
27
|
* 全景标尺插件
|