@realsee/dnalogel 2.1.0-alpha.3 → 2.1.0-alpha.4
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/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/CameraMovementPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/CameraMovementPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/CruisePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/CruisePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CruisePlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/GuideLinePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/GuideLinePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelViewPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelViewPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/Object3DHelperPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/Object3DHelperPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/Object3DHelperPlugin/index.js +224 -60
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoMeasurePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoMeasurePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoRulerPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoRulerPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoRulerProPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoRulerProPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoTagPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoTagPlugin/index.js +97 -78
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/index.es.js +262 -110
- package/dist/index.js +297 -145
- package/dist/index.umd.js +297 -145
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- 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/classes/Object3DHelperController.html +14 -7
- package/docs/classes/PanoTagPluginController.html +43 -43
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +15 -0
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/DimensionType.html +1 -0
- 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/LinkType.html +1 -0
- package/docs/enums/PointType.html +1 -0
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.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/Object3DHelperState.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 +1 -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/interfaces/Scissor.html +5 -5
- package/docs/interfaces/TagConfig.html +11 -0
- package/docs/interfaces/Tags.html +5 -0
- package/docs/modules.html +25 -17
- package/libs/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/libs/Object3DHelperPlugin/Controller.js +136 -7
- package/libs/Object3DHelperPlugin/typings.d.ts +24 -0
- package/libs/Object3DHelperPlugin/typings.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +2 -2
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +9 -9
- package/libs/PanoTagPlugin/Components/Tag/MediaPanel.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +172 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +12 -12
- package/libs/PanoTagPlugin/Components/TagWrapper.js +9 -1
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/PanoTagPlugin/index.d.ts +1 -0
- package/libs/PanoTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/mocks/mock1.js +1 -1
- package/libs/PanoTagPlugin/mocks/mock6.js +1 -1
- package/libs/PanoTagPlugin/tag.config.js +1 -1
- package/libs/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/libs/PanoTagPlugin/typings/tag.js +1 -1
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +4 -3
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +17 -1
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +9 -22
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +3 -0
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +17 -17
- package/libs/shared-utils/Object3DHelper/index.js +0 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -19327,13 +19327,13 @@ function sleep(duration) {
|
|
|
19327
19327
|
const VERSION$3 = 'v1.0.6';
|
|
19328
19328
|
const PLUGIN_NAME$2 = 'CruisePlugin';
|
|
19329
19329
|
const PLUGIN$1 = `${PLUGIN_NAME$2}@${VERSION$3}`;
|
|
19330
|
-
const disposedErrorLog$
|
|
19330
|
+
const disposedErrorLog$2 = () => {
|
|
19331
19331
|
console.error(`${PLUGIN$1} is disposed`);
|
|
19332
19332
|
};
|
|
19333
|
-
const disableWarnLog$
|
|
19333
|
+
const disableWarnLog$2 = () => {
|
|
19334
19334
|
console.warn(`${PLUGIN$1} is disabled`);
|
|
19335
19335
|
};
|
|
19336
|
-
const disableErrorLog$
|
|
19336
|
+
const disableErrorLog$2 = () => {
|
|
19337
19337
|
console.error(`${PLUGIN$1} is disabled`);
|
|
19338
19338
|
};
|
|
19339
19339
|
const pauseDataMap = new Map();
|
|
@@ -19404,7 +19404,7 @@ class CruisePluginController extends Controller$6 {
|
|
|
19404
19404
|
async load(serverData, state, userAction) {
|
|
19405
19405
|
var _a, _b, _c, _d, _e;
|
|
19406
19406
|
if (this.state.disposed)
|
|
19407
|
-
return disposedErrorLog$
|
|
19407
|
+
return disposedErrorLog$2();
|
|
19408
19408
|
if (!this.privateState.fiveOriginGetProgress) {
|
|
19409
19409
|
if (!((_b = (_a = this.five.controller) === null || _a === void 0 ? void 0 : _a.cameraMotion) === null || _b === void 0 ? void 0 : _b.getProgress)) {
|
|
19410
19410
|
await this.waitFiveLoaded();
|
|
@@ -19524,11 +19524,11 @@ class CruisePluginController extends Controller$6 {
|
|
|
19524
19524
|
setState(state, options) {
|
|
19525
19525
|
var _a;
|
|
19526
19526
|
if (this.state.disposed)
|
|
19527
|
-
return disposedErrorLog$
|
|
19527
|
+
return disposedErrorLog$2();
|
|
19528
19528
|
if (!this.state.enabled) {
|
|
19529
19529
|
// when plugin is disabled, only can change enabled or disposed to true
|
|
19530
19530
|
if (state.enabled !== true && state.disposed !== true)
|
|
19531
|
-
return disableErrorLog$
|
|
19531
|
+
return disableErrorLog$2();
|
|
19532
19532
|
}
|
|
19533
19533
|
const prevState = Object.assign({}, this.state);
|
|
19534
19534
|
this.state = Object.assign(Object.assign({}, this.state), state);
|
|
@@ -20040,7 +20040,7 @@ class CruisePluginController extends Controller$6 {
|
|
|
20040
20040
|
return func();
|
|
20041
20041
|
else {
|
|
20042
20042
|
if (options === null || options === void 0 ? void 0 : options.warnLog)
|
|
20043
|
-
disableWarnLog$
|
|
20043
|
+
disableWarnLog$2();
|
|
20044
20044
|
}
|
|
20045
20045
|
}
|
|
20046
20046
|
/**
|
|
@@ -20303,7 +20303,7 @@ var ContentType;
|
|
|
20303
20303
|
/** 营销标签 */
|
|
20304
20304
|
ContentType["Marketing"] = "Marketing";
|
|
20305
20305
|
/** 图片视频贴片 */
|
|
20306
|
-
ContentType["
|
|
20306
|
+
ContentType["MediaPlane"] = "MediaPlane";
|
|
20307
20307
|
/** 其他/自定义标签 */
|
|
20308
20308
|
ContentType["Custom"] = "Custom";
|
|
20309
20309
|
})(ContentType || (ContentType = {}));
|
|
@@ -20495,7 +20495,7 @@ function add_css$j(target) {
|
|
|
20495
20495
|
append_styles(target, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
|
|
20496
20496
|
}
|
|
20497
20497
|
|
|
20498
|
-
// (
|
|
20498
|
+
// (23:0) {#if visible}
|
|
20499
20499
|
function create_if_block$f(ctx) {
|
|
20500
20500
|
let div;
|
|
20501
20501
|
let div_style_value;
|
|
@@ -20660,7 +20660,7 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
|
20660
20660
|
let { blurRadius } = $$props;
|
|
20661
20661
|
let { spreadRadius } = $$props;
|
|
20662
20662
|
let { opacity = 0.15 } = $$props;
|
|
20663
|
-
let { zIndex =
|
|
20663
|
+
let { zIndex = undefined } = $$props;
|
|
20664
20664
|
|
|
20665
20665
|
$$self.$$set = $$props => {
|
|
20666
20666
|
if ('inDelay' in $$props) $$invalidate(0, inDelay = $$props.inDelay);
|
|
@@ -20970,8 +20970,7 @@ function create_if_block$e(ctx) {
|
|
|
20970
20970
|
props: {
|
|
20971
20971
|
center: true,
|
|
20972
20972
|
blurRadius: 9,
|
|
20973
|
-
spreadRadius: 3
|
|
20974
|
-
zIndex: -1
|
|
20973
|
+
spreadRadius: 3
|
|
20975
20974
|
}
|
|
20976
20975
|
});
|
|
20977
20976
|
|
|
@@ -23309,8 +23308,7 @@ function create_if_block$7(ctx) {
|
|
|
23309
23308
|
props: {
|
|
23310
23309
|
center: true,
|
|
23311
23310
|
blurRadius: 15,
|
|
23312
|
-
spreadRadius: 6
|
|
23313
|
-
zIndex: -1
|
|
23311
|
+
spreadRadius: 6
|
|
23314
23312
|
}
|
|
23315
23313
|
});
|
|
23316
23314
|
|
|
@@ -23892,13 +23890,13 @@ class AudioTag extends SvelteComponent {
|
|
|
23892
23890
|
}
|
|
23893
23891
|
}
|
|
23894
23892
|
|
|
23895
|
-
/* src/PanoTagPlugin/Components/Tag/
|
|
23893
|
+
/* src/PanoTagPlugin/Components/Tag/MediaPlane.svelte generated by Svelte v3.50.1 */
|
|
23896
23894
|
|
|
23897
23895
|
function add_css$8(target) {
|
|
23898
23896
|
append_styles(target, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
23899
23897
|
}
|
|
23900
23898
|
|
|
23901
|
-
// (
|
|
23899
|
+
// (18:0) {#if tag.state && mediaData}
|
|
23902
23900
|
function create_if_block$5(ctx) {
|
|
23903
23901
|
let div;
|
|
23904
23902
|
let media;
|
|
@@ -23906,8 +23904,10 @@ function create_if_block$5(ctx) {
|
|
|
23906
23904
|
|
|
23907
23905
|
media = new Media({
|
|
23908
23906
|
props: {
|
|
23909
|
-
unfolded: /*unfolded*/ ctx[
|
|
23910
|
-
mediaData: /*mediaData*/ ctx[
|
|
23907
|
+
unfolded: /*unfolded*/ ctx[3],
|
|
23908
|
+
mediaData: /*mediaData*/ ctx[2],
|
|
23909
|
+
objectFit: /*objectFit*/ ctx[1],
|
|
23910
|
+
enableCarousel: true,
|
|
23911
23911
|
inDelay: 500,
|
|
23912
23912
|
duration: 500
|
|
23913
23913
|
}
|
|
@@ -23926,8 +23926,9 @@ function create_if_block$5(ctx) {
|
|
|
23926
23926
|
},
|
|
23927
23927
|
p(ctx, dirty) {
|
|
23928
23928
|
const media_changes = {};
|
|
23929
|
-
if (dirty & /*unfolded*/
|
|
23930
|
-
if (dirty & /*mediaData*/
|
|
23929
|
+
if (dirty & /*unfolded*/ 8) media_changes.unfolded = /*unfolded*/ ctx[3];
|
|
23930
|
+
if (dirty & /*mediaData*/ 4) media_changes.mediaData = /*mediaData*/ ctx[2];
|
|
23931
|
+
if (dirty & /*objectFit*/ 2) media_changes.objectFit = /*objectFit*/ ctx[1];
|
|
23931
23932
|
media.$set(media_changes);
|
|
23932
23933
|
},
|
|
23933
23934
|
i(local) {
|
|
@@ -23949,7 +23950,7 @@ function create_if_block$5(ctx) {
|
|
|
23949
23950
|
function create_fragment$8(ctx) {
|
|
23950
23951
|
let if_block_anchor;
|
|
23951
23952
|
let current;
|
|
23952
|
-
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[
|
|
23953
|
+
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[2] && create_if_block$5(ctx);
|
|
23953
23954
|
|
|
23954
23955
|
return {
|
|
23955
23956
|
c() {
|
|
@@ -23962,11 +23963,11 @@ function create_fragment$8(ctx) {
|
|
|
23962
23963
|
current = true;
|
|
23963
23964
|
},
|
|
23964
23965
|
p(ctx, [dirty]) {
|
|
23965
|
-
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[
|
|
23966
|
+
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[2]) {
|
|
23966
23967
|
if (if_block) {
|
|
23967
23968
|
if_block.p(ctx, dirty);
|
|
23968
23969
|
|
|
23969
|
-
if (dirty & /*tag, mediaData*/
|
|
23970
|
+
if (dirty & /*tag, mediaData*/ 5) {
|
|
23970
23971
|
transition_in(if_block, 1);
|
|
23971
23972
|
}
|
|
23972
23973
|
} else {
|
|
@@ -24004,6 +24005,8 @@ function create_fragment$8(ctx) {
|
|
|
24004
24005
|
function instance$8($$self, $$props, $$invalidate) {
|
|
24005
24006
|
let unfolded;
|
|
24006
24007
|
let mediaData;
|
|
24008
|
+
let objectFit;
|
|
24009
|
+
var _a;
|
|
24007
24010
|
let { tag } = $$props;
|
|
24008
24011
|
|
|
24009
24012
|
$$self.$$set = $$props => {
|
|
@@ -24012,18 +24015,26 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
24012
24015
|
|
|
24013
24016
|
$$self.$$.update = () => {
|
|
24014
24017
|
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
24015
|
-
$$invalidate(
|
|
24018
|
+
$$invalidate(3, unfolded = tag.state ? tag.state.unfolded : false);
|
|
24016
24019
|
}
|
|
24017
24020
|
|
|
24018
24021
|
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
24019
|
-
$$invalidate(
|
|
24022
|
+
$$invalidate(2, mediaData = tag.data.mediaData);
|
|
24023
|
+
}
|
|
24024
|
+
|
|
24025
|
+
if ($$self.$$.dirty & /*tag, _a*/ 17) {
|
|
24026
|
+
$$invalidate(1, objectFit = $$invalidate(4, _a = tag.data.objectFit) !== null && _a !== void 0
|
|
24027
|
+
? _a
|
|
24028
|
+
: (() => {
|
|
24029
|
+
if (tag.data.adaptationMode === 'stretch') return 'cover'; else if (tag.data.adaptationMode === 'proportional') return 'contain'; else return undefined;
|
|
24030
|
+
})());
|
|
24020
24031
|
}
|
|
24021
24032
|
};
|
|
24022
24033
|
|
|
24023
|
-
return [tag, mediaData, unfolded];
|
|
24034
|
+
return [tag, objectFit, mediaData, unfolded, _a];
|
|
24024
24035
|
}
|
|
24025
24036
|
|
|
24026
|
-
class
|
|
24037
|
+
class MediaPlane extends SvelteComponent {
|
|
24027
24038
|
constructor(options) {
|
|
24028
24039
|
super();
|
|
24029
24040
|
init(this, options, instance$8, create_fragment$8, safe_not_equal, { tag: 0 }, add_css$8);
|
|
@@ -24033,7 +24044,7 @@ class MediaPanel extends SvelteComponent {
|
|
|
24033
24044
|
/* src/PanoTagPlugin/Components/Tag/LinkTag.svelte generated by Svelte v3.50.1 */
|
|
24034
24045
|
|
|
24035
24046
|
function add_css$7(target) {
|
|
24036
|
-
append_styles(target, "svelte-
|
|
24047
|
+
append_styles(target, "svelte-135cbxk", ".wrapper.svelte-135cbxk{font-weight:600;cursor:pointer;width:-webkit-max-content;width:-moz-max-content;width:max-content;height:-webkit-max-content;height:-moz-max-content;height:max-content;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:auto}.text-wrapper.svelte-135cbxk{position:relative;display:flex;align-items:center;justify-content:center}.icon.svelte-135cbxk{position:relative;margin-bottom:0.6875rem}.arrow0.svelte-135cbxk,.arrow1.svelte-135cbxk,.arrow2.svelte-135cbxk{position:absolute;width:1.625rem;height:0.75rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAAkCAYAAAAnxQwhAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAATqADAAQAAAABAAAAJAAAAABrx2urAAAGm0lEQVRoBd2ZXbCVUxjH26QSfSCS0JwoFNEZ0cc45iSmUUaqC+KCwUUXxYUZw4yrLhozLlDDRWa6oW5yOFTT0IcyKn1JnIjDKelLPipJcXT8fttaZ95qd+yzv+uZ+e211rvfd61n/ddaz1rv3qkOFWgtLS3n4Vb34NqhVCr1d6W5mao0hxBNwfrCOcG346S7Ee9gKFdEUjHCIZi+XA69E8p4rQVM98EeBLRcdqsI4RCtI0r0h4uCIvo1BZx1b4GzTjsA3yFec7pUxo+yC4doXen/IDg/6GB5GlSH8mbSWXA4lI+SNiDekVAuS1JW4RCtF72+EWI8c6k+A6ZJc5m+BHvCxX9ItyLe/lAueVIW4UI8u4beDkj02FnnTOuUuJbM/kVhNjQkLjaSbyxH3Cu5cIjmUWMoOKti+2PIT4JsrI6blkKMe87GTYhX0iNLdDwbh/O+B9G6UclIMNWcXQ/CrRbaYRu5dz44C7XfYTXimZbESiYconk2GwGdwSOF4j0JV0AuZrybA4plfYq4BvF2kRbdSiIcog2hJ+6StmcnFesJ6AL52DEefgOiWNa/EfG25FNpNs8WVbgQz+7EEc9o0RRxYiwUKDXuJcVqovxRMeNe0YRDtB44Pw4uAc0jx2gYZqEItoE63TSc0fILLEa8oryqFUU4ROuH04oWl6I76WQwzhXTXLILIO6wLuVFiLedtKBWcOEQ7XY8rE146ZvAwxDfDBJfFSX7J7XOgz8Sta9AvE8T5byzBRMuxLP78Mg3Ac3l0gcmWCiD1dPmboh9/JL8+4WKe7HSvPqFaL6cTwGF0jyc3gTOvnLaehr/HOIrnUeYeYj3W75O5S0covnq9AhcEJxpJr0Lrgrlcic7cWAZ+AuM5o8DbyJeY7qU40dewiFaDe26FOOIKppl41olmWK9C1E8V0Q94q3M1cmchAvx7CEaHZ5oWKfGJ8qVmF2EU75hxH67YcxHQK+1y2IFWT+EaBdz81SoCg+59fvCXuh4tjnUf0tIC5WsoyJjnUckbTu8hni/WsjW2iUcog2k4unQPTTglm/HPLcVwpqoZCu4lOLxxeOFocCfneJgkc3LfuDpzyDG5UPkZyHetmxrzVo4RLubSh+FGM8OkHcTuBDyMUfaTihQHJBYn0cafTTVfKFX0KHgzM/HDvPwcugZKnGw5iLeh6HcZvK/woV45gu5wkVTtLGxkEN6jGc2gaJ5lDkXtCjUXvIrQf9qoDckzU56pFC8augMudoSHoziWcdSmIOA8e3Da6dYm8Ihmu+Zz8H14ckYWHONZ19Qz4+go53A9qNYLvtPYBlON5C2Gn4MpuDsHgVxecXvHQQH8krw7JiLuUnohz5pX8NM/PB9N6OdVjicNaa8AHFJROeqMtZ0+ovGk2/AI0o3iGKRTcey9aSO8locbXN3wyc75k4+BoaBYSNZ3yHKHj2ug6uhPdbEzQ6qK0ARXQ0z8MmYe4plFA4Hx3Hn0xB3Hiv0V9qTYxCXMpoie2LX+vyXnPDpiH4Ay3HMe9tt+NiTh0bDPRBXRLIed07tZvDebEzhN4CzV3O5voyPi9KlxMcJwuGMQj0FE8M9Ku9I1MIJ94bvk4mNGORdcr41GLd8xjpM94HxZAmO7CAtmOF3Pyoz5srJ8bCZaw68M95NJU4GshlNf1dAf4i+15F/Bb9b416rGDRuPHsRHCHN2PEz3GahDXMq/wR9wfgTGyObFnE56ULwDxW/K5rRB/tTDa4YY2Imf3Zx/TIwFLVl6/iyF8SNxxX0LH1Ix720cDRoTJgNcbT2hwdUPZPZeCNYsc9EQazPEV4NTm9/zjlKWnKjT11otBYUcRS4AuKgmjrYToxrwUHPZN9z0Ql0afhyL+k0+rQtRQOu/3qIAhjIB0IPSJrrvwEcARvTko44896DhXFUvKESjD66msbD/eBMSw60eQVygAfDyXH8INe2gZPLiaF4ExTucTLPg2aMGg7uVpqzZwu4tm8Ad7UoFtn0q4ti1SHWt16odKO/A/DxAZgAcYVFt+3nV2AcHAIdQTsOa6Ea7P9MhZtB5jHQmsDltwMM8qrszFPpaEfILIYF4H+ZVnrGGf12coyEyXAvdIU4KUydaa4+r/cDl3UVaHMVzun7erp4+g/FWQWK5a6oeGeNoYHijAVFrIG44shmtKkK52x6FSZluMW4pVjvIJbHibPe0MPl61JWxEEZOvw216a3LkEeGMGFO0D1d8KqMyVu4WtRDE2Mh85Az6Wuso/RZA1ph38BBMvNbHuq7kAAAAAASUVORK5CYII=);background-repeat:no-repeat;background-size:contain;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-duration:1.2s;animation-duration:1.2s}.arrow1.svelte-135cbxk{position:relative}.arrow0.svelte-135cbxk{top:-0.75rem;-webkit-animation-name:svelte-135cbxk-up0;animation-name:svelte-135cbxk-up0}.arrow1.svelte-135cbxk{-webkit-animation-name:svelte-135cbxk-up1;animation-name:svelte-135cbxk-up1}.arrow2.svelte-135cbxk{top:0.75rem;-webkit-animation-name:svelte-135cbxk-up2;animation-name:svelte-135cbxk-up2}.text.svelte-135cbxk{position:absolute;top:0;font-size:0.875rem;color:#ffffff;letter-spacing:0;text-align:center;max-width:8.75rem;width:-webkit-max-content;width:-moz-max-content;width:max-content;word-break:break-all;line-height:1.125rem;text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}@-webkit-keyframes svelte-135cbxk-up0{0%{opacity:0.8;transform:translateY(0) scale(0.84)}33.33%,100%{opacity:0;transform:translateY(-0.75rem) scale(0.84)}}@keyframes svelte-135cbxk-up0{0%{opacity:0.8;transform:translateY(0) scale(0.84)}33.33%,100%{opacity:0;transform:translateY(-0.75rem) scale(0.84)}}@-webkit-keyframes svelte-135cbxk-up1{0%{opacity:1;transform:translateY(0rem) scale(1)}33.33%,100%{opacity:0.8;transform:translateY(-0.75rem) scale(0.84)}}@keyframes svelte-135cbxk-up1{0%{opacity:1;transform:translateY(0rem) scale(1)}33.33%,100%{opacity:0.8;transform:translateY(-0.75rem) scale(0.84)}}@-webkit-keyframes svelte-135cbxk-up2{0%{opacity:0}33.33%,100%{opacity:1;transform:translateY(-0.75rem)}}@keyframes svelte-135cbxk-up2{0%{opacity:0}33.33%,100%{opacity:1;transform:translateY(-0.75rem)}}.link.svelte-135cbxk{position:relative;width:1.75rem;height:0.75rem;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAAAkCAMAAAAgl+0yAAAAnFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+TINBkAAAAM3RSTlMAjLy6ILM2Fi+Zng3BrPvao4VC9ceneQfKkmNdV1AbEeLOsHA77ujUtn5JLnRraSUUjVLj/+RVAAABhElEQVRIx63V2W6CQBiGYUBUQGDYdwTZQZZa7v/eimik/ket/7yZ4yeTTCYf8+dOX8etxGVoxAvCVbguR3g0uRTMA0w4odGi+CbzFnGKosCqrmHc5rdEwzCwqtGFJlC7DqtOcTxANY67BHnVKOpVoEZRjFPdLgxbqIZhhFTjINChGgThF06NhpGd35OGMcCppyDPfajm+YhUR8cRoeo4+RGlJnnbalBt2x6nHh1dt4Gq6bqDU886y2ZQZVn9jFJ51vcbqPo+Up18UeSgKoo3nHqVJEkGqi1JPk49aLZmQdW2xXf1zP+vUFHsC1QVReK33xdk+w9SaqAq+732UvvdZ2UEqrud8lR5Wc4a7pO8GaoL9VBjy7rMlMosq1lV43LhZlrtF+yuJlbtEXpqXXP3NYwI8VJqakOIziw5aepV1FQuTdfhvlWVZdJCrao6MPe0spRpqV5ZFivqNqYpq3RQ2TST5/h4quoRCmwqq6rymol6plV53IZSomTKE/MroWfxDevL/wAEdPq1eGDh4AAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-size:contain;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-duration:1.2s;animation-duration:1.2s;-webkit-animation-name:svelte-135cbxk-left-right;animation-name:svelte-135cbxk-left-right}@-webkit-keyframes svelte-135cbxk-left-right{0%,100%{opacity:0.8;transform:translateX(-0.3125rem)}50%{opacity:1;transform:translateX(0)}}@keyframes svelte-135cbxk-left-right{0%,100%{opacity:0.8;transform:translateX(-0.3125rem)}50%{opacity:1;transform:translateX(0)}}");
|
|
24037
24048
|
}
|
|
24038
24049
|
|
|
24039
24050
|
// (14:52)
|
|
@@ -24061,7 +24072,7 @@ function create_if_block_1$3(ctx) {
|
|
|
24061
24072
|
create_component(shadow.$$.fragment);
|
|
24062
24073
|
t = space();
|
|
24063
24074
|
div = element("div");
|
|
24064
|
-
attr(div, "class", "link svelte-
|
|
24075
|
+
attr(div, "class", "link svelte-135cbxk");
|
|
24065
24076
|
},
|
|
24066
24077
|
m(target, anchor) {
|
|
24067
24078
|
mount_component(shadow, target, anchor);
|
|
@@ -24119,9 +24130,9 @@ function create_if_block$4(ctx) {
|
|
|
24119
24130
|
div1 = element("div");
|
|
24120
24131
|
t2 = space();
|
|
24121
24132
|
div2 = element("div");
|
|
24122
|
-
attr(div0, "class", "arrow0 svelte-
|
|
24123
|
-
attr(div1, "class", "arrow1 svelte-
|
|
24124
|
-
attr(div2, "class", "arrow2 svelte-
|
|
24133
|
+
attr(div0, "class", "arrow0 svelte-135cbxk");
|
|
24134
|
+
attr(div1, "class", "arrow1 svelte-135cbxk");
|
|
24135
|
+
attr(div2, "class", "arrow2 svelte-135cbxk");
|
|
24125
24136
|
},
|
|
24126
24137
|
m(target, anchor) {
|
|
24127
24138
|
mount_component(shadow, target, anchor);
|
|
@@ -24205,10 +24216,10 @@ function create_fragment$7(ctx) {
|
|
|
24205
24216
|
t1 = space();
|
|
24206
24217
|
div1 = element("div");
|
|
24207
24218
|
t2 = text(t2_value);
|
|
24208
|
-
attr(div0, "class", "icon svelte-
|
|
24209
|
-
attr(div1, "class", "text svelte-
|
|
24210
|
-
attr(div2, "class", "text-wrapper svelte-
|
|
24211
|
-
attr(div3, "class", "wrapper svelte-
|
|
24219
|
+
attr(div0, "class", "icon svelte-135cbxk");
|
|
24220
|
+
attr(div1, "class", "text svelte-135cbxk");
|
|
24221
|
+
attr(div2, "class", "text-wrapper svelte-135cbxk");
|
|
24222
|
+
attr(div3, "class", "wrapper svelte-135cbxk");
|
|
24212
24223
|
},
|
|
24213
24224
|
m(target, anchor) {
|
|
24214
24225
|
insert(target, div3, anchor);
|
|
@@ -24432,37 +24443,37 @@ function add_css$5(target) {
|
|
|
24432
24443
|
|
|
24433
24444
|
// (67:59)
|
|
24434
24445
|
function create_if_block_6(ctx) {
|
|
24435
|
-
let
|
|
24446
|
+
let mediaplane;
|
|
24436
24447
|
let current;
|
|
24437
24448
|
|
|
24438
|
-
|
|
24449
|
+
mediaplane = new MediaPlane({
|
|
24439
24450
|
props: { tag: noTypecheck(/*tag*/ ctx[1]) }
|
|
24440
24451
|
});
|
|
24441
24452
|
|
|
24442
24453
|
return {
|
|
24443
24454
|
c() {
|
|
24444
|
-
create_component(
|
|
24455
|
+
create_component(mediaplane.$$.fragment);
|
|
24445
24456
|
},
|
|
24446
24457
|
m(target, anchor) {
|
|
24447
|
-
mount_component(
|
|
24458
|
+
mount_component(mediaplane, target, anchor);
|
|
24448
24459
|
current = true;
|
|
24449
24460
|
},
|
|
24450
24461
|
p(ctx, dirty) {
|
|
24451
|
-
const
|
|
24452
|
-
if (dirty & /*tag*/ 2)
|
|
24453
|
-
|
|
24462
|
+
const mediaplane_changes = {};
|
|
24463
|
+
if (dirty & /*tag*/ 2) mediaplane_changes.tag = noTypecheck(/*tag*/ ctx[1]);
|
|
24464
|
+
mediaplane.$set(mediaplane_changes);
|
|
24454
24465
|
},
|
|
24455
24466
|
i(local) {
|
|
24456
24467
|
if (current) return;
|
|
24457
|
-
transition_in(
|
|
24468
|
+
transition_in(mediaplane.$$.fragment, local);
|
|
24458
24469
|
current = true;
|
|
24459
24470
|
},
|
|
24460
24471
|
o(local) {
|
|
24461
|
-
transition_out(
|
|
24472
|
+
transition_out(mediaplane.$$.fragment, local);
|
|
24462
24473
|
current = false;
|
|
24463
24474
|
},
|
|
24464
24475
|
d(detaching) {
|
|
24465
|
-
destroy_component(
|
|
24476
|
+
destroy_component(mediaplane, detaching);
|
|
24466
24477
|
}
|
|
24467
24478
|
};
|
|
24468
24479
|
}
|
|
@@ -24723,7 +24734,7 @@ function create_fragment$5(ctx) {
|
|
|
24723
24734
|
if (/*tag*/ ctx[1].contentType === ContentType.Audio) return 3;
|
|
24724
24735
|
if (/*tag*/ ctx[1].contentType === ContentType.Marketing) return 4;
|
|
24725
24736
|
if (/*tag*/ ctx[1].contentType === ContentType.Link) return 5;
|
|
24726
|
-
if (/*tag*/ ctx[1].contentType === ContentType.
|
|
24737
|
+
if (/*tag*/ ctx[1].contentType === ContentType.MediaPlane) return 6;
|
|
24727
24738
|
return -1;
|
|
24728
24739
|
}
|
|
24729
24740
|
|
|
@@ -25731,6 +25742,14 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
25731
25742
|
hooks.emit('click', { event, target: 'TagPoint', tag });
|
|
25732
25743
|
};
|
|
25733
25744
|
|
|
25745
|
+
onMount(() => {
|
|
25746
|
+
hooks.emit('exposure', { id: tag.id, type: 'start' });
|
|
25747
|
+
|
|
25748
|
+
return () => {
|
|
25749
|
+
hooks.emit('exposure', { id: tag.id, type: 'end' });
|
|
25750
|
+
};
|
|
25751
|
+
});
|
|
25752
|
+
|
|
25734
25753
|
$$self.$$set = $$props => {
|
|
25735
25754
|
if ('withAnimation' in $$props) $$invalidate(0, withAnimation = $$props.withAnimation);
|
|
25736
25755
|
if ('tag' in $$props) $$invalidate(1, tag = $$props.tag);
|
|
@@ -26070,7 +26089,7 @@ const DefaultConfig = {
|
|
|
26070
26089
|
'Any-Marketing-Any': {
|
|
26071
26090
|
unfoldedConfig: undefined,
|
|
26072
26091
|
},
|
|
26073
|
-
'3D-
|
|
26092
|
+
'3D-MediaPlane-PlaneTag': {
|
|
26074
26093
|
unfoldedConfig: {
|
|
26075
26094
|
disableFold: true,
|
|
26076
26095
|
},
|
|
@@ -26538,7 +26557,7 @@ class TagComputer extends TagCacheController {
|
|
|
26538
26557
|
}
|
|
26539
26558
|
|
|
26540
26559
|
// declare const __APP_VERSION__: string
|
|
26541
|
-
const VERSION$2 = '0.
|
|
26560
|
+
const VERSION$2 = '0.3.3';
|
|
26542
26561
|
const PLUGIN_NAME$1 = `DnalogelPlugin-PanoTagPlugin-${random()}@${VERSION$2}`;
|
|
26543
26562
|
const TAG_INITIAL_UNFOLDED = true;
|
|
26544
26563
|
const pluginFlag = (name) => `${PLUGIN_NAME$1}--${name}`;
|
|
@@ -27140,7 +27159,8 @@ class PanoTagPluginController extends TagComputer {
|
|
|
27140
27159
|
const PanoTagPlugin = (five, params) => new PanoTagPluginController(five, params);
|
|
27141
27160
|
|
|
27142
27161
|
class BaseHelper extends Object3D {
|
|
27143
|
-
constructor(originObject3D) {
|
|
27162
|
+
constructor(originObject3D, config) {
|
|
27163
|
+
var _a;
|
|
27144
27164
|
super();
|
|
27145
27165
|
Object.defineProperty(this, "originObject3D", {
|
|
27146
27166
|
enumerable: true,
|
|
@@ -27148,11 +27168,26 @@ class BaseHelper extends Object3D {
|
|
|
27148
27168
|
writable: true,
|
|
27149
27169
|
value: void 0
|
|
27150
27170
|
});
|
|
27171
|
+
Object.defineProperty(this, "needsRender", {
|
|
27172
|
+
enumerable: true,
|
|
27173
|
+
configurable: true,
|
|
27174
|
+
writable: true,
|
|
27175
|
+
value: void 0
|
|
27176
|
+
});
|
|
27151
27177
|
this.originObject3D = originObject3D;
|
|
27178
|
+
this.needsRender = (_a = config === null || config === void 0 ? void 0 : config.needsRender) !== null && _a !== void 0 ? _a : (() => { });
|
|
27152
27179
|
}
|
|
27153
27180
|
get helperObject() {
|
|
27154
27181
|
return this;
|
|
27155
27182
|
}
|
|
27183
|
+
show() {
|
|
27184
|
+
this.visible = true;
|
|
27185
|
+
this.needsRender();
|
|
27186
|
+
}
|
|
27187
|
+
hide() {
|
|
27188
|
+
this.visible = false;
|
|
27189
|
+
this.needsRender();
|
|
27190
|
+
}
|
|
27156
27191
|
updatePosition() {
|
|
27157
27192
|
this.position.copy(this.originObject3D.position);
|
|
27158
27193
|
}
|
|
@@ -27355,29 +27390,16 @@ class MoveHelper extends MoveHelperAbstract {
|
|
|
27355
27390
|
this.add(this.yArrow);
|
|
27356
27391
|
this.add(this.zArrow);
|
|
27357
27392
|
}
|
|
27358
|
-
|
|
27359
|
-
|
|
27360
|
-
|
|
27361
|
-
|
|
27362
|
-
|
|
27363
|
-
}
|
|
27364
|
-
else {
|
|
27365
|
-
directions.forEach((direction) => {
|
|
27366
|
-
const arrow = [this.xArrow, this.yArrow, this.zArrow].find((arrow) => arrow.direction === direction);
|
|
27367
|
-
arrow && (arrow.visible = false);
|
|
27368
|
-
});
|
|
27369
|
-
}
|
|
27393
|
+
show() {
|
|
27394
|
+
super.show();
|
|
27395
|
+
this.xArrow.visible = true;
|
|
27396
|
+
this.yArrow.visible = true;
|
|
27397
|
+
this.zArrow.visible = true;
|
|
27370
27398
|
}
|
|
27371
|
-
|
|
27372
|
-
|
|
27373
|
-
|
|
27374
|
-
|
|
27375
|
-
this.zArrow.visible = true;
|
|
27376
|
-
}
|
|
27377
|
-
else {
|
|
27378
|
-
const arrow = [this.xArrow, this.yArrow, this.zArrow].find((arrow) => arrow.direction === direction);
|
|
27379
|
-
arrow && (arrow.visible = true);
|
|
27380
|
-
}
|
|
27399
|
+
showDraggingHelper(directions) {
|
|
27400
|
+
this.xArrow.visible = directions.includes('x');
|
|
27401
|
+
this.yArrow.visible = directions.includes('y');
|
|
27402
|
+
this.zArrow.visible = directions.includes('z');
|
|
27381
27403
|
}
|
|
27382
27404
|
dispose() {
|
|
27383
27405
|
this.remove(this.xArrow, this.yArrow, this.zArrow);
|
|
@@ -27515,21 +27537,21 @@ class RotateHelper extends RotateHelperAbstract {
|
|
|
27515
27537
|
this.zAngleHelper.baseAxes.applyQuaternion(quaternion);
|
|
27516
27538
|
}
|
|
27517
27539
|
hide() {
|
|
27540
|
+
// 改为remove而不是设置visible,是因为会影响其他helper的碰撞检测
|
|
27518
27541
|
this.remove(this.yzCircle, this.xzCircle, this.xyCircle, this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
|
|
27519
27542
|
}
|
|
27520
|
-
show(
|
|
27521
|
-
var _a
|
|
27522
|
-
|
|
27523
|
-
|
|
27524
|
-
|
|
27525
|
-
|
|
27526
|
-
|
|
27527
|
-
|
|
27528
|
-
|
|
27529
|
-
|
|
27530
|
-
|
|
27531
|
-
|
|
27532
|
-
}
|
|
27543
|
+
show() {
|
|
27544
|
+
var _a;
|
|
27545
|
+
this.add(this.xyCircle, this.xzCircle, this.yzCircle);
|
|
27546
|
+
this.remove(this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
|
|
27547
|
+
(_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.hide();
|
|
27548
|
+
}
|
|
27549
|
+
showDraggingHelper(directions) {
|
|
27550
|
+
var _a;
|
|
27551
|
+
this.hide();
|
|
27552
|
+
this.add(...this.filterRingHelper(directions));
|
|
27553
|
+
this.add(...this.filterAngleHelper(directions));
|
|
27554
|
+
(_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.show();
|
|
27533
27555
|
}
|
|
27534
27556
|
dispose() {
|
|
27535
27557
|
var _a, _b;
|
|
@@ -27537,11 +27559,11 @@ class RotateHelper extends RotateHelperAbstract {
|
|
|
27537
27559
|
if ((_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.element)
|
|
27538
27560
|
(_b = this.container) === null || _b === void 0 ? void 0 : _b.removeChild(this.angleTips.element);
|
|
27539
27561
|
}
|
|
27540
|
-
filterRingHelper(
|
|
27541
|
-
return [this.xRingHelper, this.yRingHelper, this.zRingHelper].filter((helper) => helper.direction
|
|
27562
|
+
filterRingHelper(directions) {
|
|
27563
|
+
return [this.xRingHelper, this.yRingHelper, this.zRingHelper].filter((helper) => directions.includes(helper.direction));
|
|
27542
27564
|
}
|
|
27543
|
-
filterAngleHelper(
|
|
27544
|
-
return [this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter((helper) => helper.direction
|
|
27565
|
+
filterAngleHelper(directions) {
|
|
27566
|
+
return [this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter((helper) => directions.includes(helper.direction));
|
|
27545
27567
|
}
|
|
27546
27568
|
}
|
|
27547
27569
|
class Circle extends THREE.Mesh {
|
|
@@ -27838,6 +27860,9 @@ class RectangleScaleHelper extends RectangleScaleHelperAbstract {
|
|
|
27838
27860
|
(_b = this.plane) === null || _b === void 0 ? void 0 : _b.applyMatrix4(matrix);
|
|
27839
27861
|
this.cornerPositions.forEach((cornerPosition) => cornerPosition.applyMatrix4(matrix));
|
|
27840
27862
|
}
|
|
27863
|
+
showDraggingHelper() {
|
|
27864
|
+
// nothing to do
|
|
27865
|
+
}
|
|
27841
27866
|
setHelperScaleMatrix4(matrix, params) {
|
|
27842
27867
|
var _a, _b;
|
|
27843
27868
|
(_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.scale.applyMatrix4(matrix);
|
|
@@ -28470,16 +28495,17 @@ class BaseController {
|
|
|
28470
28495
|
this.needsRender();
|
|
28471
28496
|
}
|
|
28472
28497
|
show() {
|
|
28473
|
-
this.helperObject3D.
|
|
28498
|
+
this.helperObject3D.show();
|
|
28474
28499
|
this.needsRender();
|
|
28475
28500
|
}
|
|
28476
28501
|
hide() {
|
|
28477
|
-
this.helperObject3D.
|
|
28502
|
+
this.helperObject3D.hide();
|
|
28478
28503
|
this.needsRender();
|
|
28479
28504
|
}
|
|
28480
28505
|
dispose() {
|
|
28481
|
-
this.scene.remove(this.helperObject3D);
|
|
28482
28506
|
this.helperObject3D.dispose();
|
|
28507
|
+
this.scene.remove(this.helperObject3D);
|
|
28508
|
+
this.needsRender();
|
|
28483
28509
|
}
|
|
28484
28510
|
updateHelperPosition() {
|
|
28485
28511
|
this.helperObject3D.updatePosition();
|
|
@@ -28636,7 +28662,7 @@ class MoveController extends BaseController {
|
|
|
28636
28662
|
plane.setFromNormalAndCoplanarPoint(planeNormal, startIntersect);
|
|
28637
28663
|
this.startInfo = { startVectorProject: startIntersect.clone().projectOnVector(directionVector), directionVector, plane };
|
|
28638
28664
|
// 隐藏其他箭头
|
|
28639
|
-
this.helperObject3D.
|
|
28665
|
+
this.helperObject3D.showDraggingHelper([draggingDirection]);
|
|
28640
28666
|
this.hooks.emit('moveStart');
|
|
28641
28667
|
this.isDragging = true;
|
|
28642
28668
|
console.log('%c MoveController dragStart', 'color: #e5af2e');
|
|
@@ -28741,13 +28767,13 @@ class ControllerWrapper {
|
|
|
28741
28767
|
const VERSION$1 = 'v1.0.0';
|
|
28742
28768
|
const NAME = 'Object3DHelper';
|
|
28743
28769
|
const NAMEVERSION = `${NAME}@${VERSION$1}`;
|
|
28744
|
-
const disposedErrorLog = () => {
|
|
28770
|
+
const disposedErrorLog$1 = () => {
|
|
28745
28771
|
console.error(`${NAMEVERSION} is disposed`);
|
|
28746
28772
|
};
|
|
28747
|
-
const disableWarnLog = () => {
|
|
28773
|
+
const disableWarnLog$1 = () => {
|
|
28748
28774
|
console.warn(`${NAMEVERSION} is disabled`);
|
|
28749
28775
|
};
|
|
28750
|
-
const disableErrorLog = () => {
|
|
28776
|
+
const disableErrorLog$1 = () => {
|
|
28751
28777
|
console.error(`${NAMEVERSION} is disabled`);
|
|
28752
28778
|
};
|
|
28753
28779
|
class Object3DHelper {
|
|
@@ -28882,11 +28908,11 @@ class Object3DHelper {
|
|
|
28882
28908
|
}
|
|
28883
28909
|
setState(state, options) {
|
|
28884
28910
|
if (this.state.disposed)
|
|
28885
|
-
return disposedErrorLog();
|
|
28911
|
+
return disposedErrorLog$1();
|
|
28886
28912
|
if (!this.state.enabled) {
|
|
28887
28913
|
// when plugin is disabled, only can change enabled or disposed to true
|
|
28888
28914
|
if (state.enabled !== true && state.disposed !== true)
|
|
28889
|
-
return disableErrorLog();
|
|
28915
|
+
return disableErrorLog$1();
|
|
28890
28916
|
}
|
|
28891
28917
|
const prevState = Object.assign({}, this.state);
|
|
28892
28918
|
this.state = Object.assign(Object.assign({}, this.state), state);
|
|
@@ -28974,7 +29000,6 @@ class Object3DHelper {
|
|
|
28974
29000
|
}
|
|
28975
29001
|
}
|
|
28976
29002
|
handleEnable(enabled, userAction = true) {
|
|
28977
|
-
console.log({ enabled });
|
|
28978
29003
|
if (enabled) {
|
|
28979
29004
|
this.everyControllerDo((controller) => controller.enable());
|
|
28980
29005
|
this.hooks.emit('enable', { userAction });
|
|
@@ -28986,7 +29011,6 @@ class Object3DHelper {
|
|
|
28986
29011
|
this.state.enabled = enabled;
|
|
28987
29012
|
}
|
|
28988
29013
|
handleVisible(visible, userAction = true) {
|
|
28989
|
-
console.log({ visible });
|
|
28990
29014
|
if (visible) {
|
|
28991
29015
|
this.everyControllerDo((controller) => controller.show());
|
|
28992
29016
|
this.actionIfStateIsEnabled(() => this.hooks.emit('show', { userAction }));
|
|
@@ -29013,7 +29037,7 @@ class Object3DHelper {
|
|
|
29013
29037
|
return func();
|
|
29014
29038
|
else {
|
|
29015
29039
|
if (options === null || options === void 0 ? void 0 : options.warnLog)
|
|
29016
|
-
disableWarnLog();
|
|
29040
|
+
disableWarnLog$1();
|
|
29017
29041
|
}
|
|
29018
29042
|
}
|
|
29019
29043
|
}
|
|
@@ -29116,7 +29140,7 @@ class RotateController extends BaseController {
|
|
|
29116
29140
|
// this.a = new THREE.PlaneHelper(plane, 10, 0xffff00)
|
|
29117
29141
|
// this.scene.add(this.a)
|
|
29118
29142
|
this.startInfo = { direction, startVector, staticStartVector, plane, angleHelper };
|
|
29119
|
-
this.helperObject3D.
|
|
29143
|
+
this.helperObject3D.showDraggingHelper([direction]);
|
|
29120
29144
|
this.hooks.emit('rotateStart');
|
|
29121
29145
|
this.isDragging = true;
|
|
29122
29146
|
console.log(`%c RotateController dragStart ${direction}`, 'color: #e5af2e');
|
|
@@ -29490,9 +29514,18 @@ class CSS3DScaleController extends RectangleScaleController {
|
|
|
29490
29514
|
const VERSION = 'v1.0.0';
|
|
29491
29515
|
const PLUGIN_NAME = 'Object3DHelperPlugin';
|
|
29492
29516
|
const PLUGIN = `${PLUGIN_NAME}@${VERSION}`;
|
|
29493
|
-
|
|
29517
|
+
const disposedErrorLog = () => {
|
|
29518
|
+
console.error(`${PLUGIN} is disposed`);
|
|
29519
|
+
};
|
|
29520
|
+
const disableWarnLog = () => {
|
|
29521
|
+
console.warn(`${PLUGIN} is disabled`);
|
|
29522
|
+
};
|
|
29523
|
+
const disableErrorLog = () => {
|
|
29524
|
+
console.error(`${PLUGIN} is disabled`);
|
|
29525
|
+
};
|
|
29526
|
+
class Object3DHelperController extends Controller$7 {
|
|
29494
29527
|
constructor(five) {
|
|
29495
|
-
super();
|
|
29528
|
+
super(five);
|
|
29496
29529
|
Object.defineProperty(this, "version", {
|
|
29497
29530
|
enumerable: true,
|
|
29498
29531
|
configurable: true,
|
|
@@ -29505,15 +29538,80 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
29505
29538
|
writable: true,
|
|
29506
29539
|
value: PLUGIN_NAME
|
|
29507
29540
|
});
|
|
29508
|
-
Object.defineProperty(this, "
|
|
29541
|
+
Object.defineProperty(this, "state", {
|
|
29509
29542
|
enumerable: true,
|
|
29510
29543
|
configurable: true,
|
|
29511
29544
|
writable: true,
|
|
29512
|
-
value:
|
|
29545
|
+
value: {
|
|
29546
|
+
visible: true,
|
|
29547
|
+
enabled: true,
|
|
29548
|
+
disposed: false,
|
|
29549
|
+
}
|
|
29550
|
+
});
|
|
29551
|
+
Object.defineProperty(this, "objectHelperMap", {
|
|
29552
|
+
enumerable: true,
|
|
29553
|
+
configurable: true,
|
|
29554
|
+
writable: true,
|
|
29555
|
+
value: new Map()
|
|
29513
29556
|
});
|
|
29514
29557
|
this.five = five;
|
|
29515
29558
|
Object.assign(window, { [`__${PLUGIN_NAME.toUpperCase()}_DEBUG__`]: this });
|
|
29516
29559
|
}
|
|
29560
|
+
/**
|
|
29561
|
+
* @description Show guide line
|
|
29562
|
+
*/
|
|
29563
|
+
async show(options) {
|
|
29564
|
+
this.setState({ visible: true }, options);
|
|
29565
|
+
}
|
|
29566
|
+
/**
|
|
29567
|
+
* @description Hide guide line
|
|
29568
|
+
*/
|
|
29569
|
+
async hide(options) {
|
|
29570
|
+
this.setState({ visible: false }, options);
|
|
29571
|
+
}
|
|
29572
|
+
/**
|
|
29573
|
+
* @description Enable
|
|
29574
|
+
*/
|
|
29575
|
+
enable(options) {
|
|
29576
|
+
this.setState({ enabled: true }, options);
|
|
29577
|
+
}
|
|
29578
|
+
/**
|
|
29579
|
+
* @description Disable
|
|
29580
|
+
*/
|
|
29581
|
+
disable(options) {
|
|
29582
|
+
this.setState({ enabled: false }, options);
|
|
29583
|
+
}
|
|
29584
|
+
/**
|
|
29585
|
+
* @description Dispose
|
|
29586
|
+
*/
|
|
29587
|
+
dispose() {
|
|
29588
|
+
this.setState({ disposed: true });
|
|
29589
|
+
}
|
|
29590
|
+
setState(state, options) {
|
|
29591
|
+
if (this.state.disposed)
|
|
29592
|
+
return disposedErrorLog();
|
|
29593
|
+
if (!this.state.enabled) {
|
|
29594
|
+
// when plugin is disabled, only can change enabled or disposed to true
|
|
29595
|
+
if (state.enabled !== true && state.disposed !== true)
|
|
29596
|
+
return disableErrorLog();
|
|
29597
|
+
}
|
|
29598
|
+
const prevState = Object.assign({}, this.state);
|
|
29599
|
+
this.state = Object.assign(Object.assign({}, this.state), state);
|
|
29600
|
+
if (state.disposed !== undefined && state.disposed !== prevState.disposed) {
|
|
29601
|
+
if (state.disposed)
|
|
29602
|
+
this.handleDispose();
|
|
29603
|
+
}
|
|
29604
|
+
if (state.visible !== undefined && state.visible !== prevState.visible) {
|
|
29605
|
+
this.handleVisible(state.visible);
|
|
29606
|
+
}
|
|
29607
|
+
if (state.enabled !== undefined && state.enabled !== prevState.enabled) {
|
|
29608
|
+
this.handleEnable(state.enabled);
|
|
29609
|
+
}
|
|
29610
|
+
this.hooks.emit('stateChange', { state: this.state, prevState });
|
|
29611
|
+
}
|
|
29612
|
+
getObject3DHelper(object3D) {
|
|
29613
|
+
return this.objectHelperMap.get(object3D);
|
|
29614
|
+
}
|
|
29517
29615
|
/**
|
|
29518
29616
|
* @description 添加 helper
|
|
29519
29617
|
* @param { THREE.Object3D } object3D 要添加helper的物体
|
|
@@ -29523,6 +29621,12 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
29523
29621
|
*/
|
|
29524
29622
|
addObject3DHelper(object3D, config = {}) {
|
|
29525
29623
|
var _a;
|
|
29624
|
+
if (this.objectHelperMap.has(object3D)) {
|
|
29625
|
+
console.warn(`Object3DHelperPlugin: object3D ${object3D.name} already has helper`);
|
|
29626
|
+
return;
|
|
29627
|
+
}
|
|
29628
|
+
const helper = new Object3DHelper();
|
|
29629
|
+
this.objectHelperMap.set(object3D, helper);
|
|
29526
29630
|
const container = (_a = this.five.getElement()) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
29527
29631
|
const camera = this.five.camera;
|
|
29528
29632
|
// 创建空的helperGroup
|
|
@@ -29532,7 +29636,7 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
29532
29636
|
if (moveHelper) {
|
|
29533
29637
|
const moveHelper = new MoveHelper(object3D);
|
|
29534
29638
|
const controllerWrapper = new ControllerWrapper(this.five, MoveController, object3D, moveHelper);
|
|
29535
|
-
|
|
29639
|
+
helper.addControllers({ moveController: controllerWrapper.helperController });
|
|
29536
29640
|
}
|
|
29537
29641
|
if (rotateHelper) {
|
|
29538
29642
|
let angleTipsParams;
|
|
@@ -29540,13 +29644,13 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
29540
29644
|
angleTipsParams = { container };
|
|
29541
29645
|
const rotateHelper = new RotateHelper(object3D, angleTipsParams);
|
|
29542
29646
|
const controllerWrapper = new ControllerWrapper(this.five, RotateController, object3D, rotateHelper);
|
|
29543
|
-
|
|
29647
|
+
helper.addControllers({ rotateController: controllerWrapper.helperController });
|
|
29544
29648
|
}
|
|
29545
29649
|
if (scaleHelper) {
|
|
29546
29650
|
if (container) {
|
|
29547
29651
|
const scaleHelper = new RectangleScaleHelper(object3D, container, camera, this.five.scene);
|
|
29548
29652
|
const controllerWrapper = new ControllerWrapper(this.five, CSS3DScaleController, object3D, scaleHelper);
|
|
29549
|
-
|
|
29653
|
+
helper.addControllers({ scaleController: controllerWrapper.helperController });
|
|
29550
29654
|
}
|
|
29551
29655
|
}
|
|
29552
29656
|
// if (mergeConfig.outlineHelper) {
|
|
@@ -29556,10 +29660,58 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
29556
29660
|
// }
|
|
29557
29661
|
// this.five.scene.add(helperGroup)
|
|
29558
29662
|
}
|
|
29663
|
+
removeObject3DHelper(object3D) {
|
|
29664
|
+
const helper = this.objectHelperMap.get(object3D);
|
|
29665
|
+
if (!helper)
|
|
29666
|
+
return;
|
|
29667
|
+
this.objectHelperMap.delete(object3D);
|
|
29668
|
+
helper.dispose();
|
|
29669
|
+
}
|
|
29670
|
+
handleEnable(enabled, userAction = true) {
|
|
29671
|
+
console.log({ enabled });
|
|
29672
|
+
if (enabled) {
|
|
29673
|
+
this.everyHelperDo((helper) => helper.enable());
|
|
29674
|
+
this.hooks.emit('enable', { userAction });
|
|
29675
|
+
}
|
|
29676
|
+
else {
|
|
29677
|
+
this.everyHelperDo((helper) => helper.disable());
|
|
29678
|
+
this.hooks.emit('disable', { userAction });
|
|
29679
|
+
}
|
|
29680
|
+
this.state.enabled = enabled;
|
|
29681
|
+
}
|
|
29682
|
+
handleVisible(visible, userAction = true) {
|
|
29683
|
+
console.log({ visible });
|
|
29684
|
+
if (visible) {
|
|
29685
|
+
this.everyHelperDo((helper) => helper.show());
|
|
29686
|
+
this.actionIfStateIsEnabled(() => this.hooks.emit('show', { userAction }));
|
|
29687
|
+
}
|
|
29688
|
+
else {
|
|
29689
|
+
this.everyHelperDo((helper) => helper.hide());
|
|
29690
|
+
this.actionIfStateIsEnabled(() => this.hooks.emit('hide', { userAction }));
|
|
29691
|
+
}
|
|
29692
|
+
this.state.visible = visible;
|
|
29693
|
+
}
|
|
29694
|
+
handleDispose() {
|
|
29695
|
+
this.everyHelperDo((helper) => helper.dispose());
|
|
29696
|
+
}
|
|
29697
|
+
everyHelperDo(func) {
|
|
29698
|
+
this.objectHelperMap.forEach((helper) => {
|
|
29699
|
+
if (helper)
|
|
29700
|
+
func(helper);
|
|
29701
|
+
});
|
|
29702
|
+
}
|
|
29703
|
+
actionIfStateIsEnabled(func, options) {
|
|
29704
|
+
if (this.state.enabled)
|
|
29705
|
+
return func();
|
|
29706
|
+
else {
|
|
29707
|
+
if (options === null || options === void 0 ? void 0 : options.warnLog)
|
|
29708
|
+
disableWarnLog();
|
|
29709
|
+
}
|
|
29710
|
+
}
|
|
29559
29711
|
}
|
|
29560
29712
|
|
|
29561
29713
|
const Object3DHelperPlugin = (five) => new Object3DHelperController(five);
|
|
29562
29714
|
|
|
29563
29715
|
const DnalogelVersion = '2.0.0-alpha.58';
|
|
29564
29716
|
|
|
29565
|
-
export { CSS3DRenderPlugin, CameraMovementEffect, CameraMovementPlugin, CruisePlugin, CruisePluginController, DIRECTION, DISPLAY_STRATEGY_TYPE, DnalogelVersion, FLOOR_PLAN_ATTACHED_TO, FLOOR_TYPE_MAP, GuideLinePlugin, ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE, Plugin as ItemLabelPlugin, Magnifier, MapviewFloorplanPlugin, ModelChassisCompassPlugin, ModelEntryDoorGuidePlugin, ModelFloorplanPlugin, ModelItemLabelPlugin, ModelRoomLabelPlugin, ModelTVVideoPlugin, ModelViewPlugin, Object3DHelperController, Object3DHelperPlugin, PLUGIN, PanoCompassPlugin, PanoCursorRaycasterPlugin, PanoDoorLabelPlugin, PanoFloorplanRadarPlugin, PanoMeasurePlugin, PanoRulerPlugin, PanoRulerProPlugin, PanoSpatialTagPlugin, PanoTagPlugin, PanoTagPluginController, ROOM_FETILE_TYPE_MAP, ROOM_TYPE_MAP, Rotation, TopviewFloorplanPlugin, VERSION, itemLabelPluginServerParams, modelItemLabelPluginServerParams, modelRoomLabelPluginServerParams, pluginFlag };
|
|
29717
|
+
export { CSS3DRenderPlugin, CameraMovementEffect, CameraMovementPlugin, ContentType, CruisePlugin, CruisePluginController, DIRECTION, DISPLAY_STRATEGY_TYPE, DimensionType, DnalogelVersion, FLOOR_PLAN_ATTACHED_TO, FLOOR_TYPE_MAP, GuideLinePlugin, ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE, Plugin as ItemLabelPlugin, LinkType, Magnifier, MapviewFloorplanPlugin, ModelChassisCompassPlugin, ModelEntryDoorGuidePlugin, ModelFloorplanPlugin, ModelItemLabelPlugin, ModelRoomLabelPlugin, ModelTVVideoPlugin, ModelViewPlugin, Object3DHelperController, Object3DHelperPlugin, PLUGIN, PanoCompassPlugin, PanoCursorRaycasterPlugin, PanoDoorLabelPlugin, PanoFloorplanRadarPlugin, PanoMeasurePlugin, PanoRulerPlugin, PanoRulerProPlugin, PanoSpatialTagPlugin, PanoTagPlugin, PanoTagPluginController, PointType, ROOM_FETILE_TYPE_MAP, ROOM_TYPE_MAP, Rotation, TopviewFloorplanPlugin, VERSION, itemLabelPluginServerParams, modelItemLabelPluginServerParams, modelRoomLabelPluginServerParams, pluginFlag };
|