@realsee/dnalogel 2.1.0-alpha.3 → 2.1.0-alpha.5
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/controller.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/Object3DHelperPlugin/index.js +256 -88
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoTagPlugin/index.js +119 -94
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag.d.ts +7 -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/controller.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/controller.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/index.es.js +316 -154
- package/dist/index.js +351 -189
- package/dist/index.umd.js +351 -189
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +3 -3
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -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/ItemLabelPlugin/ItemLabelComponent.svelte +251 -0
- package/libs/ItemLabelPlugin/ItemLabelItem.svelte +183 -0
- package/libs/ItemLabelPlugin/Plugin.js +1 -1
- package/libs/ItemLabelPlugin/typings.d.ts +1 -1
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.svelte +155 -0
- package/libs/ModelItemLabelPlugin/ItemLabelItem.svelte +100 -0
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +1 -1
- package/libs/ModelItemLabelPlugin/typings.d.ts +1 -1
- package/libs/ModelRoomLabelPlugin/Controller.js +1 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.svelte +63 -0
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.svelte +94 -0
- 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/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.svelte +200 -0
- package/libs/PanoRulerProPlugin/Controller.js +1 -1
- package/libs/PanoRulerProPlugin/RulerItem.svelte +166 -0
- package/libs/PanoRulerProPlugin/RulerItems.svelte +212 -0
- package/libs/PanoSpatialTagPlugin/Components/origins.svelte +58 -0
- package/libs/PanoSpatialTagPlugin/Components/tag.svelte +292 -0
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.svelte +56 -0
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Audio.svelte +82 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.svelte +36 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.svelte +36 -0
- package/libs/PanoTagPlugin/Components/Common/Media.svelte +70 -0
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.svelte +56 -0
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.svelte +120 -0
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.svelte +81 -0
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.svelte +30 -0
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Shadow.svelte +46 -0
- package/libs/PanoTagPlugin/Components/Common/Text.svelte +69 -0
- package/libs/PanoTagPlugin/Components/Common/TextItem.svelte +42 -0
- package/libs/PanoTagPlugin/Components/PointTag.js +3 -3
- package/libs/PanoTagPlugin/Components/PointTag.svelte +55 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.svelte +105 -0
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.svelte +33 -0
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte +63 -0
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +9 -9
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.svelte +166 -0
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.svelte +234 -0
- package/libs/PanoTagPlugin/Components/Tag/MediaPanel.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +172 -0
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.svelte +30 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag.svelte +63 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +28 -23
- package/libs/PanoTagPlugin/Components/Tag/index.svelte +145 -0
- package/libs/PanoTagPlugin/Components/TagWrapper.js +9 -1
- package/libs/PanoTagPlugin/Components/TagWrapper.svelte +69 -0
- package/libs/PanoTagPlugin/controller/index.js +9 -9
- 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 +2 -1
- package/libs/PanoTagPlugin/typings/controller.d.ts +2 -1
- package/libs/PanoTagPlugin/typings/tag.d.ts +7 -3
- package/libs/PanoTagPlugin/typings/tag.js +1 -1
- package/libs/floorplan/Components/BaseImage.svelte +26 -0
- package/libs/floorplan/Components/Camera.svelte +46 -0
- package/libs/floorplan/Components/Compass.svelte +51 -0
- package/libs/floorplan/Components/CurrentFloor.svelte +46 -0
- package/libs/floorplan/Components/Main.svelte +51 -0
- package/libs/floorplan/Components/Normalmage.svelte +11 -0
- package/libs/floorplan/Components/RoomHighlight/Room.svelte +27 -0
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.svelte +29 -0
- package/libs/floorplan/Components/RoomLabels/RoomLabel.svelte +119 -0
- package/libs/floorplan/Components/RoomLabels/RoomLabels.svelte +35 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.svelte +42 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte +7 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte +24 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte +33 -0
- package/libs/floorplan/Components/RuleLabels/RuleItem.svelte +174 -0
- package/libs/floorplan/Components/RuleLabels/RuleLabels.svelte +32 -0
- package/libs/floorplan/Components/SvgImage.svelte +28 -0
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte +85 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte +18 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte +40 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte +64 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +13 -8
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -10
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +24 -5
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +2 -2
- 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 +3 -3
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +9 -7
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +3 -2
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +18 -18
- package/libs/shared-utils/Object3DHelper/index.js +8 -12
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19357,13 +19357,13 @@ function sleep(duration) {
|
|
|
19357
19357
|
const VERSION$3 = 'v1.0.6';
|
|
19358
19358
|
const PLUGIN_NAME$2 = 'CruisePlugin';
|
|
19359
19359
|
const PLUGIN$1 = `${PLUGIN_NAME$2}@${VERSION$3}`;
|
|
19360
|
-
const disposedErrorLog$
|
|
19360
|
+
const disposedErrorLog$2 = () => {
|
|
19361
19361
|
console.error(`${PLUGIN$1} is disposed`);
|
|
19362
19362
|
};
|
|
19363
|
-
const disableWarnLog$
|
|
19363
|
+
const disableWarnLog$2 = () => {
|
|
19364
19364
|
console.warn(`${PLUGIN$1} is disabled`);
|
|
19365
19365
|
};
|
|
19366
|
-
const disableErrorLog$
|
|
19366
|
+
const disableErrorLog$2 = () => {
|
|
19367
19367
|
console.error(`${PLUGIN$1} is disabled`);
|
|
19368
19368
|
};
|
|
19369
19369
|
const pauseDataMap = new Map();
|
|
@@ -19434,7 +19434,7 @@ class CruisePluginController extends Controller$6 {
|
|
|
19434
19434
|
async load(serverData, state, userAction) {
|
|
19435
19435
|
var _a, _b, _c, _d, _e;
|
|
19436
19436
|
if (this.state.disposed)
|
|
19437
|
-
return disposedErrorLog$
|
|
19437
|
+
return disposedErrorLog$2();
|
|
19438
19438
|
if (!this.privateState.fiveOriginGetProgress) {
|
|
19439
19439
|
if (!((_b = (_a = this.five.controller) === null || _a === void 0 ? void 0 : _a.cameraMotion) === null || _b === void 0 ? void 0 : _b.getProgress)) {
|
|
19440
19440
|
await this.waitFiveLoaded();
|
|
@@ -19554,11 +19554,11 @@ class CruisePluginController extends Controller$6 {
|
|
|
19554
19554
|
setState(state, options) {
|
|
19555
19555
|
var _a;
|
|
19556
19556
|
if (this.state.disposed)
|
|
19557
|
-
return disposedErrorLog$
|
|
19557
|
+
return disposedErrorLog$2();
|
|
19558
19558
|
if (!this.state.enabled) {
|
|
19559
19559
|
// when plugin is disabled, only can change enabled or disposed to true
|
|
19560
19560
|
if (state.enabled !== true && state.disposed !== true)
|
|
19561
|
-
return disableErrorLog$
|
|
19561
|
+
return disableErrorLog$2();
|
|
19562
19562
|
}
|
|
19563
19563
|
const prevState = Object.assign({}, this.state);
|
|
19564
19564
|
this.state = Object.assign(Object.assign({}, this.state), state);
|
|
@@ -20070,7 +20070,7 @@ class CruisePluginController extends Controller$6 {
|
|
|
20070
20070
|
return func();
|
|
20071
20071
|
else {
|
|
20072
20072
|
if (options === null || options === void 0 ? void 0 : options.warnLog)
|
|
20073
|
-
disableWarnLog$
|
|
20073
|
+
disableWarnLog$2();
|
|
20074
20074
|
}
|
|
20075
20075
|
}
|
|
20076
20076
|
/**
|
|
@@ -20310,17 +20310,17 @@ function resizeObserver(func, element) {
|
|
|
20310
20310
|
}
|
|
20311
20311
|
}
|
|
20312
20312
|
|
|
20313
|
-
|
|
20313
|
+
exports.DimensionType = void 0;
|
|
20314
20314
|
(function (DimensionType) {
|
|
20315
20315
|
DimensionType["Two"] = "2D";
|
|
20316
20316
|
DimensionType["Three"] = "3D";
|
|
20317
|
-
})(DimensionType || (DimensionType = {}));
|
|
20318
|
-
|
|
20317
|
+
})(exports.DimensionType || (exports.DimensionType = {}));
|
|
20318
|
+
exports.PointType = void 0;
|
|
20319
20319
|
(function (PointType) {
|
|
20320
20320
|
PointType["PointTag"] = "PointTag";
|
|
20321
20321
|
PointType["PlaneTag"] = "PlaneTag";
|
|
20322
|
-
})(PointType || (PointType = {}));
|
|
20323
|
-
|
|
20322
|
+
})(exports.PointType || (exports.PointType = {}));
|
|
20323
|
+
exports.ContentType = void 0;
|
|
20324
20324
|
(function (ContentType) {
|
|
20325
20325
|
/** 音频标签 */
|
|
20326
20326
|
ContentType["Audio"] = "Audio";
|
|
@@ -20333,15 +20333,15 @@ var ContentType;
|
|
|
20333
20333
|
/** 营销标签 */
|
|
20334
20334
|
ContentType["Marketing"] = "Marketing";
|
|
20335
20335
|
/** 图片视频贴片 */
|
|
20336
|
-
ContentType["
|
|
20336
|
+
ContentType["MediaPlane"] = "MediaPlane";
|
|
20337
20337
|
/** 其他/自定义标签 */
|
|
20338
20338
|
ContentType["Custom"] = "Custom";
|
|
20339
|
-
})(ContentType || (ContentType = {}));
|
|
20340
|
-
|
|
20339
|
+
})(exports.ContentType || (exports.ContentType = {}));
|
|
20340
|
+
exports.LinkType = void 0;
|
|
20341
20341
|
(function (LinkType) {
|
|
20342
20342
|
LinkType["VrLink"] = "vr";
|
|
20343
20343
|
LinkType["NormalLink"] = "normal";
|
|
20344
|
-
})(LinkType || (LinkType = {}));
|
|
20344
|
+
})(exports.LinkType || (exports.LinkType = {}));
|
|
20345
20345
|
|
|
20346
20346
|
/* src/PanoTagPlugin/Components/Common/Line/Straight.svelte generated by Svelte v3.50.1 */
|
|
20347
20347
|
|
|
@@ -20525,7 +20525,7 @@ function add_css$j(target) {
|
|
|
20525
20525
|
internal.append_styles(target, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
|
|
20526
20526
|
}
|
|
20527
20527
|
|
|
20528
|
-
// (
|
|
20528
|
+
// (23:0) {#if visible}
|
|
20529
20529
|
function create_if_block$f(ctx) {
|
|
20530
20530
|
let div;
|
|
20531
20531
|
let div_style_value;
|
|
@@ -20690,7 +20690,7 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
|
20690
20690
|
let { blurRadius } = $$props;
|
|
20691
20691
|
let { spreadRadius } = $$props;
|
|
20692
20692
|
let { opacity = 0.15 } = $$props;
|
|
20693
|
-
let { zIndex =
|
|
20693
|
+
let { zIndex = undefined } = $$props;
|
|
20694
20694
|
|
|
20695
20695
|
$$self.$$set = $$props => {
|
|
20696
20696
|
if ('inDelay' in $$props) $$invalidate(0, inDelay = $$props.inDelay);
|
|
@@ -21000,8 +21000,7 @@ function create_if_block$e(ctx) {
|
|
|
21000
21000
|
props: {
|
|
21001
21001
|
center: true,
|
|
21002
21002
|
blurRadius: 9,
|
|
21003
|
-
spreadRadius: 3
|
|
21004
|
-
zIndex: -1
|
|
21003
|
+
spreadRadius: 3
|
|
21005
21004
|
}
|
|
21006
21005
|
});
|
|
21007
21006
|
|
|
@@ -23339,8 +23338,7 @@ function create_if_block$7(ctx) {
|
|
|
23339
23338
|
props: {
|
|
23340
23339
|
center: true,
|
|
23341
23340
|
blurRadius: 15,
|
|
23342
|
-
spreadRadius: 6
|
|
23343
|
-
zIndex: -1
|
|
23341
|
+
spreadRadius: 6
|
|
23344
23342
|
}
|
|
23345
23343
|
});
|
|
23346
23344
|
|
|
@@ -23922,13 +23920,13 @@ class AudioTag extends internal.SvelteComponent {
|
|
|
23922
23920
|
}
|
|
23923
23921
|
}
|
|
23924
23922
|
|
|
23925
|
-
/* src/PanoTagPlugin/Components/Tag/
|
|
23923
|
+
/* src/PanoTagPlugin/Components/Tag/MediaPlane.svelte generated by Svelte v3.50.1 */
|
|
23926
23924
|
|
|
23927
23925
|
function add_css$8(target) {
|
|
23928
23926
|
internal.append_styles(target, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
23929
23927
|
}
|
|
23930
23928
|
|
|
23931
|
-
// (
|
|
23929
|
+
// (18:0) {#if tag.state && mediaData}
|
|
23932
23930
|
function create_if_block$5(ctx) {
|
|
23933
23931
|
let div;
|
|
23934
23932
|
let media;
|
|
@@ -23936,8 +23934,10 @@ function create_if_block$5(ctx) {
|
|
|
23936
23934
|
|
|
23937
23935
|
media = new Media({
|
|
23938
23936
|
props: {
|
|
23939
|
-
unfolded: /*unfolded*/ ctx[
|
|
23940
|
-
mediaData: /*mediaData*/ ctx[
|
|
23937
|
+
unfolded: /*unfolded*/ ctx[3],
|
|
23938
|
+
mediaData: /*mediaData*/ ctx[2],
|
|
23939
|
+
objectFit: /*objectFit*/ ctx[1],
|
|
23940
|
+
enableCarousel: true,
|
|
23941
23941
|
inDelay: 500,
|
|
23942
23942
|
duration: 500
|
|
23943
23943
|
}
|
|
@@ -23956,8 +23956,9 @@ function create_if_block$5(ctx) {
|
|
|
23956
23956
|
},
|
|
23957
23957
|
p(ctx, dirty) {
|
|
23958
23958
|
const media_changes = {};
|
|
23959
|
-
if (dirty & /*unfolded*/
|
|
23960
|
-
if (dirty & /*mediaData*/
|
|
23959
|
+
if (dirty & /*unfolded*/ 8) media_changes.unfolded = /*unfolded*/ ctx[3];
|
|
23960
|
+
if (dirty & /*mediaData*/ 4) media_changes.mediaData = /*mediaData*/ ctx[2];
|
|
23961
|
+
if (dirty & /*objectFit*/ 2) media_changes.objectFit = /*objectFit*/ ctx[1];
|
|
23961
23962
|
media.$set(media_changes);
|
|
23962
23963
|
},
|
|
23963
23964
|
i(local) {
|
|
@@ -23979,7 +23980,7 @@ function create_if_block$5(ctx) {
|
|
|
23979
23980
|
function create_fragment$8(ctx) {
|
|
23980
23981
|
let if_block_anchor;
|
|
23981
23982
|
let current;
|
|
23982
|
-
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[
|
|
23983
|
+
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[2] && create_if_block$5(ctx);
|
|
23983
23984
|
|
|
23984
23985
|
return {
|
|
23985
23986
|
c() {
|
|
@@ -23992,11 +23993,11 @@ function create_fragment$8(ctx) {
|
|
|
23992
23993
|
current = true;
|
|
23993
23994
|
},
|
|
23994
23995
|
p(ctx, [dirty]) {
|
|
23995
|
-
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[
|
|
23996
|
+
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[2]) {
|
|
23996
23997
|
if (if_block) {
|
|
23997
23998
|
if_block.p(ctx, dirty);
|
|
23998
23999
|
|
|
23999
|
-
if (dirty & /*tag, mediaData*/
|
|
24000
|
+
if (dirty & /*tag, mediaData*/ 5) {
|
|
24000
24001
|
internal.transition_in(if_block, 1);
|
|
24001
24002
|
}
|
|
24002
24003
|
} else {
|
|
@@ -24034,6 +24035,8 @@ function create_fragment$8(ctx) {
|
|
|
24034
24035
|
function instance$8($$self, $$props, $$invalidate) {
|
|
24035
24036
|
let unfolded;
|
|
24036
24037
|
let mediaData;
|
|
24038
|
+
let objectFit;
|
|
24039
|
+
var _a;
|
|
24037
24040
|
let { tag } = $$props;
|
|
24038
24041
|
|
|
24039
24042
|
$$self.$$set = $$props => {
|
|
@@ -24042,18 +24045,26 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
24042
24045
|
|
|
24043
24046
|
$$self.$$.update = () => {
|
|
24044
24047
|
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
24045
|
-
$$invalidate(
|
|
24048
|
+
$$invalidate(3, unfolded = tag.state ? tag.state.unfolded : false);
|
|
24046
24049
|
}
|
|
24047
24050
|
|
|
24048
24051
|
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
24049
|
-
$$invalidate(
|
|
24052
|
+
$$invalidate(2, mediaData = tag.data.mediaData);
|
|
24053
|
+
}
|
|
24054
|
+
|
|
24055
|
+
if ($$self.$$.dirty & /*tag, _a*/ 17) {
|
|
24056
|
+
$$invalidate(1, objectFit = $$invalidate(4, _a = tag.data.objectFit) !== null && _a !== void 0
|
|
24057
|
+
? _a
|
|
24058
|
+
: (() => {
|
|
24059
|
+
if (tag.data.adaptationMode === 'stretch') return 'cover'; else if (tag.data.adaptationMode === 'proportional') return 'contain'; else return undefined;
|
|
24060
|
+
})());
|
|
24050
24061
|
}
|
|
24051
24062
|
};
|
|
24052
24063
|
|
|
24053
|
-
return [tag, mediaData, unfolded];
|
|
24064
|
+
return [tag, objectFit, mediaData, unfolded, _a];
|
|
24054
24065
|
}
|
|
24055
24066
|
|
|
24056
|
-
class
|
|
24067
|
+
class MediaPlane extends internal.SvelteComponent {
|
|
24057
24068
|
constructor(options) {
|
|
24058
24069
|
super();
|
|
24059
24070
|
internal.init(this, options, instance$8, create_fragment$8, internal.safe_not_equal, { tag: 0 }, add_css$8);
|
|
@@ -24063,7 +24074,7 @@ class MediaPanel extends internal.SvelteComponent {
|
|
|
24063
24074
|
/* src/PanoTagPlugin/Components/Tag/LinkTag.svelte generated by Svelte v3.50.1 */
|
|
24064
24075
|
|
|
24065
24076
|
function add_css$7(target) {
|
|
24066
|
-
internal.append_styles(target, "svelte-
|
|
24077
|
+
internal.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,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);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)}}");
|
|
24067
24078
|
}
|
|
24068
24079
|
|
|
24069
24080
|
// (14:52)
|
|
@@ -24091,7 +24102,7 @@ function create_if_block_1$3(ctx) {
|
|
|
24091
24102
|
internal.create_component(shadow.$$.fragment);
|
|
24092
24103
|
t = internal.space();
|
|
24093
24104
|
div = internal.element("div");
|
|
24094
|
-
internal.attr(div, "class", "link svelte-
|
|
24105
|
+
internal.attr(div, "class", "link svelte-135cbxk");
|
|
24095
24106
|
},
|
|
24096
24107
|
m(target, anchor) {
|
|
24097
24108
|
internal.mount_component(shadow, target, anchor);
|
|
@@ -24149,9 +24160,9 @@ function create_if_block$4(ctx) {
|
|
|
24149
24160
|
div1 = internal.element("div");
|
|
24150
24161
|
t2 = internal.space();
|
|
24151
24162
|
div2 = internal.element("div");
|
|
24152
|
-
internal.attr(div0, "class", "arrow0 svelte-
|
|
24153
|
-
internal.attr(div1, "class", "arrow1 svelte-
|
|
24154
|
-
internal.attr(div2, "class", "arrow2 svelte-
|
|
24163
|
+
internal.attr(div0, "class", "arrow0 svelte-135cbxk");
|
|
24164
|
+
internal.attr(div1, "class", "arrow1 svelte-135cbxk");
|
|
24165
|
+
internal.attr(div2, "class", "arrow2 svelte-135cbxk");
|
|
24155
24166
|
},
|
|
24156
24167
|
m(target, anchor) {
|
|
24157
24168
|
internal.mount_component(shadow, target, anchor);
|
|
@@ -24201,8 +24212,8 @@ function create_fragment$7(ctx) {
|
|
|
24201
24212
|
const if_blocks = [];
|
|
24202
24213
|
|
|
24203
24214
|
function select_block_type(ctx, dirty) {
|
|
24204
|
-
if (/*data*/ ctx[0].linkType === LinkType.VrLink) return 0;
|
|
24205
|
-
if (/*data*/ ctx[0].linkType === LinkType.NormalLink) return 1;
|
|
24215
|
+
if (/*data*/ ctx[0].linkType === exports.LinkType.VrLink) return 0;
|
|
24216
|
+
if (/*data*/ ctx[0].linkType === exports.LinkType.NormalLink) return 1;
|
|
24206
24217
|
return -1;
|
|
24207
24218
|
}
|
|
24208
24219
|
|
|
@@ -24235,10 +24246,10 @@ function create_fragment$7(ctx) {
|
|
|
24235
24246
|
t1 = internal.space();
|
|
24236
24247
|
div1 = internal.element("div");
|
|
24237
24248
|
t2 = internal.text(t2_value);
|
|
24238
|
-
internal.attr(div0, "class", "icon svelte-
|
|
24239
|
-
internal.attr(div1, "class", "text svelte-
|
|
24240
|
-
internal.attr(div2, "class", "text-wrapper svelte-
|
|
24241
|
-
internal.attr(div3, "class", "wrapper svelte-
|
|
24249
|
+
internal.attr(div0, "class", "icon svelte-135cbxk");
|
|
24250
|
+
internal.attr(div1, "class", "text svelte-135cbxk");
|
|
24251
|
+
internal.attr(div2, "class", "text-wrapper svelte-135cbxk");
|
|
24252
|
+
internal.attr(div3, "class", "wrapper svelte-135cbxk");
|
|
24242
24253
|
},
|
|
24243
24254
|
m(target, anchor) {
|
|
24244
24255
|
internal.insert(target, div3, anchor);
|
|
@@ -24457,47 +24468,47 @@ class CustomTag extends internal.SvelteComponent {
|
|
|
24457
24468
|
/* src/PanoTagPlugin/Components/Tag/index.svelte generated by Svelte v3.50.1 */
|
|
24458
24469
|
|
|
24459
24470
|
function add_css$5(target) {
|
|
24460
|
-
internal.append_styles(target, "svelte-
|
|
24471
|
+
internal.append_styles(target, "svelte-6jfp1v", "@font-face{font-family:'TG-TYPE';font-style:normal;font-weight:400;src:local('TG-TYPE-Bold'),\n url(data:application/font-woff2;charset=utf-8;base64,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)\n format('woff2')}.content__container.svelte-6jfp1v{position:relative;left:50%;top:50%;transform:translate(-50%, -50%);font-family:PingFangSC, Segoe UI, Rototo, sans-serif}.content__container.unClickable.svelte-6jfp1v{pointer-events:none !important}.content__container.unClickable.svelte-6jfp1v *{pointer-events:none !important}*{-webkit-tap-highlight-color:transparent}.content__wrapper.svelte-6jfp1v{pointer-events:none;width:100%;height:100%}.withAnimation.svelte-6jfp1v{transition:opacity 0.3s linear}.content__container.hide.svelte-6jfp1v{opacity:0;pointer-events:none}.content__container.disable.svelte-6jfp1v{display:none}.content__container.hide.svelte-6jfp1v *{pointer-events:none}.content.svelte-6jfp1v{position:relative;width:100%;height:100%;font-size:0.75rem;line-height:1.125rem;color:#fff}.content.svelte-6jfp1v:not(.unfolded){pointer-events:none}.content.svelte-6jfp1v:not(.unfolded) *{pointer-events:none !important}.content.unfolded.svelte-6jfp1v{pointer-events:auto}");
|
|
24461
24472
|
}
|
|
24462
24473
|
|
|
24463
|
-
// (
|
|
24474
|
+
// (68:59)
|
|
24464
24475
|
function create_if_block_6(ctx) {
|
|
24465
|
-
let
|
|
24476
|
+
let mediaplane;
|
|
24466
24477
|
let current;
|
|
24467
24478
|
|
|
24468
|
-
|
|
24479
|
+
mediaplane = new MediaPlane({
|
|
24469
24480
|
props: { tag: noTypecheck(/*tag*/ ctx[1]) }
|
|
24470
24481
|
});
|
|
24471
24482
|
|
|
24472
24483
|
return {
|
|
24473
24484
|
c() {
|
|
24474
|
-
internal.create_component(
|
|
24485
|
+
internal.create_component(mediaplane.$$.fragment);
|
|
24475
24486
|
},
|
|
24476
24487
|
m(target, anchor) {
|
|
24477
|
-
internal.mount_component(
|
|
24488
|
+
internal.mount_component(mediaplane, target, anchor);
|
|
24478
24489
|
current = true;
|
|
24479
24490
|
},
|
|
24480
24491
|
p(ctx, dirty) {
|
|
24481
|
-
const
|
|
24482
|
-
if (dirty & /*tag*/ 2)
|
|
24483
|
-
|
|
24492
|
+
const mediaplane_changes = {};
|
|
24493
|
+
if (dirty & /*tag*/ 2) mediaplane_changes.tag = noTypecheck(/*tag*/ ctx[1]);
|
|
24494
|
+
mediaplane.$set(mediaplane_changes);
|
|
24484
24495
|
},
|
|
24485
24496
|
i(local) {
|
|
24486
24497
|
if (current) return;
|
|
24487
|
-
internal.transition_in(
|
|
24498
|
+
internal.transition_in(mediaplane.$$.fragment, local);
|
|
24488
24499
|
current = true;
|
|
24489
24500
|
},
|
|
24490
24501
|
o(local) {
|
|
24491
|
-
internal.transition_out(
|
|
24502
|
+
internal.transition_out(mediaplane.$$.fragment, local);
|
|
24492
24503
|
current = false;
|
|
24493
24504
|
},
|
|
24494
24505
|
d(detaching) {
|
|
24495
|
-
internal.destroy_component(
|
|
24506
|
+
internal.destroy_component(mediaplane, detaching);
|
|
24496
24507
|
}
|
|
24497
24508
|
};
|
|
24498
24509
|
}
|
|
24499
24510
|
|
|
24500
|
-
// (
|
|
24511
|
+
// (66:53)
|
|
24501
24512
|
function create_if_block_5(ctx) {
|
|
24502
24513
|
let linktag;
|
|
24503
24514
|
let current;
|
|
@@ -24534,7 +24545,7 @@ function create_if_block_5(ctx) {
|
|
|
24534
24545
|
};
|
|
24535
24546
|
}
|
|
24536
24547
|
|
|
24537
|
-
// (
|
|
24548
|
+
// (64:58)
|
|
24538
24549
|
function create_if_block_4(ctx) {
|
|
24539
24550
|
let marketingtag;
|
|
24540
24551
|
let current;
|
|
@@ -24571,7 +24582,7 @@ function create_if_block_4(ctx) {
|
|
|
24571
24582
|
};
|
|
24572
24583
|
}
|
|
24573
24584
|
|
|
24574
|
-
// (
|
|
24585
|
+
// (62:54)
|
|
24575
24586
|
function create_if_block_3(ctx) {
|
|
24576
24587
|
let audiotag;
|
|
24577
24588
|
let current;
|
|
@@ -24612,7 +24623,7 @@ function create_if_block_3(ctx) {
|
|
|
24612
24623
|
};
|
|
24613
24624
|
}
|
|
24614
24625
|
|
|
24615
|
-
// (
|
|
24626
|
+
// (60:58)
|
|
24616
24627
|
function create_if_block_2$1(ctx) {
|
|
24617
24628
|
let imagetexttag;
|
|
24618
24629
|
let current;
|
|
@@ -24649,7 +24660,7 @@ function create_if_block_2$1(ctx) {
|
|
|
24649
24660
|
};
|
|
24650
24661
|
}
|
|
24651
24662
|
|
|
24652
|
-
// (
|
|
24663
|
+
// (58:53)
|
|
24653
24664
|
function create_if_block_1$2(ctx) {
|
|
24654
24665
|
let texttag;
|
|
24655
24666
|
let current;
|
|
@@ -24686,7 +24697,7 @@ function create_if_block_1$2(ctx) {
|
|
|
24686
24697
|
};
|
|
24687
24698
|
}
|
|
24688
24699
|
|
|
24689
|
-
// (
|
|
24700
|
+
// (56:6) {#if tag.element}
|
|
24690
24701
|
function create_if_block$2(ctx) {
|
|
24691
24702
|
let customtag;
|
|
24692
24703
|
let current;
|
|
@@ -24748,12 +24759,12 @@ function create_fragment$5(ctx) {
|
|
|
24748
24759
|
|
|
24749
24760
|
function select_block_type(ctx, dirty) {
|
|
24750
24761
|
if (/*tag*/ ctx[1].element) return 0;
|
|
24751
|
-
if (/*tag*/ ctx[1].contentType === ContentType.Text) return 1;
|
|
24752
|
-
if (/*tag*/ ctx[1].contentType === ContentType.ImageText) return 2;
|
|
24753
|
-
if (/*tag*/ ctx[1].contentType === ContentType.Audio) return 3;
|
|
24754
|
-
if (/*tag*/ ctx[1].contentType === ContentType.Marketing) return 4;
|
|
24755
|
-
if (/*tag*/ ctx[1].contentType === ContentType.Link) return 5;
|
|
24756
|
-
if (/*tag*/ ctx[1].contentType === ContentType.
|
|
24762
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.Text) return 1;
|
|
24763
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.ImageText) return 2;
|
|
24764
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.Audio) return 3;
|
|
24765
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.Marketing) return 4;
|
|
24766
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.Link) return 5;
|
|
24767
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.MediaPlane) return 6;
|
|
24757
24768
|
return -1;
|
|
24758
24769
|
}
|
|
24759
24770
|
|
|
@@ -24767,14 +24778,15 @@ function create_fragment$5(ctx) {
|
|
|
24767
24778
|
div1 = internal.element("div");
|
|
24768
24779
|
div0 = internal.element("div");
|
|
24769
24780
|
if (if_block) if_block.c();
|
|
24770
|
-
internal.attr(div0, "class", "content svelte-
|
|
24781
|
+
internal.attr(div0, "class", "content svelte-6jfp1v");
|
|
24771
24782
|
internal.toggle_class(div0, "unfolded", /*tag*/ ctx[1].state?.unfolded);
|
|
24772
|
-
internal.attr(div1, "class", "content__wrapper svelte-
|
|
24773
|
-
internal.attr(div2, "class", "content__container svelte-
|
|
24783
|
+
internal.attr(div1, "class", "content__wrapper svelte-6jfp1v");
|
|
24784
|
+
internal.attr(div2, "class", "content__container svelte-6jfp1v");
|
|
24774
24785
|
internal.attr(div2, "data-id", div2_data_id_value = /*tag*/ ctx[1].id);
|
|
24775
24786
|
internal.toggle_class(div2, "disable", /*tag*/ ctx[1].enabled === false || /*tag*/ ctx[1].temporaryState?.visible === false);
|
|
24776
24787
|
internal.toggle_class(div2, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible || !/*tag*/ ctx[1].state?.visible);
|
|
24777
24788
|
internal.toggle_class(div2, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
24789
|
+
internal.toggle_class(div2, "unClickable", /*tag*/ ctx[1].clickable === false);
|
|
24778
24790
|
internal.set_style(div2, "width", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
24779
24791
|
internal.set_style(div2, "height", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
24780
24792
|
},
|
|
@@ -24850,6 +24862,10 @@ function create_fragment$5(ctx) {
|
|
|
24850
24862
|
internal.toggle_class(div2, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
24851
24863
|
}
|
|
24852
24864
|
|
|
24865
|
+
if (!current || dirty & /*tag*/ 2) {
|
|
24866
|
+
internal.toggle_class(div2, "unClickable", /*tag*/ ctx[1].clickable === false);
|
|
24867
|
+
}
|
|
24868
|
+
|
|
24853
24869
|
if (dirty & /*tag*/ 2) {
|
|
24854
24870
|
internal.set_style(div2, "width", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
24855
24871
|
}
|
|
@@ -25205,7 +25221,7 @@ function add_css$2(target) {
|
|
|
25205
25221
|
function create_if_block$1(ctx) {
|
|
25206
25222
|
let if_block_anchor;
|
|
25207
25223
|
let current;
|
|
25208
|
-
let if_block = /*tag*/ ctx[0].contentType !== ContentType.Link && create_if_block_1$1(ctx);
|
|
25224
|
+
let if_block = /*tag*/ ctx[0].contentType !== exports.ContentType.Link && create_if_block_1$1(ctx);
|
|
25209
25225
|
|
|
25210
25226
|
return {
|
|
25211
25227
|
c() {
|
|
@@ -25218,7 +25234,7 @@ function create_if_block$1(ctx) {
|
|
|
25218
25234
|
current = true;
|
|
25219
25235
|
},
|
|
25220
25236
|
p(ctx, dirty) {
|
|
25221
|
-
if (/*tag*/ ctx[0].contentType !== ContentType.Link) {
|
|
25237
|
+
if (/*tag*/ ctx[0].contentType !== exports.ContentType.Link) {
|
|
25222
25238
|
if (if_block) {
|
|
25223
25239
|
if_block.p(ctx, dirty);
|
|
25224
25240
|
|
|
@@ -25490,7 +25506,7 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
|
25490
25506
|
? void 0
|
|
25491
25507
|
: _a.foldedPointDelay) !== null && _b !== void 0
|
|
25492
25508
|
? _b
|
|
25493
|
-
: tag.contentType === ContentType.Marketing
|
|
25509
|
+
: tag.contentType === exports.ContentType.Marketing
|
|
25494
25510
|
? 600
|
|
25495
25511
|
: undefined);
|
|
25496
25512
|
}
|
|
@@ -25614,8 +25630,8 @@ function create_fragment$1(ctx) {
|
|
|
25614
25630
|
let t;
|
|
25615
25631
|
let div_data_id_value;
|
|
25616
25632
|
let current;
|
|
25617
|
-
let if_block0 = /*tag*/ ctx[1].dimensionType === DimensionType.Two && create_if_block_1(ctx);
|
|
25618
|
-
let if_block1 = /*tag*/ ctx[1].pointType === PointType.PointTag && /*tag*/ ctx[1].style?.point?.style !== 'noPoint' && create_if_block(ctx);
|
|
25633
|
+
let if_block0 = /*tag*/ ctx[1].dimensionType === exports.DimensionType.Two && create_if_block_1(ctx);
|
|
25634
|
+
let if_block1 = /*tag*/ ctx[1].pointType === exports.PointType.PointTag && /*tag*/ ctx[1].style?.point?.style !== 'noPoint' && create_if_block(ctx);
|
|
25619
25635
|
|
|
25620
25636
|
return {
|
|
25621
25637
|
c() {
|
|
@@ -25639,7 +25655,7 @@ function create_fragment$1(ctx) {
|
|
|
25639
25655
|
current = true;
|
|
25640
25656
|
},
|
|
25641
25657
|
p(ctx, [dirty]) {
|
|
25642
|
-
if (/*tag*/ ctx[1].dimensionType === DimensionType.Two) {
|
|
25658
|
+
if (/*tag*/ ctx[1].dimensionType === exports.DimensionType.Two) {
|
|
25643
25659
|
if (if_block0) {
|
|
25644
25660
|
if_block0.p(ctx, dirty);
|
|
25645
25661
|
|
|
@@ -25662,7 +25678,7 @@ function create_fragment$1(ctx) {
|
|
|
25662
25678
|
internal.check_outros();
|
|
25663
25679
|
}
|
|
25664
25680
|
|
|
25665
|
-
if (/*tag*/ ctx[1].pointType === PointType.PointTag && /*tag*/ ctx[1].style?.point?.style !== 'noPoint') {
|
|
25681
|
+
if (/*tag*/ ctx[1].pointType === exports.PointType.PointTag && /*tag*/ ctx[1].style?.point?.style !== 'noPoint') {
|
|
25666
25682
|
if (if_block1) {
|
|
25667
25683
|
if_block1.p(ctx, dirty);
|
|
25668
25684
|
|
|
@@ -25761,6 +25777,14 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
25761
25777
|
hooks.emit('click', { event, target: 'TagPoint', tag });
|
|
25762
25778
|
};
|
|
25763
25779
|
|
|
25780
|
+
svelte.onMount(() => {
|
|
25781
|
+
hooks.emit('exposure', { id: tag.id, type: 'start' });
|
|
25782
|
+
|
|
25783
|
+
return () => {
|
|
25784
|
+
hooks.emit('exposure', { id: tag.id, type: 'end' });
|
|
25785
|
+
};
|
|
25786
|
+
});
|
|
25787
|
+
|
|
25764
25788
|
$$self.$$set = $$props => {
|
|
25765
25789
|
if ('withAnimation' in $$props) $$invalidate(0, withAnimation = $$props.withAnimation);
|
|
25766
25790
|
if ('tag' in $$props) $$invalidate(1, tag = $$props.tag);
|
|
@@ -25796,7 +25820,7 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
25796
25820
|
}
|
|
25797
25821
|
|
|
25798
25822
|
if ($$self.$$.dirty & /*tag, _e*/ 65538) {
|
|
25799
|
-
$$invalidate(7, zIndex = tag.contentType === ContentType.Link
|
|
25823
|
+
$$invalidate(7, zIndex = tag.contentType === exports.ContentType.Link
|
|
25800
25824
|
? 20
|
|
25801
25825
|
: ($$invalidate(16, _e = tag.state) === null || _e === void 0
|
|
25802
25826
|
? void 0
|
|
@@ -25857,7 +25881,7 @@ class TagWrapper extends internal.SvelteComponent {
|
|
|
25857
25881
|
/* src/PanoTagPlugin/Components/PointTag.svelte generated by Svelte v3.50.1 */
|
|
25858
25882
|
|
|
25859
25883
|
function add_css(target) {
|
|
25860
|
-
internal.append_styles(target, "svelte-
|
|
25884
|
+
internal.append_styles(target, "svelte-1eci49s", ".tag--container.svelte-1eci49s{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tag.hide.svelte-1eci49s{display:none}.withAnimation.svelte-1eci49s{transition:opacity 0.3s linear}.tag--container.hide.svelte-1eci49s{opacity:0;pointer-events:none}.tag--container.hide.svelte-1eci49s *{pointer-events:none}");
|
|
25861
25885
|
}
|
|
25862
25886
|
|
|
25863
25887
|
function get_each_context(ctx, list, i) {
|
|
@@ -25899,7 +25923,7 @@ function create_each_block(key_1, ctx) {
|
|
|
25899
25923
|
div = internal.element("div");
|
|
25900
25924
|
internal.create_component(tagwrapper.$$.fragment);
|
|
25901
25925
|
t = internal.space();
|
|
25902
|
-
internal.attr(div, "class", "
|
|
25926
|
+
internal.attr(div, "class", "tag svelte-1eci49s");
|
|
25903
25927
|
internal.toggle_class(div, "hide", !/*tag*/ ctx[6].pointTagStyle?.leftPercent || !/*tag*/ ctx[6].pointTagStyle?.topPercent || /*tag*/ ctx[6].enabled === false || !/*tag*/ ctx[6].state || /*tag*/ ctx[6].temporaryState?.visible === false);
|
|
25904
25928
|
this.first = div;
|
|
25905
25929
|
},
|
|
@@ -25969,7 +25993,7 @@ function create_fragment(ctx) {
|
|
|
25969
25993
|
each_blocks[i].c();
|
|
25970
25994
|
}
|
|
25971
25995
|
|
|
25972
|
-
internal.attr(div, "class", "
|
|
25996
|
+
internal.attr(div, "class", "tag--container svelte-1eci49s");
|
|
25973
25997
|
internal.toggle_class(div, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible);
|
|
25974
25998
|
internal.toggle_class(div, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
25975
25999
|
},
|
|
@@ -26100,7 +26124,7 @@ const DefaultConfig = {
|
|
|
26100
26124
|
'Any-Marketing-Any': {
|
|
26101
26125
|
unfoldedConfig: undefined,
|
|
26102
26126
|
},
|
|
26103
|
-
'3D-
|
|
26127
|
+
'3D-MediaPlane-PlaneTag': {
|
|
26104
26128
|
unfoldedConfig: {
|
|
26105
26129
|
disableFold: true,
|
|
26106
26130
|
},
|
|
@@ -26108,6 +26132,7 @@ const DefaultConfig = {
|
|
|
26108
26132
|
angleRange: undefined,
|
|
26109
26133
|
visibleDistance: undefined,
|
|
26110
26134
|
},
|
|
26135
|
+
clickable: false,
|
|
26111
26136
|
},
|
|
26112
26137
|
},
|
|
26113
26138
|
};
|
|
@@ -26273,7 +26298,7 @@ class TagComputer extends TagCacheController {
|
|
|
26273
26298
|
}
|
|
26274
26299
|
// console.log(tag.id, '角度检测', tag, config.angleRange)
|
|
26275
26300
|
// 角度检测
|
|
26276
|
-
if (config.angleRange && tag.dimensionType === DimensionType.Three) {
|
|
26301
|
+
if (config.angleRange && tag.dimensionType === exports.DimensionType.Three) {
|
|
26277
26302
|
const visible = checkRange(this.getAngle(tag), config.angleRange);
|
|
26278
26303
|
if (visible === false)
|
|
26279
26304
|
return false;
|
|
@@ -26406,7 +26431,7 @@ class TagComputer extends TagCacheController {
|
|
|
26406
26431
|
if (observerPosition === undefined)
|
|
26407
26432
|
throw new Error(`getDistance(): observerPosition is ${observerPosition}`);
|
|
26408
26433
|
const position = (() => {
|
|
26409
|
-
if (tag.pointType === PointType.PointTag) {
|
|
26434
|
+
if (tag.pointType === exports.PointType.PointTag) {
|
|
26410
26435
|
return arrayPositionToVector3(tag === null || tag === void 0 ? void 0 : tag.position);
|
|
26411
26436
|
}
|
|
26412
26437
|
else {
|
|
@@ -26434,7 +26459,7 @@ class TagComputer extends TagCacheController {
|
|
|
26434
26459
|
if (observerPosition === undefined)
|
|
26435
26460
|
throw new Error(`getAngleRange(): observerPosition is ${observerPosition}`);
|
|
26436
26461
|
const normal = (() => {
|
|
26437
|
-
if (tag.pointType === PointType.PointTag)
|
|
26462
|
+
if (tag.pointType === exports.PointType.PointTag)
|
|
26438
26463
|
return anyPositionToVector3(tag.normal);
|
|
26439
26464
|
else
|
|
26440
26465
|
return planeNormal(tag.position);
|
|
@@ -26551,25 +26576,25 @@ class TagComputer extends TagCacheController {
|
|
|
26551
26576
|
}
|
|
26552
26577
|
// TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
|
|
26553
26578
|
filterPointTag() {
|
|
26554
|
-
return this.tags.filter((tag) => tag.pointType === PointType.PointTag);
|
|
26579
|
+
return this.tags.filter((tag) => tag.pointType === exports.PointType.PointTag);
|
|
26555
26580
|
}
|
|
26556
26581
|
filterTag2D() {
|
|
26557
|
-
return this.tags.filter((tag) => tag.dimensionType === DimensionType.Two);
|
|
26582
|
+
return this.tags.filter((tag) => tag.dimensionType === exports.DimensionType.Two);
|
|
26558
26583
|
}
|
|
26559
26584
|
filter3DPointTag() {
|
|
26560
|
-
return this.tags.filter((tag) => tag.dimensionType === DimensionType.Three && tag.pointType === PointType.PointTag);
|
|
26585
|
+
return this.tags.filter((tag) => tag.dimensionType === exports.DimensionType.Three && tag.pointType === exports.PointType.PointTag);
|
|
26561
26586
|
}
|
|
26562
26587
|
filter3DTag() {
|
|
26563
|
-
return this.tags.filter((tag) => tag.dimensionType === DimensionType.Three);
|
|
26588
|
+
return this.tags.filter((tag) => tag.dimensionType === exports.DimensionType.Three);
|
|
26564
26589
|
}
|
|
26565
26590
|
filterPlaneTag() {
|
|
26566
|
-
return this.tags.filter((tag) => tag.dimensionType === DimensionType.Three && tag.pointType === PointType.PlaneTag);
|
|
26591
|
+
return this.tags.filter((tag) => tag.dimensionType === exports.DimensionType.Three && tag.pointType === exports.PointType.PlaneTag);
|
|
26567
26592
|
}
|
|
26568
26593
|
}
|
|
26569
26594
|
|
|
26570
26595
|
// declare const __APP_VERSION__: string
|
|
26571
|
-
const VERSION$2 = '0.
|
|
26572
|
-
const PLUGIN_NAME$1 = `DnalogelPlugin-PanoTagPlugin
|
|
26596
|
+
const VERSION$2 = '0.3.4';
|
|
26597
|
+
const PLUGIN_NAME$1 = `DnalogelPlugin-PanoTagPlugin@${VERSION$2}`;
|
|
26573
26598
|
const TAG_INITIAL_UNFOLDED = true;
|
|
26574
26599
|
const pluginFlag = (name) => `${PLUGIN_NAME$1}--${name}`;
|
|
26575
26600
|
class PanoTagPluginController extends TagComputer {
|
|
@@ -26710,7 +26735,7 @@ class PanoTagPluginController extends TagComputer {
|
|
|
26710
26735
|
const _tags = tags
|
|
26711
26736
|
.map((tag) => {
|
|
26712
26737
|
const config = this.getTagConfig(tag);
|
|
26713
|
-
return Object.assign(Object.assign({}, tag), { state: Object.assign({ visible: undefined, unfolded: TAG_INITIAL_UNFOLDED }, config.initialState), hooks: new five.Subscribe() });
|
|
26738
|
+
return Object.assign(Object.assign({}, tag), { state: Object.assign({ visible: undefined, unfolded: TAG_INITIAL_UNFOLDED }, config.initialState), hooks: new five.Subscribe(), clickable: config.clickable });
|
|
26714
26739
|
})
|
|
26715
26740
|
.filter((tag) => tag.position);
|
|
26716
26741
|
this.tags.push(..._tags);
|
|
@@ -27096,13 +27121,13 @@ class PanoTagPluginController extends TagComputer {
|
|
|
27096
27121
|
return;
|
|
27097
27122
|
if (!this.css3DRenderPlugin)
|
|
27098
27123
|
this.css3DRenderPlugin = CSS3DRenderPlugin(this.five);
|
|
27099
|
-
if (tag.pointType === PointType.PointTag && !tag.normal)
|
|
27124
|
+
if (tag.pointType === exports.PointType.PointTag && !tag.normal)
|
|
27100
27125
|
return console.error('updateRenderPlaneTag: 三维点标签缺少法向量!');
|
|
27101
27126
|
// 四个点
|
|
27102
|
-
const positions = tag.pointType === PointType.PlaneTag
|
|
27127
|
+
const positions = tag.pointType === exports.PointType.PlaneTag
|
|
27103
27128
|
? tag.position
|
|
27104
27129
|
: normalPositionToPositions(this.five.camera.position, arrayPositionToVector3(tag.position), arrayPositionToVector3(tag.normal));
|
|
27105
|
-
const normal = tag.pointType === PointType.PlaneTag ? planeNormal(tag.position) : arrayPositionToVector3(tag.normal);
|
|
27130
|
+
const normal = tag.pointType === exports.PointType.PlaneTag ? planeNormal(tag.position) : arrayPositionToVector3(tag.normal);
|
|
27106
27131
|
const create3DDomContainerConfig = this.getTagConfig(tag).tag3DConfig;
|
|
27107
27132
|
const domContainer = this.css3DRenderPlugin.create3DDomContainer(positions, create3DDomContainerConfig);
|
|
27108
27133
|
if (!domContainer)
|
|
@@ -27152,14 +27177,14 @@ class PanoTagPluginController extends TagComputer {
|
|
|
27152
27177
|
// 3D 转 2D 的时候要销毁 3D container
|
|
27153
27178
|
this.tags.forEach((tag) => {
|
|
27154
27179
|
var _a;
|
|
27155
|
-
if (tag.dimensionType === DimensionType.Two && tag.pointType === PointType.PointTag) {
|
|
27180
|
+
if (tag.dimensionType === exports.DimensionType.Two && tag.pointType === exports.PointType.PointTag) {
|
|
27156
27181
|
(_a = tag.tag3DContentSvelte) === null || _a === void 0 ? void 0 : _a.domContainer.dispose();
|
|
27157
27182
|
tag.tag3DContentSvelte = undefined;
|
|
27158
27183
|
}
|
|
27159
27184
|
});
|
|
27160
27185
|
for (const [id, disposer] of this.store.css3DRenderDisposer) {
|
|
27161
27186
|
const tag = this.getTagById(id);
|
|
27162
|
-
if (!tag || tag.dimensionType !== DimensionType.Three) {
|
|
27187
|
+
if (!tag || tag.dimensionType !== exports.DimensionType.Three) {
|
|
27163
27188
|
disposer === null || disposer === void 0 ? void 0 : disposer();
|
|
27164
27189
|
this.store.css3DRenderDisposer.delete(id);
|
|
27165
27190
|
}
|
|
@@ -27170,7 +27195,8 @@ class PanoTagPluginController extends TagComputer {
|
|
|
27170
27195
|
const PanoTagPlugin = (five, params) => new PanoTagPluginController(five, params);
|
|
27171
27196
|
|
|
27172
27197
|
class BaseHelper extends THREE.Object3D {
|
|
27173
|
-
constructor(originObject3D) {
|
|
27198
|
+
constructor(originObject3D, config) {
|
|
27199
|
+
var _a;
|
|
27174
27200
|
super();
|
|
27175
27201
|
Object.defineProperty(this, "originObject3D", {
|
|
27176
27202
|
enumerable: true,
|
|
@@ -27178,24 +27204,42 @@ class BaseHelper extends THREE.Object3D {
|
|
|
27178
27204
|
writable: true,
|
|
27179
27205
|
value: void 0
|
|
27180
27206
|
});
|
|
27207
|
+
Object.defineProperty(this, "needsRender", {
|
|
27208
|
+
enumerable: true,
|
|
27209
|
+
configurable: true,
|
|
27210
|
+
writable: true,
|
|
27211
|
+
value: void 0
|
|
27212
|
+
});
|
|
27181
27213
|
this.originObject3D = originObject3D;
|
|
27214
|
+
this.needsRender = (_a = config === null || config === void 0 ? void 0 : config.needsRender) !== null && _a !== void 0 ? _a : (() => { });
|
|
27182
27215
|
}
|
|
27183
27216
|
get helperObject() {
|
|
27184
27217
|
return this;
|
|
27185
27218
|
}
|
|
27219
|
+
show() {
|
|
27220
|
+
this.visible = true;
|
|
27221
|
+
this.needsRender();
|
|
27222
|
+
}
|
|
27223
|
+
hide() {
|
|
27224
|
+
this.visible = false;
|
|
27225
|
+
this.needsRender();
|
|
27226
|
+
}
|
|
27186
27227
|
updatePosition() {
|
|
27187
27228
|
this.position.copy(this.originObject3D.position);
|
|
27188
27229
|
}
|
|
27189
|
-
|
|
27190
|
-
this.
|
|
27230
|
+
updateQuaternion() {
|
|
27231
|
+
this.quaternion.copy(this.originObject3D.quaternion);
|
|
27191
27232
|
}
|
|
27233
|
+
// public setPosition(position: Vector3) {
|
|
27234
|
+
// this.position.copy(position)
|
|
27235
|
+
// }
|
|
27192
27236
|
updateMatrix4(matrix, origin) {
|
|
27193
27237
|
this.applyMatrix4(matrix);
|
|
27194
27238
|
}
|
|
27195
|
-
|
|
27239
|
+
applyHelperScaleMatrix4(matrix, params) {
|
|
27196
27240
|
this.scale.applyMatrix4(matrix);
|
|
27197
27241
|
}
|
|
27198
|
-
|
|
27242
|
+
applyHelperQuaternion(quaternion, origin) {
|
|
27199
27243
|
this.applyQuaternion(quaternion);
|
|
27200
27244
|
}
|
|
27201
27245
|
}
|
|
@@ -27385,29 +27429,16 @@ class MoveHelper extends MoveHelperAbstract {
|
|
|
27385
27429
|
this.add(this.yArrow);
|
|
27386
27430
|
this.add(this.zArrow);
|
|
27387
27431
|
}
|
|
27388
|
-
|
|
27389
|
-
|
|
27390
|
-
|
|
27391
|
-
|
|
27392
|
-
|
|
27393
|
-
}
|
|
27394
|
-
else {
|
|
27395
|
-
directions.forEach((direction) => {
|
|
27396
|
-
const arrow = [this.xArrow, this.yArrow, this.zArrow].find((arrow) => arrow.direction === direction);
|
|
27397
|
-
arrow && (arrow.visible = false);
|
|
27398
|
-
});
|
|
27399
|
-
}
|
|
27432
|
+
show() {
|
|
27433
|
+
super.show();
|
|
27434
|
+
this.xArrow.visible = true;
|
|
27435
|
+
this.yArrow.visible = true;
|
|
27436
|
+
this.zArrow.visible = true;
|
|
27400
27437
|
}
|
|
27401
|
-
|
|
27402
|
-
|
|
27403
|
-
|
|
27404
|
-
|
|
27405
|
-
this.zArrow.visible = true;
|
|
27406
|
-
}
|
|
27407
|
-
else {
|
|
27408
|
-
const arrow = [this.xArrow, this.yArrow, this.zArrow].find((arrow) => arrow.direction === direction);
|
|
27409
|
-
arrow && (arrow.visible = true);
|
|
27410
|
-
}
|
|
27438
|
+
showDraggingHelper(directions) {
|
|
27439
|
+
this.xArrow.visible = directions.includes('x');
|
|
27440
|
+
this.yArrow.visible = directions.includes('y');
|
|
27441
|
+
this.zArrow.visible = directions.includes('z');
|
|
27411
27442
|
}
|
|
27412
27443
|
dispose() {
|
|
27413
27444
|
this.remove(this.xArrow, this.yArrow, this.zArrow);
|
|
@@ -27536,7 +27567,7 @@ class RotateHelper extends RotateHelperAbstract {
|
|
|
27536
27567
|
this.yRingHelper.quaternion.copy(this.xzCircle.quaternion);
|
|
27537
27568
|
this.zRingHelper.quaternion.copy(this.xyCircle.quaternion);
|
|
27538
27569
|
}
|
|
27539
|
-
|
|
27570
|
+
applyHelperQuaternion(quaternion, origin) {
|
|
27540
27571
|
this.yzCircle.applyQuaternion(quaternion);
|
|
27541
27572
|
this.xzCircle.applyQuaternion(quaternion);
|
|
27542
27573
|
this.xyCircle.applyQuaternion(quaternion);
|
|
@@ -27545,21 +27576,21 @@ class RotateHelper extends RotateHelperAbstract {
|
|
|
27545
27576
|
this.zAngleHelper.baseAxes.applyQuaternion(quaternion);
|
|
27546
27577
|
}
|
|
27547
27578
|
hide() {
|
|
27579
|
+
// 改为remove而不是设置visible,是因为会影响其他helper的碰撞检测
|
|
27548
27580
|
this.remove(this.yzCircle, this.xzCircle, this.xyCircle, this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
|
|
27549
27581
|
}
|
|
27550
|
-
show(
|
|
27551
|
-
var _a
|
|
27552
|
-
|
|
27553
|
-
|
|
27554
|
-
|
|
27555
|
-
|
|
27556
|
-
|
|
27557
|
-
|
|
27558
|
-
|
|
27559
|
-
|
|
27560
|
-
|
|
27561
|
-
|
|
27562
|
-
}
|
|
27582
|
+
show() {
|
|
27583
|
+
var _a;
|
|
27584
|
+
this.add(this.xyCircle, this.xzCircle, this.yzCircle);
|
|
27585
|
+
this.remove(this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
|
|
27586
|
+
(_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.hide();
|
|
27587
|
+
}
|
|
27588
|
+
showDraggingHelper(directions) {
|
|
27589
|
+
var _a;
|
|
27590
|
+
this.hide();
|
|
27591
|
+
this.add(...this.filterRingHelper(directions));
|
|
27592
|
+
this.add(...this.filterAngleHelper(directions));
|
|
27593
|
+
(_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.show();
|
|
27563
27594
|
}
|
|
27564
27595
|
dispose() {
|
|
27565
27596
|
var _a, _b;
|
|
@@ -27567,11 +27598,11 @@ class RotateHelper extends RotateHelperAbstract {
|
|
|
27567
27598
|
if ((_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.element)
|
|
27568
27599
|
(_b = this.container) === null || _b === void 0 ? void 0 : _b.removeChild(this.angleTips.element);
|
|
27569
27600
|
}
|
|
27570
|
-
filterRingHelper(
|
|
27571
|
-
return [this.xRingHelper, this.yRingHelper, this.zRingHelper].filter((helper) => helper.direction
|
|
27601
|
+
filterRingHelper(directions) {
|
|
27602
|
+
return [this.xRingHelper, this.yRingHelper, this.zRingHelper].filter((helper) => directions.includes(helper.direction));
|
|
27572
27603
|
}
|
|
27573
|
-
filterAngleHelper(
|
|
27574
|
-
return [this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter((helper) => helper.direction
|
|
27604
|
+
filterAngleHelper(directions) {
|
|
27605
|
+
return [this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter((helper) => directions.includes(helper.direction));
|
|
27575
27606
|
}
|
|
27576
27607
|
}
|
|
27577
27608
|
class Circle extends THREE__namespace.Mesh {
|
|
@@ -27857,18 +27888,20 @@ class RectangleScaleHelper extends RectangleScaleHelperAbstract {
|
|
|
27857
27888
|
(_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.position.copy(this.originObject3D.position);
|
|
27858
27889
|
(_b = this.plane) === null || _b === void 0 ? void 0 : _b.position.copy(this.originObject3D.position);
|
|
27859
27890
|
}
|
|
27860
|
-
setPosition(position) {
|
|
27861
|
-
|
|
27862
|
-
|
|
27863
|
-
|
|
27864
|
-
}
|
|
27891
|
+
// public setPosition(position: Vector3) {
|
|
27892
|
+
// this.css3DInstance?.css3DObject.position.copy(position)
|
|
27893
|
+
// this.plane?.position.copy(position)
|
|
27894
|
+
// }
|
|
27865
27895
|
updateMatrix4(matrix) {
|
|
27866
27896
|
var _a, _b;
|
|
27867
27897
|
(_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.applyMatrix4(matrix);
|
|
27868
27898
|
(_b = this.plane) === null || _b === void 0 ? void 0 : _b.applyMatrix4(matrix);
|
|
27869
27899
|
this.cornerPositions.forEach((cornerPosition) => cornerPosition.applyMatrix4(matrix));
|
|
27870
27900
|
}
|
|
27871
|
-
|
|
27901
|
+
showDraggingHelper() {
|
|
27902
|
+
// nothing to do
|
|
27903
|
+
}
|
|
27904
|
+
applyHelperScaleMatrix4(matrix, params) {
|
|
27872
27905
|
var _a, _b;
|
|
27873
27906
|
(_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.scale.applyMatrix4(matrix);
|
|
27874
27907
|
(_b = this.plane) === null || _b === void 0 ? void 0 : _b.scale.applyMatrix4(matrix);
|
|
@@ -27886,7 +27919,7 @@ class RectangleScaleHelper extends RectangleScaleHelperAbstract {
|
|
|
27886
27919
|
point.position.copy(position8[index]);
|
|
27887
27920
|
});
|
|
27888
27921
|
}
|
|
27889
|
-
|
|
27922
|
+
applyHelperQuaternion(quaternion, origin) {
|
|
27890
27923
|
var _a;
|
|
27891
27924
|
const css3DObject = (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject;
|
|
27892
27925
|
if (css3DObject) {
|
|
@@ -28482,6 +28515,7 @@ class BaseController {
|
|
|
28482
28515
|
this.scene = scene;
|
|
28483
28516
|
this.domEvents = new DomEvents(camera, container);
|
|
28484
28517
|
this.needsRender = needsRender !== null && needsRender !== void 0 ? needsRender : (() => { });
|
|
28518
|
+
this.updateHelperQuaternion();
|
|
28485
28519
|
this.updateHelperPosition();
|
|
28486
28520
|
this.enable();
|
|
28487
28521
|
}
|
|
@@ -28500,31 +28534,35 @@ class BaseController {
|
|
|
28500
28534
|
this.needsRender();
|
|
28501
28535
|
}
|
|
28502
28536
|
show() {
|
|
28503
|
-
this.helperObject3D.
|
|
28537
|
+
this.helperObject3D.show();
|
|
28504
28538
|
this.needsRender();
|
|
28505
28539
|
}
|
|
28506
28540
|
hide() {
|
|
28507
|
-
this.helperObject3D.
|
|
28541
|
+
this.helperObject3D.hide();
|
|
28508
28542
|
this.needsRender();
|
|
28509
28543
|
}
|
|
28510
28544
|
dispose() {
|
|
28511
|
-
this.scene.remove(this.helperObject3D);
|
|
28512
28545
|
this.helperObject3D.dispose();
|
|
28546
|
+
this.scene.remove(this.helperObject3D);
|
|
28547
|
+
this.needsRender();
|
|
28513
28548
|
}
|
|
28514
28549
|
updateHelperPosition() {
|
|
28515
28550
|
this.helperObject3D.updatePosition();
|
|
28516
28551
|
}
|
|
28517
|
-
|
|
28518
|
-
this.helperObject3D.
|
|
28552
|
+
updateHelperQuaternion() {
|
|
28553
|
+
this.helperObject3D.updateQuaternion();
|
|
28519
28554
|
}
|
|
28555
|
+
// public setHelperPosition(position: THREE.Vector3) {
|
|
28556
|
+
// this.helperObject3D.setPosition(position)
|
|
28557
|
+
// }
|
|
28520
28558
|
setHelperMatrix4(matrix4, origin) {
|
|
28521
28559
|
this.helperObject3D.updateMatrix4(matrix4, origin);
|
|
28522
28560
|
}
|
|
28523
28561
|
setHelperQuaternion(quaternion, origin) {
|
|
28524
|
-
this.helperObject3D.
|
|
28562
|
+
this.helperObject3D.applyHelperQuaternion(quaternion, origin);
|
|
28525
28563
|
}
|
|
28526
|
-
|
|
28527
|
-
this.helperObject3D.
|
|
28564
|
+
applyHelperScaleMatrix4(matrix4, params) {
|
|
28565
|
+
this.helperObject3D.applyHelperScaleMatrix4(matrix4, params);
|
|
28528
28566
|
}
|
|
28529
28567
|
onWantsGesture(type, pointers, final) {
|
|
28530
28568
|
if (this.isDragging)
|
|
@@ -28666,7 +28704,7 @@ class MoveController extends BaseController {
|
|
|
28666
28704
|
plane.setFromNormalAndCoplanarPoint(planeNormal, startIntersect);
|
|
28667
28705
|
this.startInfo = { startVectorProject: startIntersect.clone().projectOnVector(directionVector), directionVector, plane };
|
|
28668
28706
|
// 隐藏其他箭头
|
|
28669
|
-
this.helperObject3D.
|
|
28707
|
+
this.helperObject3D.showDraggingHelper([draggingDirection]);
|
|
28670
28708
|
this.hooks.emit('moveStart');
|
|
28671
28709
|
this.isDragging = true;
|
|
28672
28710
|
console.log('%c MoveController dragStart', 'color: #e5af2e');
|
|
@@ -28771,13 +28809,13 @@ class ControllerWrapper {
|
|
|
28771
28809
|
const VERSION$1 = 'v1.0.0';
|
|
28772
28810
|
const NAME = 'Object3DHelper';
|
|
28773
28811
|
const NAMEVERSION = `${NAME}@${VERSION$1}`;
|
|
28774
|
-
const disposedErrorLog = () => {
|
|
28812
|
+
const disposedErrorLog$1 = () => {
|
|
28775
28813
|
console.error(`${NAMEVERSION} is disposed`);
|
|
28776
28814
|
};
|
|
28777
|
-
const disableWarnLog = () => {
|
|
28815
|
+
const disableWarnLog$1 = () => {
|
|
28778
28816
|
console.warn(`${NAMEVERSION} is disabled`);
|
|
28779
28817
|
};
|
|
28780
|
-
const disableErrorLog = () => {
|
|
28818
|
+
const disableErrorLog$1 = () => {
|
|
28781
28819
|
console.error(`${NAMEVERSION} is disabled`);
|
|
28782
28820
|
};
|
|
28783
28821
|
class Object3DHelper {
|
|
@@ -28821,7 +28859,7 @@ class Object3DHelper {
|
|
|
28821
28859
|
configurable: true,
|
|
28822
28860
|
writable: true,
|
|
28823
28861
|
value: (controller, ...positionParams) => {
|
|
28824
|
-
var _a, _b, _c, _d
|
|
28862
|
+
var _a, _b, _c, _d;
|
|
28825
28863
|
const [position] = positionParams;
|
|
28826
28864
|
const matrix4 = position === null || position === void 0 ? void 0 : position.matrix4;
|
|
28827
28865
|
if (matrix4) {
|
|
@@ -28832,14 +28870,12 @@ class Object3DHelper {
|
|
|
28832
28870
|
(_c = this.controllers.scaleController) === null || _c === void 0 ? void 0 : _c.setHelperMatrix4(matrix4);
|
|
28833
28871
|
(_d = this.helpers.outlineHelper) === null || _d === void 0 ? void 0 : _d.applyMatrix4(matrix4);
|
|
28834
28872
|
}
|
|
28835
|
-
if (position
|
|
28836
|
-
|
|
28837
|
-
|
|
28838
|
-
|
|
28839
|
-
|
|
28840
|
-
|
|
28841
|
-
(_h = this.helpers.outlineHelper) === null || _h === void 0 ? void 0 : _h.position.copy(position.position);
|
|
28842
|
-
}
|
|
28873
|
+
// if (position?.position) {
|
|
28874
|
+
// if (controller !== this.controllers.moveController) this.controllers.moveController?.setHelperPosition(position.position)
|
|
28875
|
+
// if (controller !== this.controllers.rotateController) this.controllers.rotateController?.setHelperPosition(position.position)
|
|
28876
|
+
// this.controllers.scaleController?.setHelperPosition(position.position)
|
|
28877
|
+
// this.helpers.outlineHelper?.position.copy(position.position)
|
|
28878
|
+
// }
|
|
28843
28879
|
}
|
|
28844
28880
|
});
|
|
28845
28881
|
Object.defineProperty(this, "handleScaleUpdate", {
|
|
@@ -28851,7 +28887,7 @@ class Object3DHelper {
|
|
|
28851
28887
|
const [params] = positionParams;
|
|
28852
28888
|
const matrix4 = params === null || params === void 0 ? void 0 : params.matrix4;
|
|
28853
28889
|
if (matrix4) {
|
|
28854
|
-
(_a = this.controllers.scaleController) === null || _a === void 0 ? void 0 : _a.
|
|
28890
|
+
(_a = this.controllers.scaleController) === null || _a === void 0 ? void 0 : _a.applyHelperScaleMatrix4(matrix4, params);
|
|
28855
28891
|
(_b = this.helpers.outlineHelper) === null || _b === void 0 ? void 0 : _b.scale.applyMatrix4(matrix4);
|
|
28856
28892
|
}
|
|
28857
28893
|
}
|
|
@@ -28912,11 +28948,11 @@ class Object3DHelper {
|
|
|
28912
28948
|
}
|
|
28913
28949
|
setState(state, options) {
|
|
28914
28950
|
if (this.state.disposed)
|
|
28915
|
-
return disposedErrorLog();
|
|
28951
|
+
return disposedErrorLog$1();
|
|
28916
28952
|
if (!this.state.enabled) {
|
|
28917
28953
|
// when plugin is disabled, only can change enabled or disposed to true
|
|
28918
28954
|
if (state.enabled !== true && state.disposed !== true)
|
|
28919
|
-
return disableErrorLog();
|
|
28955
|
+
return disableErrorLog$1();
|
|
28920
28956
|
}
|
|
28921
28957
|
const prevState = Object.assign({}, this.state);
|
|
28922
28958
|
this.state = Object.assign(Object.assign({}, this.state), state);
|
|
@@ -29004,7 +29040,6 @@ class Object3DHelper {
|
|
|
29004
29040
|
}
|
|
29005
29041
|
}
|
|
29006
29042
|
handleEnable(enabled, userAction = true) {
|
|
29007
|
-
console.log({ enabled });
|
|
29008
29043
|
if (enabled) {
|
|
29009
29044
|
this.everyControllerDo((controller) => controller.enable());
|
|
29010
29045
|
this.hooks.emit('enable', { userAction });
|
|
@@ -29016,7 +29051,6 @@ class Object3DHelper {
|
|
|
29016
29051
|
this.state.enabled = enabled;
|
|
29017
29052
|
}
|
|
29018
29053
|
handleVisible(visible, userAction = true) {
|
|
29019
|
-
console.log({ visible });
|
|
29020
29054
|
if (visible) {
|
|
29021
29055
|
this.everyControllerDo((controller) => controller.show());
|
|
29022
29056
|
this.actionIfStateIsEnabled(() => this.hooks.emit('show', { userAction }));
|
|
@@ -29043,7 +29077,7 @@ class Object3DHelper {
|
|
|
29043
29077
|
return func();
|
|
29044
29078
|
else {
|
|
29045
29079
|
if (options === null || options === void 0 ? void 0 : options.warnLog)
|
|
29046
|
-
disableWarnLog();
|
|
29080
|
+
disableWarnLog$1();
|
|
29047
29081
|
}
|
|
29048
29082
|
}
|
|
29049
29083
|
}
|
|
@@ -29146,7 +29180,7 @@ class RotateController extends BaseController {
|
|
|
29146
29180
|
// this.a = new THREE.PlaneHelper(plane, 10, 0xffff00)
|
|
29147
29181
|
// this.scene.add(this.a)
|
|
29148
29182
|
this.startInfo = { direction, startVector, staticStartVector, plane, angleHelper };
|
|
29149
|
-
this.helperObject3D.
|
|
29183
|
+
this.helperObject3D.showDraggingHelper([direction]);
|
|
29150
29184
|
this.hooks.emit('rotateStart');
|
|
29151
29185
|
this.isDragging = true;
|
|
29152
29186
|
console.log(`%c RotateController dragStart ${direction}`, 'color: #e5af2e');
|
|
@@ -29236,7 +29270,7 @@ class RotateController extends BaseController {
|
|
|
29236
29270
|
// end
|
|
29237
29271
|
const quaternion = new THREE__namespace.Quaternion().setFromUnitVectors(startVector.clone().normalize(), currentVector.clone().normalize());
|
|
29238
29272
|
object.applyQuaternion(quaternion);
|
|
29239
|
-
this.helperObject3D.
|
|
29273
|
+
this.helperObject3D.applyHelperQuaternion(quaternion);
|
|
29240
29274
|
this.helperObject3DQuaternion.premultiply(quaternion);
|
|
29241
29275
|
this.hooks.emit('rotateUpdate', { quaternion, origin: rotateCenter });
|
|
29242
29276
|
this.startInfo.startVector = currentVector;
|
|
@@ -29520,9 +29554,18 @@ class CSS3DScaleController extends RectangleScaleController {
|
|
|
29520
29554
|
const VERSION = 'v1.0.0';
|
|
29521
29555
|
const PLUGIN_NAME = 'Object3DHelperPlugin';
|
|
29522
29556
|
const PLUGIN = `${PLUGIN_NAME}@${VERSION}`;
|
|
29523
|
-
|
|
29557
|
+
const disposedErrorLog = () => {
|
|
29558
|
+
console.error(`${PLUGIN} is disposed`);
|
|
29559
|
+
};
|
|
29560
|
+
const disableWarnLog = () => {
|
|
29561
|
+
console.warn(`${PLUGIN} is disabled`);
|
|
29562
|
+
};
|
|
29563
|
+
const disableErrorLog = () => {
|
|
29564
|
+
console.error(`${PLUGIN} is disabled`);
|
|
29565
|
+
};
|
|
29566
|
+
class Object3DHelperController extends Controller$7 {
|
|
29524
29567
|
constructor(five) {
|
|
29525
|
-
super();
|
|
29568
|
+
super(five);
|
|
29526
29569
|
Object.defineProperty(this, "version", {
|
|
29527
29570
|
enumerable: true,
|
|
29528
29571
|
configurable: true,
|
|
@@ -29535,15 +29578,80 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
29535
29578
|
writable: true,
|
|
29536
29579
|
value: PLUGIN_NAME
|
|
29537
29580
|
});
|
|
29538
|
-
Object.defineProperty(this, "
|
|
29581
|
+
Object.defineProperty(this, "state", {
|
|
29539
29582
|
enumerable: true,
|
|
29540
29583
|
configurable: true,
|
|
29541
29584
|
writable: true,
|
|
29542
|
-
value:
|
|
29585
|
+
value: {
|
|
29586
|
+
visible: true,
|
|
29587
|
+
enabled: true,
|
|
29588
|
+
disposed: false,
|
|
29589
|
+
}
|
|
29590
|
+
});
|
|
29591
|
+
Object.defineProperty(this, "objectHelperMap", {
|
|
29592
|
+
enumerable: true,
|
|
29593
|
+
configurable: true,
|
|
29594
|
+
writable: true,
|
|
29595
|
+
value: new Map()
|
|
29543
29596
|
});
|
|
29544
29597
|
this.five = five;
|
|
29545
29598
|
Object.assign(window, { [`__${PLUGIN_NAME.toUpperCase()}_DEBUG__`]: this });
|
|
29546
29599
|
}
|
|
29600
|
+
/**
|
|
29601
|
+
* @description Show guide line
|
|
29602
|
+
*/
|
|
29603
|
+
async show(options) {
|
|
29604
|
+
this.setState({ visible: true }, options);
|
|
29605
|
+
}
|
|
29606
|
+
/**
|
|
29607
|
+
* @description Hide guide line
|
|
29608
|
+
*/
|
|
29609
|
+
async hide(options) {
|
|
29610
|
+
this.setState({ visible: false }, options);
|
|
29611
|
+
}
|
|
29612
|
+
/**
|
|
29613
|
+
* @description Enable
|
|
29614
|
+
*/
|
|
29615
|
+
enable(options) {
|
|
29616
|
+
this.setState({ enabled: true }, options);
|
|
29617
|
+
}
|
|
29618
|
+
/**
|
|
29619
|
+
* @description Disable
|
|
29620
|
+
*/
|
|
29621
|
+
disable(options) {
|
|
29622
|
+
this.setState({ enabled: false }, options);
|
|
29623
|
+
}
|
|
29624
|
+
/**
|
|
29625
|
+
* @description Dispose
|
|
29626
|
+
*/
|
|
29627
|
+
dispose() {
|
|
29628
|
+
this.setState({ disposed: true });
|
|
29629
|
+
}
|
|
29630
|
+
setState(state, options) {
|
|
29631
|
+
if (this.state.disposed)
|
|
29632
|
+
return disposedErrorLog();
|
|
29633
|
+
if (!this.state.enabled) {
|
|
29634
|
+
// when plugin is disabled, only can change enabled or disposed to true
|
|
29635
|
+
if (state.enabled !== true && state.disposed !== true)
|
|
29636
|
+
return disableErrorLog();
|
|
29637
|
+
}
|
|
29638
|
+
const prevState = Object.assign({}, this.state);
|
|
29639
|
+
this.state = Object.assign(Object.assign({}, this.state), state);
|
|
29640
|
+
if (state.disposed !== undefined && state.disposed !== prevState.disposed) {
|
|
29641
|
+
if (state.disposed)
|
|
29642
|
+
this.handleDispose();
|
|
29643
|
+
}
|
|
29644
|
+
if (state.visible !== undefined && state.visible !== prevState.visible) {
|
|
29645
|
+
this.handleVisible(state.visible);
|
|
29646
|
+
}
|
|
29647
|
+
if (state.enabled !== undefined && state.enabled !== prevState.enabled) {
|
|
29648
|
+
this.handleEnable(state.enabled);
|
|
29649
|
+
}
|
|
29650
|
+
this.hooks.emit('stateChange', { state: this.state, prevState });
|
|
29651
|
+
}
|
|
29652
|
+
getObject3DHelper(object3D) {
|
|
29653
|
+
return this.objectHelperMap.get(object3D);
|
|
29654
|
+
}
|
|
29547
29655
|
/**
|
|
29548
29656
|
* @description 添加 helper
|
|
29549
29657
|
* @param { THREE.Object3D } object3D 要添加helper的物体
|
|
@@ -29553,6 +29661,12 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
29553
29661
|
*/
|
|
29554
29662
|
addObject3DHelper(object3D, config = {}) {
|
|
29555
29663
|
var _a;
|
|
29664
|
+
if (this.objectHelperMap.has(object3D)) {
|
|
29665
|
+
console.warn(`Object3DHelperPlugin: object3D ${object3D.name} already has helper`);
|
|
29666
|
+
return;
|
|
29667
|
+
}
|
|
29668
|
+
const helper = new Object3DHelper();
|
|
29669
|
+
this.objectHelperMap.set(object3D, helper);
|
|
29556
29670
|
const container = (_a = this.five.getElement()) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
29557
29671
|
const camera = this.five.camera;
|
|
29558
29672
|
// 创建空的helperGroup
|
|
@@ -29562,7 +29676,7 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
29562
29676
|
if (moveHelper) {
|
|
29563
29677
|
const moveHelper = new MoveHelper(object3D);
|
|
29564
29678
|
const controllerWrapper = new ControllerWrapper(this.five, MoveController, object3D, moveHelper);
|
|
29565
|
-
|
|
29679
|
+
helper.addControllers({ moveController: controllerWrapper.helperController });
|
|
29566
29680
|
}
|
|
29567
29681
|
if (rotateHelper) {
|
|
29568
29682
|
let angleTipsParams;
|
|
@@ -29570,13 +29684,13 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
29570
29684
|
angleTipsParams = { container };
|
|
29571
29685
|
const rotateHelper = new RotateHelper(object3D, angleTipsParams);
|
|
29572
29686
|
const controllerWrapper = new ControllerWrapper(this.five, RotateController, object3D, rotateHelper);
|
|
29573
|
-
|
|
29687
|
+
helper.addControllers({ rotateController: controllerWrapper.helperController });
|
|
29574
29688
|
}
|
|
29575
29689
|
if (scaleHelper) {
|
|
29576
29690
|
if (container) {
|
|
29577
29691
|
const scaleHelper = new RectangleScaleHelper(object3D, container, camera, this.five.scene);
|
|
29578
29692
|
const controllerWrapper = new ControllerWrapper(this.five, CSS3DScaleController, object3D, scaleHelper);
|
|
29579
|
-
|
|
29693
|
+
helper.addControllers({ scaleController: controllerWrapper.helperController });
|
|
29580
29694
|
}
|
|
29581
29695
|
}
|
|
29582
29696
|
// if (mergeConfig.outlineHelper) {
|
|
@@ -29586,6 +29700,54 @@ class Object3DHelperController extends Object3DHelper {
|
|
|
29586
29700
|
// }
|
|
29587
29701
|
// this.five.scene.add(helperGroup)
|
|
29588
29702
|
}
|
|
29703
|
+
removeObject3DHelper(object3D) {
|
|
29704
|
+
const helper = this.objectHelperMap.get(object3D);
|
|
29705
|
+
if (!helper)
|
|
29706
|
+
return;
|
|
29707
|
+
this.objectHelperMap.delete(object3D);
|
|
29708
|
+
helper.dispose();
|
|
29709
|
+
}
|
|
29710
|
+
handleEnable(enabled, userAction = true) {
|
|
29711
|
+
console.log({ enabled });
|
|
29712
|
+
if (enabled) {
|
|
29713
|
+
this.everyHelperDo((helper) => helper.enable());
|
|
29714
|
+
this.hooks.emit('enable', { userAction });
|
|
29715
|
+
}
|
|
29716
|
+
else {
|
|
29717
|
+
this.everyHelperDo((helper) => helper.disable());
|
|
29718
|
+
this.hooks.emit('disable', { userAction });
|
|
29719
|
+
}
|
|
29720
|
+
this.state.enabled = enabled;
|
|
29721
|
+
}
|
|
29722
|
+
handleVisible(visible, userAction = true) {
|
|
29723
|
+
console.log({ visible });
|
|
29724
|
+
if (visible) {
|
|
29725
|
+
this.everyHelperDo((helper) => helper.show());
|
|
29726
|
+
this.actionIfStateIsEnabled(() => this.hooks.emit('show', { userAction }));
|
|
29727
|
+
}
|
|
29728
|
+
else {
|
|
29729
|
+
this.everyHelperDo((helper) => helper.hide());
|
|
29730
|
+
this.actionIfStateIsEnabled(() => this.hooks.emit('hide', { userAction }));
|
|
29731
|
+
}
|
|
29732
|
+
this.state.visible = visible;
|
|
29733
|
+
}
|
|
29734
|
+
handleDispose() {
|
|
29735
|
+
this.everyHelperDo((helper) => helper.dispose());
|
|
29736
|
+
}
|
|
29737
|
+
everyHelperDo(func) {
|
|
29738
|
+
this.objectHelperMap.forEach((helper) => {
|
|
29739
|
+
if (helper)
|
|
29740
|
+
func(helper);
|
|
29741
|
+
});
|
|
29742
|
+
}
|
|
29743
|
+
actionIfStateIsEnabled(func, options) {
|
|
29744
|
+
if (this.state.enabled)
|
|
29745
|
+
return func();
|
|
29746
|
+
else {
|
|
29747
|
+
if (options === null || options === void 0 ? void 0 : options.warnLog)
|
|
29748
|
+
disableWarnLog();
|
|
29749
|
+
}
|
|
29750
|
+
}
|
|
29589
29751
|
}
|
|
29590
29752
|
|
|
29591
29753
|
const Object3DHelperPlugin = (five) => new Object3DHelperController(five);
|