@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.umd.js
CHANGED
|
@@ -19343,13 +19343,13 @@ void main() {
|
|
|
19343
19343
|
const VERSION$3 = 'v1.0.6';
|
|
19344
19344
|
const PLUGIN_NAME$2 = 'CruisePlugin';
|
|
19345
19345
|
const PLUGIN$1 = `${PLUGIN_NAME$2}@${VERSION$3}`;
|
|
19346
|
-
const disposedErrorLog$
|
|
19346
|
+
const disposedErrorLog$2 = () => {
|
|
19347
19347
|
console.error(`${PLUGIN$1} is disposed`);
|
|
19348
19348
|
};
|
|
19349
|
-
const disableWarnLog$
|
|
19349
|
+
const disableWarnLog$2 = () => {
|
|
19350
19350
|
console.warn(`${PLUGIN$1} is disabled`);
|
|
19351
19351
|
};
|
|
19352
|
-
const disableErrorLog$
|
|
19352
|
+
const disableErrorLog$2 = () => {
|
|
19353
19353
|
console.error(`${PLUGIN$1} is disabled`);
|
|
19354
19354
|
};
|
|
19355
19355
|
const pauseDataMap = new Map();
|
|
@@ -19420,7 +19420,7 @@ void main() {
|
|
|
19420
19420
|
async load(serverData, state, userAction) {
|
|
19421
19421
|
var _a, _b, _c, _d, _e;
|
|
19422
19422
|
if (this.state.disposed)
|
|
19423
|
-
return disposedErrorLog$
|
|
19423
|
+
return disposedErrorLog$2();
|
|
19424
19424
|
if (!this.privateState.fiveOriginGetProgress) {
|
|
19425
19425
|
if (!((_b = (_a = this.five.controller) === null || _a === void 0 ? void 0 : _a.cameraMotion) === null || _b === void 0 ? void 0 : _b.getProgress)) {
|
|
19426
19426
|
await this.waitFiveLoaded();
|
|
@@ -19540,11 +19540,11 @@ void main() {
|
|
|
19540
19540
|
setState(state, options) {
|
|
19541
19541
|
var _a;
|
|
19542
19542
|
if (this.state.disposed)
|
|
19543
|
-
return disposedErrorLog$
|
|
19543
|
+
return disposedErrorLog$2();
|
|
19544
19544
|
if (!this.state.enabled) {
|
|
19545
19545
|
// when plugin is disabled, only can change enabled or disposed to true
|
|
19546
19546
|
if (state.enabled !== true && state.disposed !== true)
|
|
19547
|
-
return disableErrorLog$
|
|
19547
|
+
return disableErrorLog$2();
|
|
19548
19548
|
}
|
|
19549
19549
|
const prevState = Object.assign({}, this.state);
|
|
19550
19550
|
this.state = Object.assign(Object.assign({}, this.state), state);
|
|
@@ -20056,7 +20056,7 @@ void main() {
|
|
|
20056
20056
|
return func();
|
|
20057
20057
|
else {
|
|
20058
20058
|
if (options === null || options === void 0 ? void 0 : options.warnLog)
|
|
20059
|
-
disableWarnLog$
|
|
20059
|
+
disableWarnLog$2();
|
|
20060
20060
|
}
|
|
20061
20061
|
}
|
|
20062
20062
|
/**
|
|
@@ -20296,17 +20296,17 @@ void main() {
|
|
|
20296
20296
|
}
|
|
20297
20297
|
}
|
|
20298
20298
|
|
|
20299
|
-
|
|
20299
|
+
exports.DimensionType = void 0;
|
|
20300
20300
|
(function (DimensionType) {
|
|
20301
20301
|
DimensionType["Two"] = "2D";
|
|
20302
20302
|
DimensionType["Three"] = "3D";
|
|
20303
|
-
})(DimensionType || (DimensionType = {}));
|
|
20304
|
-
|
|
20303
|
+
})(exports.DimensionType || (exports.DimensionType = {}));
|
|
20304
|
+
exports.PointType = void 0;
|
|
20305
20305
|
(function (PointType) {
|
|
20306
20306
|
PointType["PointTag"] = "PointTag";
|
|
20307
20307
|
PointType["PlaneTag"] = "PlaneTag";
|
|
20308
|
-
})(PointType || (PointType = {}));
|
|
20309
|
-
|
|
20308
|
+
})(exports.PointType || (exports.PointType = {}));
|
|
20309
|
+
exports.ContentType = void 0;
|
|
20310
20310
|
(function (ContentType) {
|
|
20311
20311
|
/** 音频标签 */
|
|
20312
20312
|
ContentType["Audio"] = "Audio";
|
|
@@ -20319,15 +20319,15 @@ void main() {
|
|
|
20319
20319
|
/** 营销标签 */
|
|
20320
20320
|
ContentType["Marketing"] = "Marketing";
|
|
20321
20321
|
/** 图片视频贴片 */
|
|
20322
|
-
ContentType["
|
|
20322
|
+
ContentType["MediaPlane"] = "MediaPlane";
|
|
20323
20323
|
/** 其他/自定义标签 */
|
|
20324
20324
|
ContentType["Custom"] = "Custom";
|
|
20325
|
-
})(ContentType || (ContentType = {}));
|
|
20326
|
-
|
|
20325
|
+
})(exports.ContentType || (exports.ContentType = {}));
|
|
20326
|
+
exports.LinkType = void 0;
|
|
20327
20327
|
(function (LinkType) {
|
|
20328
20328
|
LinkType["VrLink"] = "vr";
|
|
20329
20329
|
LinkType["NormalLink"] = "normal";
|
|
20330
|
-
})(LinkType || (LinkType = {}));
|
|
20330
|
+
})(exports.LinkType || (exports.LinkType = {}));
|
|
20331
20331
|
|
|
20332
20332
|
/* src/PanoTagPlugin/Components/Common/Line/Straight.svelte generated by Svelte v3.50.1 */
|
|
20333
20333
|
|
|
@@ -20511,7 +20511,7 @@ void main() {
|
|
|
20511
20511
|
internal.append_styles(target, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
|
|
20512
20512
|
}
|
|
20513
20513
|
|
|
20514
|
-
// (
|
|
20514
|
+
// (23:0) {#if visible}
|
|
20515
20515
|
function create_if_block$f(ctx) {
|
|
20516
20516
|
let div;
|
|
20517
20517
|
let div_style_value;
|
|
@@ -20676,7 +20676,7 @@ void main() {
|
|
|
20676
20676
|
let { blurRadius } = $$props;
|
|
20677
20677
|
let { spreadRadius } = $$props;
|
|
20678
20678
|
let { opacity = 0.15 } = $$props;
|
|
20679
|
-
let { zIndex =
|
|
20679
|
+
let { zIndex = undefined } = $$props;
|
|
20680
20680
|
|
|
20681
20681
|
$$self.$$set = $$props => {
|
|
20682
20682
|
if ('inDelay' in $$props) $$invalidate(0, inDelay = $$props.inDelay);
|
|
@@ -20986,8 +20986,7 @@ void main() {
|
|
|
20986
20986
|
props: {
|
|
20987
20987
|
center: true,
|
|
20988
20988
|
blurRadius: 9,
|
|
20989
|
-
spreadRadius: 3
|
|
20990
|
-
zIndex: -1
|
|
20989
|
+
spreadRadius: 3
|
|
20991
20990
|
}
|
|
20992
20991
|
});
|
|
20993
20992
|
|
|
@@ -23325,8 +23324,7 @@ void main() {
|
|
|
23325
23324
|
props: {
|
|
23326
23325
|
center: true,
|
|
23327
23326
|
blurRadius: 15,
|
|
23328
|
-
spreadRadius: 6
|
|
23329
|
-
zIndex: -1
|
|
23327
|
+
spreadRadius: 6
|
|
23330
23328
|
}
|
|
23331
23329
|
});
|
|
23332
23330
|
|
|
@@ -23908,13 +23906,13 @@ void main() {
|
|
|
23908
23906
|
}
|
|
23909
23907
|
}
|
|
23910
23908
|
|
|
23911
|
-
/* src/PanoTagPlugin/Components/Tag/
|
|
23909
|
+
/* src/PanoTagPlugin/Components/Tag/MediaPlane.svelte generated by Svelte v3.50.1 */
|
|
23912
23910
|
|
|
23913
23911
|
function add_css$8(target) {
|
|
23914
23912
|
internal.append_styles(target, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
23915
23913
|
}
|
|
23916
23914
|
|
|
23917
|
-
// (
|
|
23915
|
+
// (18:0) {#if tag.state && mediaData}
|
|
23918
23916
|
function create_if_block$5(ctx) {
|
|
23919
23917
|
let div;
|
|
23920
23918
|
let media;
|
|
@@ -23922,8 +23920,10 @@ void main() {
|
|
|
23922
23920
|
|
|
23923
23921
|
media = new Media({
|
|
23924
23922
|
props: {
|
|
23925
|
-
unfolded: /*unfolded*/ ctx[
|
|
23926
|
-
mediaData: /*mediaData*/ ctx[
|
|
23923
|
+
unfolded: /*unfolded*/ ctx[3],
|
|
23924
|
+
mediaData: /*mediaData*/ ctx[2],
|
|
23925
|
+
objectFit: /*objectFit*/ ctx[1],
|
|
23926
|
+
enableCarousel: true,
|
|
23927
23927
|
inDelay: 500,
|
|
23928
23928
|
duration: 500
|
|
23929
23929
|
}
|
|
@@ -23942,8 +23942,9 @@ void main() {
|
|
|
23942
23942
|
},
|
|
23943
23943
|
p(ctx, dirty) {
|
|
23944
23944
|
const media_changes = {};
|
|
23945
|
-
if (dirty & /*unfolded*/
|
|
23946
|
-
if (dirty & /*mediaData*/
|
|
23945
|
+
if (dirty & /*unfolded*/ 8) media_changes.unfolded = /*unfolded*/ ctx[3];
|
|
23946
|
+
if (dirty & /*mediaData*/ 4) media_changes.mediaData = /*mediaData*/ ctx[2];
|
|
23947
|
+
if (dirty & /*objectFit*/ 2) media_changes.objectFit = /*objectFit*/ ctx[1];
|
|
23947
23948
|
media.$set(media_changes);
|
|
23948
23949
|
},
|
|
23949
23950
|
i(local) {
|
|
@@ -23965,7 +23966,7 @@ void main() {
|
|
|
23965
23966
|
function create_fragment$8(ctx) {
|
|
23966
23967
|
let if_block_anchor;
|
|
23967
23968
|
let current;
|
|
23968
|
-
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[
|
|
23969
|
+
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[2] && create_if_block$5(ctx);
|
|
23969
23970
|
|
|
23970
23971
|
return {
|
|
23971
23972
|
c() {
|
|
@@ -23978,11 +23979,11 @@ void main() {
|
|
|
23978
23979
|
current = true;
|
|
23979
23980
|
},
|
|
23980
23981
|
p(ctx, [dirty]) {
|
|
23981
|
-
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[
|
|
23982
|
+
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[2]) {
|
|
23982
23983
|
if (if_block) {
|
|
23983
23984
|
if_block.p(ctx, dirty);
|
|
23984
23985
|
|
|
23985
|
-
if (dirty & /*tag, mediaData*/
|
|
23986
|
+
if (dirty & /*tag, mediaData*/ 5) {
|
|
23986
23987
|
internal.transition_in(if_block, 1);
|
|
23987
23988
|
}
|
|
23988
23989
|
} else {
|
|
@@ -24020,6 +24021,8 @@ void main() {
|
|
|
24020
24021
|
function instance$8($$self, $$props, $$invalidate) {
|
|
24021
24022
|
let unfolded;
|
|
24022
24023
|
let mediaData;
|
|
24024
|
+
let objectFit;
|
|
24025
|
+
var _a;
|
|
24023
24026
|
let { tag } = $$props;
|
|
24024
24027
|
|
|
24025
24028
|
$$self.$$set = $$props => {
|
|
@@ -24028,18 +24031,26 @@ void main() {
|
|
|
24028
24031
|
|
|
24029
24032
|
$$self.$$.update = () => {
|
|
24030
24033
|
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
24031
|
-
$$invalidate(
|
|
24034
|
+
$$invalidate(3, unfolded = tag.state ? tag.state.unfolded : false);
|
|
24032
24035
|
}
|
|
24033
24036
|
|
|
24034
24037
|
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
24035
|
-
$$invalidate(
|
|
24038
|
+
$$invalidate(2, mediaData = tag.data.mediaData);
|
|
24039
|
+
}
|
|
24040
|
+
|
|
24041
|
+
if ($$self.$$.dirty & /*tag, _a*/ 17) {
|
|
24042
|
+
$$invalidate(1, objectFit = $$invalidate(4, _a = tag.data.objectFit) !== null && _a !== void 0
|
|
24043
|
+
? _a
|
|
24044
|
+
: (() => {
|
|
24045
|
+
if (tag.data.adaptationMode === 'stretch') return 'cover'; else if (tag.data.adaptationMode === 'proportional') return 'contain'; else return undefined;
|
|
24046
|
+
})());
|
|
24036
24047
|
}
|
|
24037
24048
|
};
|
|
24038
24049
|
|
|
24039
|
-
return [tag, mediaData, unfolded];
|
|
24050
|
+
return [tag, objectFit, mediaData, unfolded, _a];
|
|
24040
24051
|
}
|
|
24041
24052
|
|
|
24042
|
-
class
|
|
24053
|
+
class MediaPlane extends internal.SvelteComponent {
|
|
24043
24054
|
constructor(options) {
|
|
24044
24055
|
super();
|
|
24045
24056
|
internal.init(this, options, instance$8, create_fragment$8, internal.safe_not_equal, { tag: 0 }, add_css$8);
|
|
@@ -24049,7 +24060,7 @@ void main() {
|
|
|
24049
24060
|
/* src/PanoTagPlugin/Components/Tag/LinkTag.svelte generated by Svelte v3.50.1 */
|
|
24050
24061
|
|
|
24051
24062
|
function add_css$7(target) {
|
|
24052
|
-
internal.append_styles(target, "svelte-
|
|
24063
|
+
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)}}");
|
|
24053
24064
|
}
|
|
24054
24065
|
|
|
24055
24066
|
// (14:52)
|
|
@@ -24077,7 +24088,7 @@ void main() {
|
|
|
24077
24088
|
internal.create_component(shadow.$$.fragment);
|
|
24078
24089
|
t = internal.space();
|
|
24079
24090
|
div = internal.element("div");
|
|
24080
|
-
internal.attr(div, "class", "link svelte-
|
|
24091
|
+
internal.attr(div, "class", "link svelte-135cbxk");
|
|
24081
24092
|
},
|
|
24082
24093
|
m(target, anchor) {
|
|
24083
24094
|
internal.mount_component(shadow, target, anchor);
|
|
@@ -24135,9 +24146,9 @@ void main() {
|
|
|
24135
24146
|
div1 = internal.element("div");
|
|
24136
24147
|
t2 = internal.space();
|
|
24137
24148
|
div2 = internal.element("div");
|
|
24138
|
-
internal.attr(div0, "class", "arrow0 svelte-
|
|
24139
|
-
internal.attr(div1, "class", "arrow1 svelte-
|
|
24140
|
-
internal.attr(div2, "class", "arrow2 svelte-
|
|
24149
|
+
internal.attr(div0, "class", "arrow0 svelte-135cbxk");
|
|
24150
|
+
internal.attr(div1, "class", "arrow1 svelte-135cbxk");
|
|
24151
|
+
internal.attr(div2, "class", "arrow2 svelte-135cbxk");
|
|
24141
24152
|
},
|
|
24142
24153
|
m(target, anchor) {
|
|
24143
24154
|
internal.mount_component(shadow, target, anchor);
|
|
@@ -24187,8 +24198,8 @@ void main() {
|
|
|
24187
24198
|
const if_blocks = [];
|
|
24188
24199
|
|
|
24189
24200
|
function select_block_type(ctx, dirty) {
|
|
24190
|
-
if (/*data*/ ctx[0].linkType === LinkType.VrLink) return 0;
|
|
24191
|
-
if (/*data*/ ctx[0].linkType === LinkType.NormalLink) return 1;
|
|
24201
|
+
if (/*data*/ ctx[0].linkType === exports.LinkType.VrLink) return 0;
|
|
24202
|
+
if (/*data*/ ctx[0].linkType === exports.LinkType.NormalLink) return 1;
|
|
24192
24203
|
return -1;
|
|
24193
24204
|
}
|
|
24194
24205
|
|
|
@@ -24221,10 +24232,10 @@ void main() {
|
|
|
24221
24232
|
t1 = internal.space();
|
|
24222
24233
|
div1 = internal.element("div");
|
|
24223
24234
|
t2 = internal.text(t2_value);
|
|
24224
|
-
internal.attr(div0, "class", "icon svelte-
|
|
24225
|
-
internal.attr(div1, "class", "text svelte-
|
|
24226
|
-
internal.attr(div2, "class", "text-wrapper svelte-
|
|
24227
|
-
internal.attr(div3, "class", "wrapper svelte-
|
|
24235
|
+
internal.attr(div0, "class", "icon svelte-135cbxk");
|
|
24236
|
+
internal.attr(div1, "class", "text svelte-135cbxk");
|
|
24237
|
+
internal.attr(div2, "class", "text-wrapper svelte-135cbxk");
|
|
24238
|
+
internal.attr(div3, "class", "wrapper svelte-135cbxk");
|
|
24228
24239
|
},
|
|
24229
24240
|
m(target, anchor) {
|
|
24230
24241
|
internal.insert(target, div3, anchor);
|
|
@@ -24443,47 +24454,47 @@ void main() {
|
|
|
24443
24454
|
/* src/PanoTagPlugin/Components/Tag/index.svelte generated by Svelte v3.50.1 */
|
|
24444
24455
|
|
|
24445
24456
|
function add_css$5(target) {
|
|
24446
|
-
internal.append_styles(target, "svelte-
|
|
24457
|
+
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}");
|
|
24447
24458
|
}
|
|
24448
24459
|
|
|
24449
|
-
// (
|
|
24460
|
+
// (68:59)
|
|
24450
24461
|
function create_if_block_6(ctx) {
|
|
24451
|
-
let
|
|
24462
|
+
let mediaplane;
|
|
24452
24463
|
let current;
|
|
24453
24464
|
|
|
24454
|
-
|
|
24465
|
+
mediaplane = new MediaPlane({
|
|
24455
24466
|
props: { tag: noTypecheck(/*tag*/ ctx[1]) }
|
|
24456
24467
|
});
|
|
24457
24468
|
|
|
24458
24469
|
return {
|
|
24459
24470
|
c() {
|
|
24460
|
-
internal.create_component(
|
|
24471
|
+
internal.create_component(mediaplane.$$.fragment);
|
|
24461
24472
|
},
|
|
24462
24473
|
m(target, anchor) {
|
|
24463
|
-
internal.mount_component(
|
|
24474
|
+
internal.mount_component(mediaplane, target, anchor);
|
|
24464
24475
|
current = true;
|
|
24465
24476
|
},
|
|
24466
24477
|
p(ctx, dirty) {
|
|
24467
|
-
const
|
|
24468
|
-
if (dirty & /*tag*/ 2)
|
|
24469
|
-
|
|
24478
|
+
const mediaplane_changes = {};
|
|
24479
|
+
if (dirty & /*tag*/ 2) mediaplane_changes.tag = noTypecheck(/*tag*/ ctx[1]);
|
|
24480
|
+
mediaplane.$set(mediaplane_changes);
|
|
24470
24481
|
},
|
|
24471
24482
|
i(local) {
|
|
24472
24483
|
if (current) return;
|
|
24473
|
-
internal.transition_in(
|
|
24484
|
+
internal.transition_in(mediaplane.$$.fragment, local);
|
|
24474
24485
|
current = true;
|
|
24475
24486
|
},
|
|
24476
24487
|
o(local) {
|
|
24477
|
-
internal.transition_out(
|
|
24488
|
+
internal.transition_out(mediaplane.$$.fragment, local);
|
|
24478
24489
|
current = false;
|
|
24479
24490
|
},
|
|
24480
24491
|
d(detaching) {
|
|
24481
|
-
internal.destroy_component(
|
|
24492
|
+
internal.destroy_component(mediaplane, detaching);
|
|
24482
24493
|
}
|
|
24483
24494
|
};
|
|
24484
24495
|
}
|
|
24485
24496
|
|
|
24486
|
-
// (
|
|
24497
|
+
// (66:53)
|
|
24487
24498
|
function create_if_block_5(ctx) {
|
|
24488
24499
|
let linktag;
|
|
24489
24500
|
let current;
|
|
@@ -24520,7 +24531,7 @@ void main() {
|
|
|
24520
24531
|
};
|
|
24521
24532
|
}
|
|
24522
24533
|
|
|
24523
|
-
// (
|
|
24534
|
+
// (64:58)
|
|
24524
24535
|
function create_if_block_4(ctx) {
|
|
24525
24536
|
let marketingtag;
|
|
24526
24537
|
let current;
|
|
@@ -24557,7 +24568,7 @@ void main() {
|
|
|
24557
24568
|
};
|
|
24558
24569
|
}
|
|
24559
24570
|
|
|
24560
|
-
// (
|
|
24571
|
+
// (62:54)
|
|
24561
24572
|
function create_if_block_3(ctx) {
|
|
24562
24573
|
let audiotag;
|
|
24563
24574
|
let current;
|
|
@@ -24598,7 +24609,7 @@ void main() {
|
|
|
24598
24609
|
};
|
|
24599
24610
|
}
|
|
24600
24611
|
|
|
24601
|
-
// (
|
|
24612
|
+
// (60:58)
|
|
24602
24613
|
function create_if_block_2$1(ctx) {
|
|
24603
24614
|
let imagetexttag;
|
|
24604
24615
|
let current;
|
|
@@ -24635,7 +24646,7 @@ void main() {
|
|
|
24635
24646
|
};
|
|
24636
24647
|
}
|
|
24637
24648
|
|
|
24638
|
-
// (
|
|
24649
|
+
// (58:53)
|
|
24639
24650
|
function create_if_block_1$2(ctx) {
|
|
24640
24651
|
let texttag;
|
|
24641
24652
|
let current;
|
|
@@ -24672,7 +24683,7 @@ void main() {
|
|
|
24672
24683
|
};
|
|
24673
24684
|
}
|
|
24674
24685
|
|
|
24675
|
-
// (
|
|
24686
|
+
// (56:6) {#if tag.element}
|
|
24676
24687
|
function create_if_block$2(ctx) {
|
|
24677
24688
|
let customtag;
|
|
24678
24689
|
let current;
|
|
@@ -24734,12 +24745,12 @@ void main() {
|
|
|
24734
24745
|
|
|
24735
24746
|
function select_block_type(ctx, dirty) {
|
|
24736
24747
|
if (/*tag*/ ctx[1].element) return 0;
|
|
24737
|
-
if (/*tag*/ ctx[1].contentType === ContentType.Text) return 1;
|
|
24738
|
-
if (/*tag*/ ctx[1].contentType === ContentType.ImageText) return 2;
|
|
24739
|
-
if (/*tag*/ ctx[1].contentType === ContentType.Audio) return 3;
|
|
24740
|
-
if (/*tag*/ ctx[1].contentType === ContentType.Marketing) return 4;
|
|
24741
|
-
if (/*tag*/ ctx[1].contentType === ContentType.Link) return 5;
|
|
24742
|
-
if (/*tag*/ ctx[1].contentType === ContentType.
|
|
24748
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.Text) return 1;
|
|
24749
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.ImageText) return 2;
|
|
24750
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.Audio) return 3;
|
|
24751
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.Marketing) return 4;
|
|
24752
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.Link) return 5;
|
|
24753
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.MediaPlane) return 6;
|
|
24743
24754
|
return -1;
|
|
24744
24755
|
}
|
|
24745
24756
|
|
|
@@ -24753,14 +24764,15 @@ void main() {
|
|
|
24753
24764
|
div1 = internal.element("div");
|
|
24754
24765
|
div0 = internal.element("div");
|
|
24755
24766
|
if (if_block) if_block.c();
|
|
24756
|
-
internal.attr(div0, "class", "content svelte-
|
|
24767
|
+
internal.attr(div0, "class", "content svelte-6jfp1v");
|
|
24757
24768
|
internal.toggle_class(div0, "unfolded", /*tag*/ ctx[1].state?.unfolded);
|
|
24758
|
-
internal.attr(div1, "class", "content__wrapper svelte-
|
|
24759
|
-
internal.attr(div2, "class", "content__container svelte-
|
|
24769
|
+
internal.attr(div1, "class", "content__wrapper svelte-6jfp1v");
|
|
24770
|
+
internal.attr(div2, "class", "content__container svelte-6jfp1v");
|
|
24760
24771
|
internal.attr(div2, "data-id", div2_data_id_value = /*tag*/ ctx[1].id);
|
|
24761
24772
|
internal.toggle_class(div2, "disable", /*tag*/ ctx[1].enabled === false || /*tag*/ ctx[1].temporaryState?.visible === false);
|
|
24762
24773
|
internal.toggle_class(div2, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible || !/*tag*/ ctx[1].state?.visible);
|
|
24763
24774
|
internal.toggle_class(div2, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
24775
|
+
internal.toggle_class(div2, "unClickable", /*tag*/ ctx[1].clickable === false);
|
|
24764
24776
|
internal.set_style(div2, "width", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
24765
24777
|
internal.set_style(div2, "height", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
24766
24778
|
},
|
|
@@ -24836,6 +24848,10 @@ void main() {
|
|
|
24836
24848
|
internal.toggle_class(div2, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
24837
24849
|
}
|
|
24838
24850
|
|
|
24851
|
+
if (!current || dirty & /*tag*/ 2) {
|
|
24852
|
+
internal.toggle_class(div2, "unClickable", /*tag*/ ctx[1].clickable === false);
|
|
24853
|
+
}
|
|
24854
|
+
|
|
24839
24855
|
if (dirty & /*tag*/ 2) {
|
|
24840
24856
|
internal.set_style(div2, "width", /*tag*/ ctx[1].pointType === 'PointTag' ? 0 : '100%', false);
|
|
24841
24857
|
}
|
|
@@ -25191,7 +25207,7 @@ void main() {
|
|
|
25191
25207
|
function create_if_block$1(ctx) {
|
|
25192
25208
|
let if_block_anchor;
|
|
25193
25209
|
let current;
|
|
25194
|
-
let if_block = /*tag*/ ctx[0].contentType !== ContentType.Link && create_if_block_1$1(ctx);
|
|
25210
|
+
let if_block = /*tag*/ ctx[0].contentType !== exports.ContentType.Link && create_if_block_1$1(ctx);
|
|
25195
25211
|
|
|
25196
25212
|
return {
|
|
25197
25213
|
c() {
|
|
@@ -25204,7 +25220,7 @@ void main() {
|
|
|
25204
25220
|
current = true;
|
|
25205
25221
|
},
|
|
25206
25222
|
p(ctx, dirty) {
|
|
25207
|
-
if (/*tag*/ ctx[0].contentType !== ContentType.Link) {
|
|
25223
|
+
if (/*tag*/ ctx[0].contentType !== exports.ContentType.Link) {
|
|
25208
25224
|
if (if_block) {
|
|
25209
25225
|
if_block.p(ctx, dirty);
|
|
25210
25226
|
|
|
@@ -25476,7 +25492,7 @@ void main() {
|
|
|
25476
25492
|
? void 0
|
|
25477
25493
|
: _a.foldedPointDelay) !== null && _b !== void 0
|
|
25478
25494
|
? _b
|
|
25479
|
-
: tag.contentType === ContentType.Marketing
|
|
25495
|
+
: tag.contentType === exports.ContentType.Marketing
|
|
25480
25496
|
? 600
|
|
25481
25497
|
: undefined);
|
|
25482
25498
|
}
|
|
@@ -25600,8 +25616,8 @@ void main() {
|
|
|
25600
25616
|
let t;
|
|
25601
25617
|
let div_data_id_value;
|
|
25602
25618
|
let current;
|
|
25603
|
-
let if_block0 = /*tag*/ ctx[1].dimensionType === DimensionType.Two && create_if_block_1(ctx);
|
|
25604
|
-
let if_block1 = /*tag*/ ctx[1].pointType === PointType.PointTag && /*tag*/ ctx[1].style?.point?.style !== 'noPoint' && create_if_block(ctx);
|
|
25619
|
+
let if_block0 = /*tag*/ ctx[1].dimensionType === exports.DimensionType.Two && create_if_block_1(ctx);
|
|
25620
|
+
let if_block1 = /*tag*/ ctx[1].pointType === exports.PointType.PointTag && /*tag*/ ctx[1].style?.point?.style !== 'noPoint' && create_if_block(ctx);
|
|
25605
25621
|
|
|
25606
25622
|
return {
|
|
25607
25623
|
c() {
|
|
@@ -25625,7 +25641,7 @@ void main() {
|
|
|
25625
25641
|
current = true;
|
|
25626
25642
|
},
|
|
25627
25643
|
p(ctx, [dirty]) {
|
|
25628
|
-
if (/*tag*/ ctx[1].dimensionType === DimensionType.Two) {
|
|
25644
|
+
if (/*tag*/ ctx[1].dimensionType === exports.DimensionType.Two) {
|
|
25629
25645
|
if (if_block0) {
|
|
25630
25646
|
if_block0.p(ctx, dirty);
|
|
25631
25647
|
|
|
@@ -25648,7 +25664,7 @@ void main() {
|
|
|
25648
25664
|
internal.check_outros();
|
|
25649
25665
|
}
|
|
25650
25666
|
|
|
25651
|
-
if (/*tag*/ ctx[1].pointType === PointType.PointTag && /*tag*/ ctx[1].style?.point?.style !== 'noPoint') {
|
|
25667
|
+
if (/*tag*/ ctx[1].pointType === exports.PointType.PointTag && /*tag*/ ctx[1].style?.point?.style !== 'noPoint') {
|
|
25652
25668
|
if (if_block1) {
|
|
25653
25669
|
if_block1.p(ctx, dirty);
|
|
25654
25670
|
|
|
@@ -25747,6 +25763,14 @@ void main() {
|
|
|
25747
25763
|
hooks.emit('click', { event, target: 'TagPoint', tag });
|
|
25748
25764
|
};
|
|
25749
25765
|
|
|
25766
|
+
svelte.onMount(() => {
|
|
25767
|
+
hooks.emit('exposure', { id: tag.id, type: 'start' });
|
|
25768
|
+
|
|
25769
|
+
return () => {
|
|
25770
|
+
hooks.emit('exposure', { id: tag.id, type: 'end' });
|
|
25771
|
+
};
|
|
25772
|
+
});
|
|
25773
|
+
|
|
25750
25774
|
$$self.$$set = $$props => {
|
|
25751
25775
|
if ('withAnimation' in $$props) $$invalidate(0, withAnimation = $$props.withAnimation);
|
|
25752
25776
|
if ('tag' in $$props) $$invalidate(1, tag = $$props.tag);
|
|
@@ -25782,7 +25806,7 @@ void main() {
|
|
|
25782
25806
|
}
|
|
25783
25807
|
|
|
25784
25808
|
if ($$self.$$.dirty & /*tag, _e*/ 65538) {
|
|
25785
|
-
$$invalidate(7, zIndex = tag.contentType === ContentType.Link
|
|
25809
|
+
$$invalidate(7, zIndex = tag.contentType === exports.ContentType.Link
|
|
25786
25810
|
? 20
|
|
25787
25811
|
: ($$invalidate(16, _e = tag.state) === null || _e === void 0
|
|
25788
25812
|
? void 0
|
|
@@ -25843,7 +25867,7 @@ void main() {
|
|
|
25843
25867
|
/* src/PanoTagPlugin/Components/PointTag.svelte generated by Svelte v3.50.1 */
|
|
25844
25868
|
|
|
25845
25869
|
function add_css(target) {
|
|
25846
|
-
internal.append_styles(target, "svelte-
|
|
25870
|
+
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}");
|
|
25847
25871
|
}
|
|
25848
25872
|
|
|
25849
25873
|
function get_each_context(ctx, list, i) {
|
|
@@ -25885,7 +25909,7 @@ void main() {
|
|
|
25885
25909
|
div = internal.element("div");
|
|
25886
25910
|
internal.create_component(tagwrapper.$$.fragment);
|
|
25887
25911
|
t = internal.space();
|
|
25888
|
-
internal.attr(div, "class", "
|
|
25912
|
+
internal.attr(div, "class", "tag svelte-1eci49s");
|
|
25889
25913
|
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);
|
|
25890
25914
|
this.first = div;
|
|
25891
25915
|
},
|
|
@@ -25955,7 +25979,7 @@ void main() {
|
|
|
25955
25979
|
each_blocks[i].c();
|
|
25956
25980
|
}
|
|
25957
25981
|
|
|
25958
|
-
internal.attr(div, "class", "
|
|
25982
|
+
internal.attr(div, "class", "tag--container svelte-1eci49s");
|
|
25959
25983
|
internal.toggle_class(div, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible);
|
|
25960
25984
|
internal.toggle_class(div, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
25961
25985
|
},
|
|
@@ -26086,7 +26110,7 @@ void main() {
|
|
|
26086
26110
|
'Any-Marketing-Any': {
|
|
26087
26111
|
unfoldedConfig: undefined,
|
|
26088
26112
|
},
|
|
26089
|
-
'3D-
|
|
26113
|
+
'3D-MediaPlane-PlaneTag': {
|
|
26090
26114
|
unfoldedConfig: {
|
|
26091
26115
|
disableFold: true,
|
|
26092
26116
|
},
|
|
@@ -26094,6 +26118,7 @@ void main() {
|
|
|
26094
26118
|
angleRange: undefined,
|
|
26095
26119
|
visibleDistance: undefined,
|
|
26096
26120
|
},
|
|
26121
|
+
clickable: false,
|
|
26097
26122
|
},
|
|
26098
26123
|
},
|
|
26099
26124
|
};
|
|
@@ -26259,7 +26284,7 @@ void main() {
|
|
|
26259
26284
|
}
|
|
26260
26285
|
// console.log(tag.id, '角度检测', tag, config.angleRange)
|
|
26261
26286
|
// 角度检测
|
|
26262
|
-
if (config.angleRange && tag.dimensionType === DimensionType.Three) {
|
|
26287
|
+
if (config.angleRange && tag.dimensionType === exports.DimensionType.Three) {
|
|
26263
26288
|
const visible = checkRange(this.getAngle(tag), config.angleRange);
|
|
26264
26289
|
if (visible === false)
|
|
26265
26290
|
return false;
|
|
@@ -26392,7 +26417,7 @@ void main() {
|
|
|
26392
26417
|
if (observerPosition === undefined)
|
|
26393
26418
|
throw new Error(`getDistance(): observerPosition is ${observerPosition}`);
|
|
26394
26419
|
const position = (() => {
|
|
26395
|
-
if (tag.pointType === PointType.PointTag) {
|
|
26420
|
+
if (tag.pointType === exports.PointType.PointTag) {
|
|
26396
26421
|
return arrayPositionToVector3(tag === null || tag === void 0 ? void 0 : tag.position);
|
|
26397
26422
|
}
|
|
26398
26423
|
else {
|
|
@@ -26420,7 +26445,7 @@ void main() {
|
|
|
26420
26445
|
if (observerPosition === undefined)
|
|
26421
26446
|
throw new Error(`getAngleRange(): observerPosition is ${observerPosition}`);
|
|
26422
26447
|
const normal = (() => {
|
|
26423
|
-
if (tag.pointType === PointType.PointTag)
|
|
26448
|
+
if (tag.pointType === exports.PointType.PointTag)
|
|
26424
26449
|
return anyPositionToVector3(tag.normal);
|
|
26425
26450
|
else
|
|
26426
26451
|
return planeNormal(tag.position);
|
|
@@ -26537,25 +26562,25 @@ void main() {
|
|
|
26537
26562
|
}
|
|
26538
26563
|
// TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
|
|
26539
26564
|
filterPointTag() {
|
|
26540
|
-
return this.tags.filter((tag) => tag.pointType === PointType.PointTag);
|
|
26565
|
+
return this.tags.filter((tag) => tag.pointType === exports.PointType.PointTag);
|
|
26541
26566
|
}
|
|
26542
26567
|
filterTag2D() {
|
|
26543
|
-
return this.tags.filter((tag) => tag.dimensionType === DimensionType.Two);
|
|
26568
|
+
return this.tags.filter((tag) => tag.dimensionType === exports.DimensionType.Two);
|
|
26544
26569
|
}
|
|
26545
26570
|
filter3DPointTag() {
|
|
26546
|
-
return this.tags.filter((tag) => tag.dimensionType === DimensionType.Three && tag.pointType === PointType.PointTag);
|
|
26571
|
+
return this.tags.filter((tag) => tag.dimensionType === exports.DimensionType.Three && tag.pointType === exports.PointType.PointTag);
|
|
26547
26572
|
}
|
|
26548
26573
|
filter3DTag() {
|
|
26549
|
-
return this.tags.filter((tag) => tag.dimensionType === DimensionType.Three);
|
|
26574
|
+
return this.tags.filter((tag) => tag.dimensionType === exports.DimensionType.Three);
|
|
26550
26575
|
}
|
|
26551
26576
|
filterPlaneTag() {
|
|
26552
|
-
return this.tags.filter((tag) => tag.dimensionType === DimensionType.Three && tag.pointType === PointType.PlaneTag);
|
|
26577
|
+
return this.tags.filter((tag) => tag.dimensionType === exports.DimensionType.Three && tag.pointType === exports.PointType.PlaneTag);
|
|
26553
26578
|
}
|
|
26554
26579
|
}
|
|
26555
26580
|
|
|
26556
26581
|
// declare const __APP_VERSION__: string
|
|
26557
|
-
const VERSION$2 = '0.
|
|
26558
|
-
const PLUGIN_NAME$1 = `DnalogelPlugin-PanoTagPlugin
|
|
26582
|
+
const VERSION$2 = '0.3.4';
|
|
26583
|
+
const PLUGIN_NAME$1 = `DnalogelPlugin-PanoTagPlugin@${VERSION$2}`;
|
|
26559
26584
|
const TAG_INITIAL_UNFOLDED = true;
|
|
26560
26585
|
const pluginFlag = (name) => `${PLUGIN_NAME$1}--${name}`;
|
|
26561
26586
|
class PanoTagPluginController extends TagComputer {
|
|
@@ -26696,7 +26721,7 @@ void main() {
|
|
|
26696
26721
|
const _tags = tags
|
|
26697
26722
|
.map((tag) => {
|
|
26698
26723
|
const config = this.getTagConfig(tag);
|
|
26699
|
-
return Object.assign(Object.assign({}, tag), { state: Object.assign({ visible: undefined, unfolded: TAG_INITIAL_UNFOLDED }, config.initialState), hooks: new five.Subscribe() });
|
|
26724
|
+
return Object.assign(Object.assign({}, tag), { state: Object.assign({ visible: undefined, unfolded: TAG_INITIAL_UNFOLDED }, config.initialState), hooks: new five.Subscribe(), clickable: config.clickable });
|
|
26700
26725
|
})
|
|
26701
26726
|
.filter((tag) => tag.position);
|
|
26702
26727
|
this.tags.push(..._tags);
|
|
@@ -27082,13 +27107,13 @@ void main() {
|
|
|
27082
27107
|
return;
|
|
27083
27108
|
if (!this.css3DRenderPlugin)
|
|
27084
27109
|
this.css3DRenderPlugin = CSS3DRenderPlugin(this.five);
|
|
27085
|
-
if (tag.pointType === PointType.PointTag && !tag.normal)
|
|
27110
|
+
if (tag.pointType === exports.PointType.PointTag && !tag.normal)
|
|
27086
27111
|
return console.error('updateRenderPlaneTag: 三维点标签缺少法向量!');
|
|
27087
27112
|
// 四个点
|
|
27088
|
-
const positions = tag.pointType === PointType.PlaneTag
|
|
27113
|
+
const positions = tag.pointType === exports.PointType.PlaneTag
|
|
27089
27114
|
? tag.position
|
|
27090
27115
|
: normalPositionToPositions(this.five.camera.position, arrayPositionToVector3(tag.position), arrayPositionToVector3(tag.normal));
|
|
27091
|
-
const normal = tag.pointType === PointType.PlaneTag ? planeNormal(tag.position) : arrayPositionToVector3(tag.normal);
|
|
27116
|
+
const normal = tag.pointType === exports.PointType.PlaneTag ? planeNormal(tag.position) : arrayPositionToVector3(tag.normal);
|
|
27092
27117
|
const create3DDomContainerConfig = this.getTagConfig(tag).tag3DConfig;
|
|
27093
27118
|
const domContainer = this.css3DRenderPlugin.create3DDomContainer(positions, create3DDomContainerConfig);
|
|
27094
27119
|
if (!domContainer)
|
|
@@ -27138,14 +27163,14 @@ void main() {
|
|
|
27138
27163
|
// 3D 转 2D 的时候要销毁 3D container
|
|
27139
27164
|
this.tags.forEach((tag) => {
|
|
27140
27165
|
var _a;
|
|
27141
|
-
if (tag.dimensionType === DimensionType.Two && tag.pointType === PointType.PointTag) {
|
|
27166
|
+
if (tag.dimensionType === exports.DimensionType.Two && tag.pointType === exports.PointType.PointTag) {
|
|
27142
27167
|
(_a = tag.tag3DContentSvelte) === null || _a === void 0 ? void 0 : _a.domContainer.dispose();
|
|
27143
27168
|
tag.tag3DContentSvelte = undefined;
|
|
27144
27169
|
}
|
|
27145
27170
|
});
|
|
27146
27171
|
for (const [id, disposer] of this.store.css3DRenderDisposer) {
|
|
27147
27172
|
const tag = this.getTagById(id);
|
|
27148
|
-
if (!tag || tag.dimensionType !== DimensionType.Three) {
|
|
27173
|
+
if (!tag || tag.dimensionType !== exports.DimensionType.Three) {
|
|
27149
27174
|
disposer === null || disposer === void 0 ? void 0 : disposer();
|
|
27150
27175
|
this.store.css3DRenderDisposer.delete(id);
|
|
27151
27176
|
}
|
|
@@ -27156,7 +27181,8 @@ void main() {
|
|
|
27156
27181
|
const PanoTagPlugin = (five, params) => new PanoTagPluginController(five, params);
|
|
27157
27182
|
|
|
27158
27183
|
class BaseHelper extends THREE.Object3D {
|
|
27159
|
-
constructor(originObject3D) {
|
|
27184
|
+
constructor(originObject3D, config) {
|
|
27185
|
+
var _a;
|
|
27160
27186
|
super();
|
|
27161
27187
|
Object.defineProperty(this, "originObject3D", {
|
|
27162
27188
|
enumerable: true,
|
|
@@ -27164,24 +27190,42 @@ void main() {
|
|
|
27164
27190
|
writable: true,
|
|
27165
27191
|
value: void 0
|
|
27166
27192
|
});
|
|
27193
|
+
Object.defineProperty(this, "needsRender", {
|
|
27194
|
+
enumerable: true,
|
|
27195
|
+
configurable: true,
|
|
27196
|
+
writable: true,
|
|
27197
|
+
value: void 0
|
|
27198
|
+
});
|
|
27167
27199
|
this.originObject3D = originObject3D;
|
|
27200
|
+
this.needsRender = (_a = config === null || config === void 0 ? void 0 : config.needsRender) !== null && _a !== void 0 ? _a : (() => { });
|
|
27168
27201
|
}
|
|
27169
27202
|
get helperObject() {
|
|
27170
27203
|
return this;
|
|
27171
27204
|
}
|
|
27205
|
+
show() {
|
|
27206
|
+
this.visible = true;
|
|
27207
|
+
this.needsRender();
|
|
27208
|
+
}
|
|
27209
|
+
hide() {
|
|
27210
|
+
this.visible = false;
|
|
27211
|
+
this.needsRender();
|
|
27212
|
+
}
|
|
27172
27213
|
updatePosition() {
|
|
27173
27214
|
this.position.copy(this.originObject3D.position);
|
|
27174
27215
|
}
|
|
27175
|
-
|
|
27176
|
-
this.
|
|
27216
|
+
updateQuaternion() {
|
|
27217
|
+
this.quaternion.copy(this.originObject3D.quaternion);
|
|
27177
27218
|
}
|
|
27219
|
+
// public setPosition(position: Vector3) {
|
|
27220
|
+
// this.position.copy(position)
|
|
27221
|
+
// }
|
|
27178
27222
|
updateMatrix4(matrix, origin) {
|
|
27179
27223
|
this.applyMatrix4(matrix);
|
|
27180
27224
|
}
|
|
27181
|
-
|
|
27225
|
+
applyHelperScaleMatrix4(matrix, params) {
|
|
27182
27226
|
this.scale.applyMatrix4(matrix);
|
|
27183
27227
|
}
|
|
27184
|
-
|
|
27228
|
+
applyHelperQuaternion(quaternion, origin) {
|
|
27185
27229
|
this.applyQuaternion(quaternion);
|
|
27186
27230
|
}
|
|
27187
27231
|
}
|
|
@@ -27371,29 +27415,16 @@ void main() {
|
|
|
27371
27415
|
this.add(this.yArrow);
|
|
27372
27416
|
this.add(this.zArrow);
|
|
27373
27417
|
}
|
|
27374
|
-
|
|
27375
|
-
|
|
27376
|
-
|
|
27377
|
-
|
|
27378
|
-
|
|
27379
|
-
}
|
|
27380
|
-
else {
|
|
27381
|
-
directions.forEach((direction) => {
|
|
27382
|
-
const arrow = [this.xArrow, this.yArrow, this.zArrow].find((arrow) => arrow.direction === direction);
|
|
27383
|
-
arrow && (arrow.visible = false);
|
|
27384
|
-
});
|
|
27385
|
-
}
|
|
27418
|
+
show() {
|
|
27419
|
+
super.show();
|
|
27420
|
+
this.xArrow.visible = true;
|
|
27421
|
+
this.yArrow.visible = true;
|
|
27422
|
+
this.zArrow.visible = true;
|
|
27386
27423
|
}
|
|
27387
|
-
|
|
27388
|
-
|
|
27389
|
-
|
|
27390
|
-
|
|
27391
|
-
this.zArrow.visible = true;
|
|
27392
|
-
}
|
|
27393
|
-
else {
|
|
27394
|
-
const arrow = [this.xArrow, this.yArrow, this.zArrow].find((arrow) => arrow.direction === direction);
|
|
27395
|
-
arrow && (arrow.visible = true);
|
|
27396
|
-
}
|
|
27424
|
+
showDraggingHelper(directions) {
|
|
27425
|
+
this.xArrow.visible = directions.includes('x');
|
|
27426
|
+
this.yArrow.visible = directions.includes('y');
|
|
27427
|
+
this.zArrow.visible = directions.includes('z');
|
|
27397
27428
|
}
|
|
27398
27429
|
dispose() {
|
|
27399
27430
|
this.remove(this.xArrow, this.yArrow, this.zArrow);
|
|
@@ -27522,7 +27553,7 @@ void main() {
|
|
|
27522
27553
|
this.yRingHelper.quaternion.copy(this.xzCircle.quaternion);
|
|
27523
27554
|
this.zRingHelper.quaternion.copy(this.xyCircle.quaternion);
|
|
27524
27555
|
}
|
|
27525
|
-
|
|
27556
|
+
applyHelperQuaternion(quaternion, origin) {
|
|
27526
27557
|
this.yzCircle.applyQuaternion(quaternion);
|
|
27527
27558
|
this.xzCircle.applyQuaternion(quaternion);
|
|
27528
27559
|
this.xyCircle.applyQuaternion(quaternion);
|
|
@@ -27531,21 +27562,21 @@ void main() {
|
|
|
27531
27562
|
this.zAngleHelper.baseAxes.applyQuaternion(quaternion);
|
|
27532
27563
|
}
|
|
27533
27564
|
hide() {
|
|
27565
|
+
// 改为remove而不是设置visible,是因为会影响其他helper的碰撞检测
|
|
27534
27566
|
this.remove(this.yzCircle, this.xzCircle, this.xyCircle, this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
|
|
27535
27567
|
}
|
|
27536
|
-
show(
|
|
27537
|
-
var _a
|
|
27538
|
-
|
|
27539
|
-
|
|
27540
|
-
|
|
27541
|
-
|
|
27542
|
-
|
|
27543
|
-
|
|
27544
|
-
|
|
27545
|
-
|
|
27546
|
-
|
|
27547
|
-
|
|
27548
|
-
}
|
|
27568
|
+
show() {
|
|
27569
|
+
var _a;
|
|
27570
|
+
this.add(this.xyCircle, this.xzCircle, this.yzCircle);
|
|
27571
|
+
this.remove(this.xRingHelper, this.yRingHelper, this.zRingHelper, this.xAngleHelper, this.yAngleHelper, this.zAngleHelper);
|
|
27572
|
+
(_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.hide();
|
|
27573
|
+
}
|
|
27574
|
+
showDraggingHelper(directions) {
|
|
27575
|
+
var _a;
|
|
27576
|
+
this.hide();
|
|
27577
|
+
this.add(...this.filterRingHelper(directions));
|
|
27578
|
+
this.add(...this.filterAngleHelper(directions));
|
|
27579
|
+
(_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.show();
|
|
27549
27580
|
}
|
|
27550
27581
|
dispose() {
|
|
27551
27582
|
var _a, _b;
|
|
@@ -27553,11 +27584,11 @@ void main() {
|
|
|
27553
27584
|
if ((_a = this.angleTips) === null || _a === void 0 ? void 0 : _a.element)
|
|
27554
27585
|
(_b = this.container) === null || _b === void 0 ? void 0 : _b.removeChild(this.angleTips.element);
|
|
27555
27586
|
}
|
|
27556
|
-
filterRingHelper(
|
|
27557
|
-
return [this.xRingHelper, this.yRingHelper, this.zRingHelper].filter((helper) => helper.direction
|
|
27587
|
+
filterRingHelper(directions) {
|
|
27588
|
+
return [this.xRingHelper, this.yRingHelper, this.zRingHelper].filter((helper) => directions.includes(helper.direction));
|
|
27558
27589
|
}
|
|
27559
|
-
filterAngleHelper(
|
|
27560
|
-
return [this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter((helper) => helper.direction
|
|
27590
|
+
filterAngleHelper(directions) {
|
|
27591
|
+
return [this.xAngleHelper, this.yAngleHelper, this.zAngleHelper].filter((helper) => directions.includes(helper.direction));
|
|
27561
27592
|
}
|
|
27562
27593
|
}
|
|
27563
27594
|
class Circle extends THREE__namespace.Mesh {
|
|
@@ -27843,18 +27874,20 @@ void main() {
|
|
|
27843
27874
|
(_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.position.copy(this.originObject3D.position);
|
|
27844
27875
|
(_b = this.plane) === null || _b === void 0 ? void 0 : _b.position.copy(this.originObject3D.position);
|
|
27845
27876
|
}
|
|
27846
|
-
setPosition(position) {
|
|
27847
|
-
|
|
27848
|
-
|
|
27849
|
-
|
|
27850
|
-
}
|
|
27877
|
+
// public setPosition(position: Vector3) {
|
|
27878
|
+
// this.css3DInstance?.css3DObject.position.copy(position)
|
|
27879
|
+
// this.plane?.position.copy(position)
|
|
27880
|
+
// }
|
|
27851
27881
|
updateMatrix4(matrix) {
|
|
27852
27882
|
var _a, _b;
|
|
27853
27883
|
(_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.applyMatrix4(matrix);
|
|
27854
27884
|
(_b = this.plane) === null || _b === void 0 ? void 0 : _b.applyMatrix4(matrix);
|
|
27855
27885
|
this.cornerPositions.forEach((cornerPosition) => cornerPosition.applyMatrix4(matrix));
|
|
27856
27886
|
}
|
|
27857
|
-
|
|
27887
|
+
showDraggingHelper() {
|
|
27888
|
+
// nothing to do
|
|
27889
|
+
}
|
|
27890
|
+
applyHelperScaleMatrix4(matrix, params) {
|
|
27858
27891
|
var _a, _b;
|
|
27859
27892
|
(_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject.scale.applyMatrix4(matrix);
|
|
27860
27893
|
(_b = this.plane) === null || _b === void 0 ? void 0 : _b.scale.applyMatrix4(matrix);
|
|
@@ -27872,7 +27905,7 @@ void main() {
|
|
|
27872
27905
|
point.position.copy(position8[index]);
|
|
27873
27906
|
});
|
|
27874
27907
|
}
|
|
27875
|
-
|
|
27908
|
+
applyHelperQuaternion(quaternion, origin) {
|
|
27876
27909
|
var _a;
|
|
27877
27910
|
const css3DObject = (_a = this.css3DInstance) === null || _a === void 0 ? void 0 : _a.css3DObject;
|
|
27878
27911
|
if (css3DObject) {
|
|
@@ -28468,6 +28501,7 @@ void main() {
|
|
|
28468
28501
|
this.scene = scene;
|
|
28469
28502
|
this.domEvents = new DomEvents(camera, container);
|
|
28470
28503
|
this.needsRender = needsRender !== null && needsRender !== void 0 ? needsRender : (() => { });
|
|
28504
|
+
this.updateHelperQuaternion();
|
|
28471
28505
|
this.updateHelperPosition();
|
|
28472
28506
|
this.enable();
|
|
28473
28507
|
}
|
|
@@ -28486,31 +28520,35 @@ void main() {
|
|
|
28486
28520
|
this.needsRender();
|
|
28487
28521
|
}
|
|
28488
28522
|
show() {
|
|
28489
|
-
this.helperObject3D.
|
|
28523
|
+
this.helperObject3D.show();
|
|
28490
28524
|
this.needsRender();
|
|
28491
28525
|
}
|
|
28492
28526
|
hide() {
|
|
28493
|
-
this.helperObject3D.
|
|
28527
|
+
this.helperObject3D.hide();
|
|
28494
28528
|
this.needsRender();
|
|
28495
28529
|
}
|
|
28496
28530
|
dispose() {
|
|
28497
|
-
this.scene.remove(this.helperObject3D);
|
|
28498
28531
|
this.helperObject3D.dispose();
|
|
28532
|
+
this.scene.remove(this.helperObject3D);
|
|
28533
|
+
this.needsRender();
|
|
28499
28534
|
}
|
|
28500
28535
|
updateHelperPosition() {
|
|
28501
28536
|
this.helperObject3D.updatePosition();
|
|
28502
28537
|
}
|
|
28503
|
-
|
|
28504
|
-
this.helperObject3D.
|
|
28538
|
+
updateHelperQuaternion() {
|
|
28539
|
+
this.helperObject3D.updateQuaternion();
|
|
28505
28540
|
}
|
|
28541
|
+
// public setHelperPosition(position: THREE.Vector3) {
|
|
28542
|
+
// this.helperObject3D.setPosition(position)
|
|
28543
|
+
// }
|
|
28506
28544
|
setHelperMatrix4(matrix4, origin) {
|
|
28507
28545
|
this.helperObject3D.updateMatrix4(matrix4, origin);
|
|
28508
28546
|
}
|
|
28509
28547
|
setHelperQuaternion(quaternion, origin) {
|
|
28510
|
-
this.helperObject3D.
|
|
28548
|
+
this.helperObject3D.applyHelperQuaternion(quaternion, origin);
|
|
28511
28549
|
}
|
|
28512
|
-
|
|
28513
|
-
this.helperObject3D.
|
|
28550
|
+
applyHelperScaleMatrix4(matrix4, params) {
|
|
28551
|
+
this.helperObject3D.applyHelperScaleMatrix4(matrix4, params);
|
|
28514
28552
|
}
|
|
28515
28553
|
onWantsGesture(type, pointers, final) {
|
|
28516
28554
|
if (this.isDragging)
|
|
@@ -28652,7 +28690,7 @@ void main() {
|
|
|
28652
28690
|
plane.setFromNormalAndCoplanarPoint(planeNormal, startIntersect);
|
|
28653
28691
|
this.startInfo = { startVectorProject: startIntersect.clone().projectOnVector(directionVector), directionVector, plane };
|
|
28654
28692
|
// 隐藏其他箭头
|
|
28655
|
-
this.helperObject3D.
|
|
28693
|
+
this.helperObject3D.showDraggingHelper([draggingDirection]);
|
|
28656
28694
|
this.hooks.emit('moveStart');
|
|
28657
28695
|
this.isDragging = true;
|
|
28658
28696
|
console.log('%c MoveController dragStart', 'color: #e5af2e');
|
|
@@ -28757,13 +28795,13 @@ void main() {
|
|
|
28757
28795
|
const VERSION$1 = 'v1.0.0';
|
|
28758
28796
|
const NAME = 'Object3DHelper';
|
|
28759
28797
|
const NAMEVERSION = `${NAME}@${VERSION$1}`;
|
|
28760
|
-
const disposedErrorLog = () => {
|
|
28798
|
+
const disposedErrorLog$1 = () => {
|
|
28761
28799
|
console.error(`${NAMEVERSION} is disposed`);
|
|
28762
28800
|
};
|
|
28763
|
-
const disableWarnLog = () => {
|
|
28801
|
+
const disableWarnLog$1 = () => {
|
|
28764
28802
|
console.warn(`${NAMEVERSION} is disabled`);
|
|
28765
28803
|
};
|
|
28766
|
-
const disableErrorLog = () => {
|
|
28804
|
+
const disableErrorLog$1 = () => {
|
|
28767
28805
|
console.error(`${NAMEVERSION} is disabled`);
|
|
28768
28806
|
};
|
|
28769
28807
|
class Object3DHelper {
|
|
@@ -28807,7 +28845,7 @@ void main() {
|
|
|
28807
28845
|
configurable: true,
|
|
28808
28846
|
writable: true,
|
|
28809
28847
|
value: (controller, ...positionParams) => {
|
|
28810
|
-
var _a, _b, _c, _d
|
|
28848
|
+
var _a, _b, _c, _d;
|
|
28811
28849
|
const [position] = positionParams;
|
|
28812
28850
|
const matrix4 = position === null || position === void 0 ? void 0 : position.matrix4;
|
|
28813
28851
|
if (matrix4) {
|
|
@@ -28818,14 +28856,12 @@ void main() {
|
|
|
28818
28856
|
(_c = this.controllers.scaleController) === null || _c === void 0 ? void 0 : _c.setHelperMatrix4(matrix4);
|
|
28819
28857
|
(_d = this.helpers.outlineHelper) === null || _d === void 0 ? void 0 : _d.applyMatrix4(matrix4);
|
|
28820
28858
|
}
|
|
28821
|
-
if (position
|
|
28822
|
-
|
|
28823
|
-
|
|
28824
|
-
|
|
28825
|
-
|
|
28826
|
-
|
|
28827
|
-
(_h = this.helpers.outlineHelper) === null || _h === void 0 ? void 0 : _h.position.copy(position.position);
|
|
28828
|
-
}
|
|
28859
|
+
// if (position?.position) {
|
|
28860
|
+
// if (controller !== this.controllers.moveController) this.controllers.moveController?.setHelperPosition(position.position)
|
|
28861
|
+
// if (controller !== this.controllers.rotateController) this.controllers.rotateController?.setHelperPosition(position.position)
|
|
28862
|
+
// this.controllers.scaleController?.setHelperPosition(position.position)
|
|
28863
|
+
// this.helpers.outlineHelper?.position.copy(position.position)
|
|
28864
|
+
// }
|
|
28829
28865
|
}
|
|
28830
28866
|
});
|
|
28831
28867
|
Object.defineProperty(this, "handleScaleUpdate", {
|
|
@@ -28837,7 +28873,7 @@ void main() {
|
|
|
28837
28873
|
const [params] = positionParams;
|
|
28838
28874
|
const matrix4 = params === null || params === void 0 ? void 0 : params.matrix4;
|
|
28839
28875
|
if (matrix4) {
|
|
28840
|
-
(_a = this.controllers.scaleController) === null || _a === void 0 ? void 0 : _a.
|
|
28876
|
+
(_a = this.controllers.scaleController) === null || _a === void 0 ? void 0 : _a.applyHelperScaleMatrix4(matrix4, params);
|
|
28841
28877
|
(_b = this.helpers.outlineHelper) === null || _b === void 0 ? void 0 : _b.scale.applyMatrix4(matrix4);
|
|
28842
28878
|
}
|
|
28843
28879
|
}
|
|
@@ -28898,11 +28934,11 @@ void main() {
|
|
|
28898
28934
|
}
|
|
28899
28935
|
setState(state, options) {
|
|
28900
28936
|
if (this.state.disposed)
|
|
28901
|
-
return disposedErrorLog();
|
|
28937
|
+
return disposedErrorLog$1();
|
|
28902
28938
|
if (!this.state.enabled) {
|
|
28903
28939
|
// when plugin is disabled, only can change enabled or disposed to true
|
|
28904
28940
|
if (state.enabled !== true && state.disposed !== true)
|
|
28905
|
-
return disableErrorLog();
|
|
28941
|
+
return disableErrorLog$1();
|
|
28906
28942
|
}
|
|
28907
28943
|
const prevState = Object.assign({}, this.state);
|
|
28908
28944
|
this.state = Object.assign(Object.assign({}, this.state), state);
|
|
@@ -28990,7 +29026,6 @@ void main() {
|
|
|
28990
29026
|
}
|
|
28991
29027
|
}
|
|
28992
29028
|
handleEnable(enabled, userAction = true) {
|
|
28993
|
-
console.log({ enabled });
|
|
28994
29029
|
if (enabled) {
|
|
28995
29030
|
this.everyControllerDo((controller) => controller.enable());
|
|
28996
29031
|
this.hooks.emit('enable', { userAction });
|
|
@@ -29002,7 +29037,6 @@ void main() {
|
|
|
29002
29037
|
this.state.enabled = enabled;
|
|
29003
29038
|
}
|
|
29004
29039
|
handleVisible(visible, userAction = true) {
|
|
29005
|
-
console.log({ visible });
|
|
29006
29040
|
if (visible) {
|
|
29007
29041
|
this.everyControllerDo((controller) => controller.show());
|
|
29008
29042
|
this.actionIfStateIsEnabled(() => this.hooks.emit('show', { userAction }));
|
|
@@ -29029,7 +29063,7 @@ void main() {
|
|
|
29029
29063
|
return func();
|
|
29030
29064
|
else {
|
|
29031
29065
|
if (options === null || options === void 0 ? void 0 : options.warnLog)
|
|
29032
|
-
disableWarnLog();
|
|
29066
|
+
disableWarnLog$1();
|
|
29033
29067
|
}
|
|
29034
29068
|
}
|
|
29035
29069
|
}
|
|
@@ -29132,7 +29166,7 @@ void main() {
|
|
|
29132
29166
|
// this.a = new THREE.PlaneHelper(plane, 10, 0xffff00)
|
|
29133
29167
|
// this.scene.add(this.a)
|
|
29134
29168
|
this.startInfo = { direction, startVector, staticStartVector, plane, angleHelper };
|
|
29135
|
-
this.helperObject3D.
|
|
29169
|
+
this.helperObject3D.showDraggingHelper([direction]);
|
|
29136
29170
|
this.hooks.emit('rotateStart');
|
|
29137
29171
|
this.isDragging = true;
|
|
29138
29172
|
console.log(`%c RotateController dragStart ${direction}`, 'color: #e5af2e');
|
|
@@ -29222,7 +29256,7 @@ void main() {
|
|
|
29222
29256
|
// end
|
|
29223
29257
|
const quaternion = new THREE__namespace.Quaternion().setFromUnitVectors(startVector.clone().normalize(), currentVector.clone().normalize());
|
|
29224
29258
|
object.applyQuaternion(quaternion);
|
|
29225
|
-
this.helperObject3D.
|
|
29259
|
+
this.helperObject3D.applyHelperQuaternion(quaternion);
|
|
29226
29260
|
this.helperObject3DQuaternion.premultiply(quaternion);
|
|
29227
29261
|
this.hooks.emit('rotateUpdate', { quaternion, origin: rotateCenter });
|
|
29228
29262
|
this.startInfo.startVector = currentVector;
|
|
@@ -29506,9 +29540,18 @@ void main() {
|
|
|
29506
29540
|
const VERSION = 'v1.0.0';
|
|
29507
29541
|
const PLUGIN_NAME = 'Object3DHelperPlugin';
|
|
29508
29542
|
const PLUGIN = `${PLUGIN_NAME}@${VERSION}`;
|
|
29509
|
-
|
|
29543
|
+
const disposedErrorLog = () => {
|
|
29544
|
+
console.error(`${PLUGIN} is disposed`);
|
|
29545
|
+
};
|
|
29546
|
+
const disableWarnLog = () => {
|
|
29547
|
+
console.warn(`${PLUGIN} is disabled`);
|
|
29548
|
+
};
|
|
29549
|
+
const disableErrorLog = () => {
|
|
29550
|
+
console.error(`${PLUGIN} is disabled`);
|
|
29551
|
+
};
|
|
29552
|
+
class Object3DHelperController extends Controller$7 {
|
|
29510
29553
|
constructor(five) {
|
|
29511
|
-
super();
|
|
29554
|
+
super(five);
|
|
29512
29555
|
Object.defineProperty(this, "version", {
|
|
29513
29556
|
enumerable: true,
|
|
29514
29557
|
configurable: true,
|
|
@@ -29521,15 +29564,80 @@ void main() {
|
|
|
29521
29564
|
writable: true,
|
|
29522
29565
|
value: PLUGIN_NAME
|
|
29523
29566
|
});
|
|
29524
|
-
Object.defineProperty(this, "
|
|
29567
|
+
Object.defineProperty(this, "state", {
|
|
29525
29568
|
enumerable: true,
|
|
29526
29569
|
configurable: true,
|
|
29527
29570
|
writable: true,
|
|
29528
|
-
value:
|
|
29571
|
+
value: {
|
|
29572
|
+
visible: true,
|
|
29573
|
+
enabled: true,
|
|
29574
|
+
disposed: false,
|
|
29575
|
+
}
|
|
29576
|
+
});
|
|
29577
|
+
Object.defineProperty(this, "objectHelperMap", {
|
|
29578
|
+
enumerable: true,
|
|
29579
|
+
configurable: true,
|
|
29580
|
+
writable: true,
|
|
29581
|
+
value: new Map()
|
|
29529
29582
|
});
|
|
29530
29583
|
this.five = five;
|
|
29531
29584
|
Object.assign(window, { [`__${PLUGIN_NAME.toUpperCase()}_DEBUG__`]: this });
|
|
29532
29585
|
}
|
|
29586
|
+
/**
|
|
29587
|
+
* @description Show guide line
|
|
29588
|
+
*/
|
|
29589
|
+
async show(options) {
|
|
29590
|
+
this.setState({ visible: true }, options);
|
|
29591
|
+
}
|
|
29592
|
+
/**
|
|
29593
|
+
* @description Hide guide line
|
|
29594
|
+
*/
|
|
29595
|
+
async hide(options) {
|
|
29596
|
+
this.setState({ visible: false }, options);
|
|
29597
|
+
}
|
|
29598
|
+
/**
|
|
29599
|
+
* @description Enable
|
|
29600
|
+
*/
|
|
29601
|
+
enable(options) {
|
|
29602
|
+
this.setState({ enabled: true }, options);
|
|
29603
|
+
}
|
|
29604
|
+
/**
|
|
29605
|
+
* @description Disable
|
|
29606
|
+
*/
|
|
29607
|
+
disable(options) {
|
|
29608
|
+
this.setState({ enabled: false }, options);
|
|
29609
|
+
}
|
|
29610
|
+
/**
|
|
29611
|
+
* @description Dispose
|
|
29612
|
+
*/
|
|
29613
|
+
dispose() {
|
|
29614
|
+
this.setState({ disposed: true });
|
|
29615
|
+
}
|
|
29616
|
+
setState(state, options) {
|
|
29617
|
+
if (this.state.disposed)
|
|
29618
|
+
return disposedErrorLog();
|
|
29619
|
+
if (!this.state.enabled) {
|
|
29620
|
+
// when plugin is disabled, only can change enabled or disposed to true
|
|
29621
|
+
if (state.enabled !== true && state.disposed !== true)
|
|
29622
|
+
return disableErrorLog();
|
|
29623
|
+
}
|
|
29624
|
+
const prevState = Object.assign({}, this.state);
|
|
29625
|
+
this.state = Object.assign(Object.assign({}, this.state), state);
|
|
29626
|
+
if (state.disposed !== undefined && state.disposed !== prevState.disposed) {
|
|
29627
|
+
if (state.disposed)
|
|
29628
|
+
this.handleDispose();
|
|
29629
|
+
}
|
|
29630
|
+
if (state.visible !== undefined && state.visible !== prevState.visible) {
|
|
29631
|
+
this.handleVisible(state.visible);
|
|
29632
|
+
}
|
|
29633
|
+
if (state.enabled !== undefined && state.enabled !== prevState.enabled) {
|
|
29634
|
+
this.handleEnable(state.enabled);
|
|
29635
|
+
}
|
|
29636
|
+
this.hooks.emit('stateChange', { state: this.state, prevState });
|
|
29637
|
+
}
|
|
29638
|
+
getObject3DHelper(object3D) {
|
|
29639
|
+
return this.objectHelperMap.get(object3D);
|
|
29640
|
+
}
|
|
29533
29641
|
/**
|
|
29534
29642
|
* @description 添加 helper
|
|
29535
29643
|
* @param { THREE.Object3D } object3D 要添加helper的物体
|
|
@@ -29539,6 +29647,12 @@ void main() {
|
|
|
29539
29647
|
*/
|
|
29540
29648
|
addObject3DHelper(object3D, config = {}) {
|
|
29541
29649
|
var _a;
|
|
29650
|
+
if (this.objectHelperMap.has(object3D)) {
|
|
29651
|
+
console.warn(`Object3DHelperPlugin: object3D ${object3D.name} already has helper`);
|
|
29652
|
+
return;
|
|
29653
|
+
}
|
|
29654
|
+
const helper = new Object3DHelper();
|
|
29655
|
+
this.objectHelperMap.set(object3D, helper);
|
|
29542
29656
|
const container = (_a = this.five.getElement()) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
29543
29657
|
const camera = this.five.camera;
|
|
29544
29658
|
// 创建空的helperGroup
|
|
@@ -29548,7 +29662,7 @@ void main() {
|
|
|
29548
29662
|
if (moveHelper) {
|
|
29549
29663
|
const moveHelper = new MoveHelper(object3D);
|
|
29550
29664
|
const controllerWrapper = new ControllerWrapper(this.five, MoveController, object3D, moveHelper);
|
|
29551
|
-
|
|
29665
|
+
helper.addControllers({ moveController: controllerWrapper.helperController });
|
|
29552
29666
|
}
|
|
29553
29667
|
if (rotateHelper) {
|
|
29554
29668
|
let angleTipsParams;
|
|
@@ -29556,13 +29670,13 @@ void main() {
|
|
|
29556
29670
|
angleTipsParams = { container };
|
|
29557
29671
|
const rotateHelper = new RotateHelper(object3D, angleTipsParams);
|
|
29558
29672
|
const controllerWrapper = new ControllerWrapper(this.five, RotateController, object3D, rotateHelper);
|
|
29559
|
-
|
|
29673
|
+
helper.addControllers({ rotateController: controllerWrapper.helperController });
|
|
29560
29674
|
}
|
|
29561
29675
|
if (scaleHelper) {
|
|
29562
29676
|
if (container) {
|
|
29563
29677
|
const scaleHelper = new RectangleScaleHelper(object3D, container, camera, this.five.scene);
|
|
29564
29678
|
const controllerWrapper = new ControllerWrapper(this.five, CSS3DScaleController, object3D, scaleHelper);
|
|
29565
|
-
|
|
29679
|
+
helper.addControllers({ scaleController: controllerWrapper.helperController });
|
|
29566
29680
|
}
|
|
29567
29681
|
}
|
|
29568
29682
|
// if (mergeConfig.outlineHelper) {
|
|
@@ -29572,6 +29686,54 @@ void main() {
|
|
|
29572
29686
|
// }
|
|
29573
29687
|
// this.five.scene.add(helperGroup)
|
|
29574
29688
|
}
|
|
29689
|
+
removeObject3DHelper(object3D) {
|
|
29690
|
+
const helper = this.objectHelperMap.get(object3D);
|
|
29691
|
+
if (!helper)
|
|
29692
|
+
return;
|
|
29693
|
+
this.objectHelperMap.delete(object3D);
|
|
29694
|
+
helper.dispose();
|
|
29695
|
+
}
|
|
29696
|
+
handleEnable(enabled, userAction = true) {
|
|
29697
|
+
console.log({ enabled });
|
|
29698
|
+
if (enabled) {
|
|
29699
|
+
this.everyHelperDo((helper) => helper.enable());
|
|
29700
|
+
this.hooks.emit('enable', { userAction });
|
|
29701
|
+
}
|
|
29702
|
+
else {
|
|
29703
|
+
this.everyHelperDo((helper) => helper.disable());
|
|
29704
|
+
this.hooks.emit('disable', { userAction });
|
|
29705
|
+
}
|
|
29706
|
+
this.state.enabled = enabled;
|
|
29707
|
+
}
|
|
29708
|
+
handleVisible(visible, userAction = true) {
|
|
29709
|
+
console.log({ visible });
|
|
29710
|
+
if (visible) {
|
|
29711
|
+
this.everyHelperDo((helper) => helper.show());
|
|
29712
|
+
this.actionIfStateIsEnabled(() => this.hooks.emit('show', { userAction }));
|
|
29713
|
+
}
|
|
29714
|
+
else {
|
|
29715
|
+
this.everyHelperDo((helper) => helper.hide());
|
|
29716
|
+
this.actionIfStateIsEnabled(() => this.hooks.emit('hide', { userAction }));
|
|
29717
|
+
}
|
|
29718
|
+
this.state.visible = visible;
|
|
29719
|
+
}
|
|
29720
|
+
handleDispose() {
|
|
29721
|
+
this.everyHelperDo((helper) => helper.dispose());
|
|
29722
|
+
}
|
|
29723
|
+
everyHelperDo(func) {
|
|
29724
|
+
this.objectHelperMap.forEach((helper) => {
|
|
29725
|
+
if (helper)
|
|
29726
|
+
func(helper);
|
|
29727
|
+
});
|
|
29728
|
+
}
|
|
29729
|
+
actionIfStateIsEnabled(func, options) {
|
|
29730
|
+
if (this.state.enabled)
|
|
29731
|
+
return func();
|
|
29732
|
+
else {
|
|
29733
|
+
if (options === null || options === void 0 ? void 0 : options.warnLog)
|
|
29734
|
+
disableWarnLog();
|
|
29735
|
+
}
|
|
29736
|
+
}
|
|
29575
29737
|
}
|
|
29576
29738
|
|
|
29577
29739
|
const Object3DHelperPlugin = (five) => new Object3DHelperController(five);
|