@realsee/dnalogel 2.1.0-alpha.3 → 2.1.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/CSS3DRenderPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/CameraMovementPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/CameraMovementPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/CruisePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/CruisePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/CruisePlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/GuideLinePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/GuideLinePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelChassisCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelEntryDoorGuidePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelItemLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelRoomLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelTVVideoPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/ModelViewPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/ModelViewPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/Object3DHelperPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/Object3DHelperPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/Object3DHelperPlugin/index.js +224 -60
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCompassPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoCompassPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoCursorRaycasterPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoDoorLabelPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoMeasurePlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoMeasurePlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoRulerPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoRulerPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoRulerProPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoRulerProPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoSpatialTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoTagPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/PanoTagPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/PanoTagPlugin/index.d.ts +1 -0
- package/dist/PanoTagPlugin/index.js +97 -78
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/floorplan/MapviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/floorplan/ModelFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/floorplan/PanoFloorplanRadarPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/dist/floorplan/TopviewFloorplanPlugin/Object3DHelperPlugin/typings.d.ts +24 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/index.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/index.es.js +262 -110
- package/dist/index.js +297 -145
- package/dist/index.umd.js +297 -145
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CruisePluginController.html +14 -14
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/classes/Object3DHelperController.html +14 -7
- package/docs/classes/PanoTagPluginController.html +43 -43
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +15 -0
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/DimensionType.html +1 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/LinkType.html +1 -0
- package/docs/enums/PointType.html +1 -0
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +7 -7
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +6 -6
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +1 -1
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
- package/docs/interfaces/FloorplanServerEntrance.html +7 -7
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +1 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/ModelViewPluginExportType.html +1 -1
- package/docs/interfaces/Object3DHelperState.html +1 -1
- package/docs/interfaces/OpenParameter.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +1 -1
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginState.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
- package/docs/interfaces/Point.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -1
- package/docs/interfaces/RoomInfo.html +1 -1
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +5 -5
- package/docs/interfaces/TagConfig.html +11 -0
- package/docs/interfaces/Tags.html +5 -0
- package/docs/modules.html +25 -17
- package/libs/Object3DHelperPlugin/Controller.d.ts +44 -4
- package/libs/Object3DHelperPlugin/Controller.js +136 -7
- package/libs/Object3DHelperPlugin/typings.d.ts +24 -0
- package/libs/Object3DHelperPlugin/typings.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -2
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +2 -2
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +9 -9
- package/libs/PanoTagPlugin/Components/Tag/MediaPanel.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +172 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +12 -12
- package/libs/PanoTagPlugin/Components/TagWrapper.js +9 -1
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/PanoTagPlugin/index.d.ts +1 -0
- package/libs/PanoTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/mocks/mock1.js +1 -1
- package/libs/PanoTagPlugin/mocks/mock6.js +1 -1
- package/libs/PanoTagPlugin/tag.config.js +1 -1
- package/libs/PanoTagPlugin/typings/tag.d.ts +6 -3
- package/libs/PanoTagPlugin/typings/tag.js +1 -1
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +4 -3
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +8 -7
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +17 -1
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +9 -22
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +3 -0
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +17 -17
- package/libs/shared-utils/Object3DHelper/index.js +0 -2
- package/package.json +1 -1
|
@@ -256,17 +256,17 @@ function resizeObserver(func, element) {
|
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
|
|
259
|
+
exports.DimensionType = void 0;
|
|
260
260
|
(function (DimensionType) {
|
|
261
261
|
DimensionType["Two"] = "2D";
|
|
262
262
|
DimensionType["Three"] = "3D";
|
|
263
|
-
})(DimensionType || (DimensionType = {}));
|
|
264
|
-
|
|
263
|
+
})(exports.DimensionType || (exports.DimensionType = {}));
|
|
264
|
+
exports.PointType = void 0;
|
|
265
265
|
(function (PointType) {
|
|
266
266
|
PointType["PointTag"] = "PointTag";
|
|
267
267
|
PointType["PlaneTag"] = "PlaneTag";
|
|
268
|
-
})(PointType || (PointType = {}));
|
|
269
|
-
|
|
268
|
+
})(exports.PointType || (exports.PointType = {}));
|
|
269
|
+
exports.ContentType = void 0;
|
|
270
270
|
(function (ContentType) {
|
|
271
271
|
/** 音频标签 */
|
|
272
272
|
ContentType["Audio"] = "Audio";
|
|
@@ -279,15 +279,15 @@ var ContentType;
|
|
|
279
279
|
/** 营销标签 */
|
|
280
280
|
ContentType["Marketing"] = "Marketing";
|
|
281
281
|
/** 图片视频贴片 */
|
|
282
|
-
ContentType["
|
|
282
|
+
ContentType["MediaPlane"] = "MediaPlane";
|
|
283
283
|
/** 其他/自定义标签 */
|
|
284
284
|
ContentType["Custom"] = "Custom";
|
|
285
|
-
})(ContentType || (ContentType = {}));
|
|
286
|
-
|
|
285
|
+
})(exports.ContentType || (exports.ContentType = {}));
|
|
286
|
+
exports.LinkType = void 0;
|
|
287
287
|
(function (LinkType) {
|
|
288
288
|
LinkType["VrLink"] = "vr";
|
|
289
289
|
LinkType["NormalLink"] = "normal";
|
|
290
|
-
})(LinkType || (LinkType = {}));
|
|
290
|
+
})(exports.LinkType || (exports.LinkType = {}));
|
|
291
291
|
|
|
292
292
|
// uuid
|
|
293
293
|
function S4() {
|
|
@@ -483,7 +483,7 @@ function add_css$j(target) {
|
|
|
483
483
|
internal.append_styles(target, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
|
|
484
484
|
}
|
|
485
485
|
|
|
486
|
-
// (
|
|
486
|
+
// (23:0) {#if visible}
|
|
487
487
|
function create_if_block$f(ctx) {
|
|
488
488
|
let div;
|
|
489
489
|
let div_style_value;
|
|
@@ -648,7 +648,7 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
|
648
648
|
let { blurRadius } = $$props;
|
|
649
649
|
let { spreadRadius } = $$props;
|
|
650
650
|
let { opacity = 0.15 } = $$props;
|
|
651
|
-
let { zIndex =
|
|
651
|
+
let { zIndex = undefined } = $$props;
|
|
652
652
|
|
|
653
653
|
$$self.$$set = $$props => {
|
|
654
654
|
if ('inDelay' in $$props) $$invalidate(0, inDelay = $$props.inDelay);
|
|
@@ -970,8 +970,7 @@ function create_if_block$e(ctx) {
|
|
|
970
970
|
props: {
|
|
971
971
|
center: true,
|
|
972
972
|
blurRadius: 9,
|
|
973
|
-
spreadRadius: 3
|
|
974
|
-
zIndex: -1
|
|
973
|
+
spreadRadius: 3
|
|
975
974
|
}
|
|
976
975
|
});
|
|
977
976
|
|
|
@@ -3309,8 +3308,7 @@ function create_if_block$7(ctx) {
|
|
|
3309
3308
|
props: {
|
|
3310
3309
|
center: true,
|
|
3311
3310
|
blurRadius: 15,
|
|
3312
|
-
spreadRadius: 6
|
|
3313
|
-
zIndex: -1
|
|
3311
|
+
spreadRadius: 6
|
|
3314
3312
|
}
|
|
3315
3313
|
});
|
|
3316
3314
|
|
|
@@ -3892,13 +3890,13 @@ class AudioTag extends internal.SvelteComponent {
|
|
|
3892
3890
|
}
|
|
3893
3891
|
}
|
|
3894
3892
|
|
|
3895
|
-
/* src/PanoTagPlugin/Components/Tag/
|
|
3893
|
+
/* src/PanoTagPlugin/Components/Tag/MediaPlane.svelte generated by Svelte v3.50.1 */
|
|
3896
3894
|
|
|
3897
3895
|
function add_css$8(target) {
|
|
3898
3896
|
internal.append_styles(target, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
3899
3897
|
}
|
|
3900
3898
|
|
|
3901
|
-
// (
|
|
3899
|
+
// (18:0) {#if tag.state && mediaData}
|
|
3902
3900
|
function create_if_block$5(ctx) {
|
|
3903
3901
|
let div;
|
|
3904
3902
|
let media;
|
|
@@ -3906,8 +3904,10 @@ function create_if_block$5(ctx) {
|
|
|
3906
3904
|
|
|
3907
3905
|
media = new Media({
|
|
3908
3906
|
props: {
|
|
3909
|
-
unfolded: /*unfolded*/ ctx[
|
|
3910
|
-
mediaData: /*mediaData*/ ctx[
|
|
3907
|
+
unfolded: /*unfolded*/ ctx[3],
|
|
3908
|
+
mediaData: /*mediaData*/ ctx[2],
|
|
3909
|
+
objectFit: /*objectFit*/ ctx[1],
|
|
3910
|
+
enableCarousel: true,
|
|
3911
3911
|
inDelay: 500,
|
|
3912
3912
|
duration: 500
|
|
3913
3913
|
}
|
|
@@ -3926,8 +3926,9 @@ function create_if_block$5(ctx) {
|
|
|
3926
3926
|
},
|
|
3927
3927
|
p(ctx, dirty) {
|
|
3928
3928
|
const media_changes = {};
|
|
3929
|
-
if (dirty & /*unfolded*/
|
|
3930
|
-
if (dirty & /*mediaData*/
|
|
3929
|
+
if (dirty & /*unfolded*/ 8) media_changes.unfolded = /*unfolded*/ ctx[3];
|
|
3930
|
+
if (dirty & /*mediaData*/ 4) media_changes.mediaData = /*mediaData*/ ctx[2];
|
|
3931
|
+
if (dirty & /*objectFit*/ 2) media_changes.objectFit = /*objectFit*/ ctx[1];
|
|
3931
3932
|
media.$set(media_changes);
|
|
3932
3933
|
},
|
|
3933
3934
|
i(local) {
|
|
@@ -3949,7 +3950,7 @@ function create_if_block$5(ctx) {
|
|
|
3949
3950
|
function create_fragment$8(ctx) {
|
|
3950
3951
|
let if_block_anchor;
|
|
3951
3952
|
let current;
|
|
3952
|
-
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[
|
|
3953
|
+
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[2] && create_if_block$5(ctx);
|
|
3953
3954
|
|
|
3954
3955
|
return {
|
|
3955
3956
|
c() {
|
|
@@ -3962,11 +3963,11 @@ function create_fragment$8(ctx) {
|
|
|
3962
3963
|
current = true;
|
|
3963
3964
|
},
|
|
3964
3965
|
p(ctx, [dirty]) {
|
|
3965
|
-
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[
|
|
3966
|
+
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[2]) {
|
|
3966
3967
|
if (if_block) {
|
|
3967
3968
|
if_block.p(ctx, dirty);
|
|
3968
3969
|
|
|
3969
|
-
if (dirty & /*tag, mediaData*/
|
|
3970
|
+
if (dirty & /*tag, mediaData*/ 5) {
|
|
3970
3971
|
internal.transition_in(if_block, 1);
|
|
3971
3972
|
}
|
|
3972
3973
|
} else {
|
|
@@ -4004,6 +4005,8 @@ function create_fragment$8(ctx) {
|
|
|
4004
4005
|
function instance$8($$self, $$props, $$invalidate) {
|
|
4005
4006
|
let unfolded;
|
|
4006
4007
|
let mediaData;
|
|
4008
|
+
let objectFit;
|
|
4009
|
+
var _a;
|
|
4007
4010
|
let { tag } = $$props;
|
|
4008
4011
|
|
|
4009
4012
|
$$self.$$set = $$props => {
|
|
@@ -4012,18 +4015,26 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
4012
4015
|
|
|
4013
4016
|
$$self.$$.update = () => {
|
|
4014
4017
|
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
4015
|
-
$$invalidate(
|
|
4018
|
+
$$invalidate(3, unfolded = tag.state ? tag.state.unfolded : false);
|
|
4016
4019
|
}
|
|
4017
4020
|
|
|
4018
4021
|
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
4019
|
-
$$invalidate(
|
|
4022
|
+
$$invalidate(2, mediaData = tag.data.mediaData);
|
|
4023
|
+
}
|
|
4024
|
+
|
|
4025
|
+
if ($$self.$$.dirty & /*tag, _a*/ 17) {
|
|
4026
|
+
$$invalidate(1, objectFit = $$invalidate(4, _a = tag.data.objectFit) !== null && _a !== void 0
|
|
4027
|
+
? _a
|
|
4028
|
+
: (() => {
|
|
4029
|
+
if (tag.data.adaptationMode === 'stretch') return 'cover'; else if (tag.data.adaptationMode === 'proportional') return 'contain'; else return undefined;
|
|
4030
|
+
})());
|
|
4020
4031
|
}
|
|
4021
4032
|
};
|
|
4022
4033
|
|
|
4023
|
-
return [tag, mediaData, unfolded];
|
|
4034
|
+
return [tag, objectFit, mediaData, unfolded, _a];
|
|
4024
4035
|
}
|
|
4025
4036
|
|
|
4026
|
-
class
|
|
4037
|
+
class MediaPlane extends internal.SvelteComponent {
|
|
4027
4038
|
constructor(options) {
|
|
4028
4039
|
super();
|
|
4029
4040
|
internal.init(this, options, instance$8, create_fragment$8, internal.safe_not_equal, { tag: 0 }, add_css$8);
|
|
@@ -4033,7 +4044,7 @@ class MediaPanel extends internal.SvelteComponent {
|
|
|
4033
4044
|
/* src/PanoTagPlugin/Components/Tag/LinkTag.svelte generated by Svelte v3.50.1 */
|
|
4034
4045
|
|
|
4035
4046
|
function add_css$7(target) {
|
|
4036
|
-
internal.append_styles(target, "svelte-
|
|
4047
|
+
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)}}");
|
|
4037
4048
|
}
|
|
4038
4049
|
|
|
4039
4050
|
// (14:52)
|
|
@@ -4061,7 +4072,7 @@ function create_if_block_1$3(ctx) {
|
|
|
4061
4072
|
internal.create_component(shadow.$$.fragment);
|
|
4062
4073
|
t = internal.space();
|
|
4063
4074
|
div = internal.element("div");
|
|
4064
|
-
internal.attr(div, "class", "link svelte-
|
|
4075
|
+
internal.attr(div, "class", "link svelte-135cbxk");
|
|
4065
4076
|
},
|
|
4066
4077
|
m(target, anchor) {
|
|
4067
4078
|
internal.mount_component(shadow, target, anchor);
|
|
@@ -4119,9 +4130,9 @@ function create_if_block$4(ctx) {
|
|
|
4119
4130
|
div1 = internal.element("div");
|
|
4120
4131
|
t2 = internal.space();
|
|
4121
4132
|
div2 = internal.element("div");
|
|
4122
|
-
internal.attr(div0, "class", "arrow0 svelte-
|
|
4123
|
-
internal.attr(div1, "class", "arrow1 svelte-
|
|
4124
|
-
internal.attr(div2, "class", "arrow2 svelte-
|
|
4133
|
+
internal.attr(div0, "class", "arrow0 svelte-135cbxk");
|
|
4134
|
+
internal.attr(div1, "class", "arrow1 svelte-135cbxk");
|
|
4135
|
+
internal.attr(div2, "class", "arrow2 svelte-135cbxk");
|
|
4125
4136
|
},
|
|
4126
4137
|
m(target, anchor) {
|
|
4127
4138
|
internal.mount_component(shadow, target, anchor);
|
|
@@ -4171,8 +4182,8 @@ function create_fragment$7(ctx) {
|
|
|
4171
4182
|
const if_blocks = [];
|
|
4172
4183
|
|
|
4173
4184
|
function select_block_type(ctx, dirty) {
|
|
4174
|
-
if (/*data*/ ctx[0].linkType === LinkType.VrLink) return 0;
|
|
4175
|
-
if (/*data*/ ctx[0].linkType === LinkType.NormalLink) return 1;
|
|
4185
|
+
if (/*data*/ ctx[0].linkType === exports.LinkType.VrLink) return 0;
|
|
4186
|
+
if (/*data*/ ctx[0].linkType === exports.LinkType.NormalLink) return 1;
|
|
4176
4187
|
return -1;
|
|
4177
4188
|
}
|
|
4178
4189
|
|
|
@@ -4205,10 +4216,10 @@ function create_fragment$7(ctx) {
|
|
|
4205
4216
|
t1 = internal.space();
|
|
4206
4217
|
div1 = internal.element("div");
|
|
4207
4218
|
t2 = internal.text(t2_value);
|
|
4208
|
-
internal.attr(div0, "class", "icon svelte-
|
|
4209
|
-
internal.attr(div1, "class", "text svelte-
|
|
4210
|
-
internal.attr(div2, "class", "text-wrapper svelte-
|
|
4211
|
-
internal.attr(div3, "class", "wrapper svelte-
|
|
4219
|
+
internal.attr(div0, "class", "icon svelte-135cbxk");
|
|
4220
|
+
internal.attr(div1, "class", "text svelte-135cbxk");
|
|
4221
|
+
internal.attr(div2, "class", "text-wrapper svelte-135cbxk");
|
|
4222
|
+
internal.attr(div3, "class", "wrapper svelte-135cbxk");
|
|
4212
4223
|
},
|
|
4213
4224
|
m(target, anchor) {
|
|
4214
4225
|
internal.insert(target, div3, anchor);
|
|
@@ -4432,37 +4443,37 @@ function add_css$5(target) {
|
|
|
4432
4443
|
|
|
4433
4444
|
// (67:59)
|
|
4434
4445
|
function create_if_block_6(ctx) {
|
|
4435
|
-
let
|
|
4446
|
+
let mediaplane;
|
|
4436
4447
|
let current;
|
|
4437
4448
|
|
|
4438
|
-
|
|
4449
|
+
mediaplane = new MediaPlane({
|
|
4439
4450
|
props: { tag: noTypecheck(/*tag*/ ctx[1]) }
|
|
4440
4451
|
});
|
|
4441
4452
|
|
|
4442
4453
|
return {
|
|
4443
4454
|
c() {
|
|
4444
|
-
internal.create_component(
|
|
4455
|
+
internal.create_component(mediaplane.$$.fragment);
|
|
4445
4456
|
},
|
|
4446
4457
|
m(target, anchor) {
|
|
4447
|
-
internal.mount_component(
|
|
4458
|
+
internal.mount_component(mediaplane, target, anchor);
|
|
4448
4459
|
current = true;
|
|
4449
4460
|
},
|
|
4450
4461
|
p(ctx, dirty) {
|
|
4451
|
-
const
|
|
4452
|
-
if (dirty & /*tag*/ 2)
|
|
4453
|
-
|
|
4462
|
+
const mediaplane_changes = {};
|
|
4463
|
+
if (dirty & /*tag*/ 2) mediaplane_changes.tag = noTypecheck(/*tag*/ ctx[1]);
|
|
4464
|
+
mediaplane.$set(mediaplane_changes);
|
|
4454
4465
|
},
|
|
4455
4466
|
i(local) {
|
|
4456
4467
|
if (current) return;
|
|
4457
|
-
internal.transition_in(
|
|
4468
|
+
internal.transition_in(mediaplane.$$.fragment, local);
|
|
4458
4469
|
current = true;
|
|
4459
4470
|
},
|
|
4460
4471
|
o(local) {
|
|
4461
|
-
internal.transition_out(
|
|
4472
|
+
internal.transition_out(mediaplane.$$.fragment, local);
|
|
4462
4473
|
current = false;
|
|
4463
4474
|
},
|
|
4464
4475
|
d(detaching) {
|
|
4465
|
-
internal.destroy_component(
|
|
4476
|
+
internal.destroy_component(mediaplane, detaching);
|
|
4466
4477
|
}
|
|
4467
4478
|
};
|
|
4468
4479
|
}
|
|
@@ -4718,12 +4729,12 @@ function create_fragment$5(ctx) {
|
|
|
4718
4729
|
|
|
4719
4730
|
function select_block_type(ctx, dirty) {
|
|
4720
4731
|
if (/*tag*/ ctx[1].element) return 0;
|
|
4721
|
-
if (/*tag*/ ctx[1].contentType === ContentType.Text) return 1;
|
|
4722
|
-
if (/*tag*/ ctx[1].contentType === ContentType.ImageText) return 2;
|
|
4723
|
-
if (/*tag*/ ctx[1].contentType === ContentType.Audio) return 3;
|
|
4724
|
-
if (/*tag*/ ctx[1].contentType === ContentType.Marketing) return 4;
|
|
4725
|
-
if (/*tag*/ ctx[1].contentType === ContentType.Link) return 5;
|
|
4726
|
-
if (/*tag*/ ctx[1].contentType === ContentType.
|
|
4732
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.Text) return 1;
|
|
4733
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.ImageText) return 2;
|
|
4734
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.Audio) return 3;
|
|
4735
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.Marketing) return 4;
|
|
4736
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.Link) return 5;
|
|
4737
|
+
if (/*tag*/ ctx[1].contentType === exports.ContentType.MediaPlane) return 6;
|
|
4727
4738
|
return -1;
|
|
4728
4739
|
}
|
|
4729
4740
|
|
|
@@ -5175,7 +5186,7 @@ function add_css$2(target) {
|
|
|
5175
5186
|
function create_if_block$1(ctx) {
|
|
5176
5187
|
let if_block_anchor;
|
|
5177
5188
|
let current;
|
|
5178
|
-
let if_block = /*tag*/ ctx[0].contentType !== ContentType.Link && create_if_block_1$1(ctx);
|
|
5189
|
+
let if_block = /*tag*/ ctx[0].contentType !== exports.ContentType.Link && create_if_block_1$1(ctx);
|
|
5179
5190
|
|
|
5180
5191
|
return {
|
|
5181
5192
|
c() {
|
|
@@ -5188,7 +5199,7 @@ function create_if_block$1(ctx) {
|
|
|
5188
5199
|
current = true;
|
|
5189
5200
|
},
|
|
5190
5201
|
p(ctx, dirty) {
|
|
5191
|
-
if (/*tag*/ ctx[0].contentType !== ContentType.Link) {
|
|
5202
|
+
if (/*tag*/ ctx[0].contentType !== exports.ContentType.Link) {
|
|
5192
5203
|
if (if_block) {
|
|
5193
5204
|
if_block.p(ctx, dirty);
|
|
5194
5205
|
|
|
@@ -5460,7 +5471,7 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
|
5460
5471
|
? void 0
|
|
5461
5472
|
: _a.foldedPointDelay) !== null && _b !== void 0
|
|
5462
5473
|
? _b
|
|
5463
|
-
: tag.contentType === ContentType.Marketing
|
|
5474
|
+
: tag.contentType === exports.ContentType.Marketing
|
|
5464
5475
|
? 600
|
|
5465
5476
|
: undefined);
|
|
5466
5477
|
}
|
|
@@ -5584,8 +5595,8 @@ function create_fragment$1(ctx) {
|
|
|
5584
5595
|
let t;
|
|
5585
5596
|
let div_data_id_value;
|
|
5586
5597
|
let current;
|
|
5587
|
-
let if_block0 = /*tag*/ ctx[1].dimensionType === DimensionType.Two && create_if_block_1(ctx);
|
|
5588
|
-
let if_block1 = /*tag*/ ctx[1].pointType === PointType.PointTag && /*tag*/ ctx[1].style?.point?.style !== 'noPoint' && create_if_block(ctx);
|
|
5598
|
+
let if_block0 = /*tag*/ ctx[1].dimensionType === exports.DimensionType.Two && create_if_block_1(ctx);
|
|
5599
|
+
let if_block1 = /*tag*/ ctx[1].pointType === exports.PointType.PointTag && /*tag*/ ctx[1].style?.point?.style !== 'noPoint' && create_if_block(ctx);
|
|
5589
5600
|
|
|
5590
5601
|
return {
|
|
5591
5602
|
c() {
|
|
@@ -5609,7 +5620,7 @@ function create_fragment$1(ctx) {
|
|
|
5609
5620
|
current = true;
|
|
5610
5621
|
},
|
|
5611
5622
|
p(ctx, [dirty]) {
|
|
5612
|
-
if (/*tag*/ ctx[1].dimensionType === DimensionType.Two) {
|
|
5623
|
+
if (/*tag*/ ctx[1].dimensionType === exports.DimensionType.Two) {
|
|
5613
5624
|
if (if_block0) {
|
|
5614
5625
|
if_block0.p(ctx, dirty);
|
|
5615
5626
|
|
|
@@ -5632,7 +5643,7 @@ function create_fragment$1(ctx) {
|
|
|
5632
5643
|
internal.check_outros();
|
|
5633
5644
|
}
|
|
5634
5645
|
|
|
5635
|
-
if (/*tag*/ ctx[1].pointType === PointType.PointTag && /*tag*/ ctx[1].style?.point?.style !== 'noPoint') {
|
|
5646
|
+
if (/*tag*/ ctx[1].pointType === exports.PointType.PointTag && /*tag*/ ctx[1].style?.point?.style !== 'noPoint') {
|
|
5636
5647
|
if (if_block1) {
|
|
5637
5648
|
if_block1.p(ctx, dirty);
|
|
5638
5649
|
|
|
@@ -5731,6 +5742,14 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
5731
5742
|
hooks.emit('click', { event, target: 'TagPoint', tag });
|
|
5732
5743
|
};
|
|
5733
5744
|
|
|
5745
|
+
svelte.onMount(() => {
|
|
5746
|
+
hooks.emit('exposure', { id: tag.id, type: 'start' });
|
|
5747
|
+
|
|
5748
|
+
return () => {
|
|
5749
|
+
hooks.emit('exposure', { id: tag.id, type: 'end' });
|
|
5750
|
+
};
|
|
5751
|
+
});
|
|
5752
|
+
|
|
5734
5753
|
$$self.$$set = $$props => {
|
|
5735
5754
|
if ('withAnimation' in $$props) $$invalidate(0, withAnimation = $$props.withAnimation);
|
|
5736
5755
|
if ('tag' in $$props) $$invalidate(1, tag = $$props.tag);
|
|
@@ -5766,7 +5785,7 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
5766
5785
|
}
|
|
5767
5786
|
|
|
5768
5787
|
if ($$self.$$.dirty & /*tag, _e*/ 65538) {
|
|
5769
|
-
$$invalidate(7, zIndex = tag.contentType === ContentType.Link
|
|
5788
|
+
$$invalidate(7, zIndex = tag.contentType === exports.ContentType.Link
|
|
5770
5789
|
? 20
|
|
5771
5790
|
: ($$invalidate(16, _e = tag.state) === null || _e === void 0
|
|
5772
5791
|
? void 0
|
|
@@ -6070,7 +6089,7 @@ const DefaultConfig = {
|
|
|
6070
6089
|
'Any-Marketing-Any': {
|
|
6071
6090
|
unfoldedConfig: undefined,
|
|
6072
6091
|
},
|
|
6073
|
-
'3D-
|
|
6092
|
+
'3D-MediaPlane-PlaneTag': {
|
|
6074
6093
|
unfoldedConfig: {
|
|
6075
6094
|
disableFold: true,
|
|
6076
6095
|
},
|
|
@@ -6273,7 +6292,7 @@ class TagComputer extends TagCacheController {
|
|
|
6273
6292
|
}
|
|
6274
6293
|
// console.log(tag.id, '角度检测', tag, config.angleRange)
|
|
6275
6294
|
// 角度检测
|
|
6276
|
-
if (config.angleRange && tag.dimensionType === DimensionType.Three) {
|
|
6295
|
+
if (config.angleRange && tag.dimensionType === exports.DimensionType.Three) {
|
|
6277
6296
|
const visible = checkRange(this.getAngle(tag), config.angleRange);
|
|
6278
6297
|
if (visible === false)
|
|
6279
6298
|
return false;
|
|
@@ -6406,7 +6425,7 @@ class TagComputer extends TagCacheController {
|
|
|
6406
6425
|
if (observerPosition === undefined)
|
|
6407
6426
|
throw new Error(`getDistance(): observerPosition is ${observerPosition}`);
|
|
6408
6427
|
const position = (() => {
|
|
6409
|
-
if (tag.pointType === PointType.PointTag) {
|
|
6428
|
+
if (tag.pointType === exports.PointType.PointTag) {
|
|
6410
6429
|
return arrayPositionToVector3(tag === null || tag === void 0 ? void 0 : tag.position);
|
|
6411
6430
|
}
|
|
6412
6431
|
else {
|
|
@@ -6434,7 +6453,7 @@ class TagComputer extends TagCacheController {
|
|
|
6434
6453
|
if (observerPosition === undefined)
|
|
6435
6454
|
throw new Error(`getAngleRange(): observerPosition is ${observerPosition}`);
|
|
6436
6455
|
const normal = (() => {
|
|
6437
|
-
if (tag.pointType === PointType.PointTag)
|
|
6456
|
+
if (tag.pointType === exports.PointType.PointTag)
|
|
6438
6457
|
return anyPositionToVector3(tag.normal);
|
|
6439
6458
|
else
|
|
6440
6459
|
return planeNormal(tag.position);
|
|
@@ -6551,19 +6570,19 @@ class TagComputer extends TagCacheController {
|
|
|
6551
6570
|
}
|
|
6552
6571
|
// TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
|
|
6553
6572
|
filterPointTag() {
|
|
6554
|
-
return this.tags.filter((tag) => tag.pointType === PointType.PointTag);
|
|
6573
|
+
return this.tags.filter((tag) => tag.pointType === exports.PointType.PointTag);
|
|
6555
6574
|
}
|
|
6556
6575
|
filterTag2D() {
|
|
6557
|
-
return this.tags.filter((tag) => tag.dimensionType === DimensionType.Two);
|
|
6576
|
+
return this.tags.filter((tag) => tag.dimensionType === exports.DimensionType.Two);
|
|
6558
6577
|
}
|
|
6559
6578
|
filter3DPointTag() {
|
|
6560
|
-
return this.tags.filter((tag) => tag.dimensionType === DimensionType.Three && tag.pointType === PointType.PointTag);
|
|
6579
|
+
return this.tags.filter((tag) => tag.dimensionType === exports.DimensionType.Three && tag.pointType === exports.PointType.PointTag);
|
|
6561
6580
|
}
|
|
6562
6581
|
filter3DTag() {
|
|
6563
|
-
return this.tags.filter((tag) => tag.dimensionType === DimensionType.Three);
|
|
6582
|
+
return this.tags.filter((tag) => tag.dimensionType === exports.DimensionType.Three);
|
|
6564
6583
|
}
|
|
6565
6584
|
filterPlaneTag() {
|
|
6566
|
-
return this.tags.filter((tag) => tag.dimensionType === DimensionType.Three && tag.pointType === PointType.PlaneTag);
|
|
6585
|
+
return this.tags.filter((tag) => tag.dimensionType === exports.DimensionType.Three && tag.pointType === exports.PointType.PlaneTag);
|
|
6567
6586
|
}
|
|
6568
6587
|
}
|
|
6569
6588
|
|
|
@@ -7356,7 +7375,7 @@ class Controller extends CSS3DRender {
|
|
|
7356
7375
|
const CSS3DRenderPlugin = (five) => new Controller(five);
|
|
7357
7376
|
|
|
7358
7377
|
// declare const __APP_VERSION__: string
|
|
7359
|
-
const VERSION = '0.
|
|
7378
|
+
const VERSION = '0.3.3';
|
|
7360
7379
|
const PLUGIN_NAME = `DnalogelPlugin-PanoTagPlugin-${random()}@${VERSION}`;
|
|
7361
7380
|
const TAG_INITIAL_UNFOLDED = true;
|
|
7362
7381
|
const pluginFlag = (name) => `${PLUGIN_NAME}--${name}`;
|
|
@@ -7884,13 +7903,13 @@ class PanoTagPluginController extends TagComputer {
|
|
|
7884
7903
|
return;
|
|
7885
7904
|
if (!this.css3DRenderPlugin)
|
|
7886
7905
|
this.css3DRenderPlugin = CSS3DRenderPlugin(this.five);
|
|
7887
|
-
if (tag.pointType === PointType.PointTag && !tag.normal)
|
|
7906
|
+
if (tag.pointType === exports.PointType.PointTag && !tag.normal)
|
|
7888
7907
|
return console.error('updateRenderPlaneTag: 三维点标签缺少法向量!');
|
|
7889
7908
|
// 四个点
|
|
7890
|
-
const positions = tag.pointType === PointType.PlaneTag
|
|
7909
|
+
const positions = tag.pointType === exports.PointType.PlaneTag
|
|
7891
7910
|
? tag.position
|
|
7892
7911
|
: normalPositionToPositions(this.five.camera.position, arrayPositionToVector3(tag.position), arrayPositionToVector3(tag.normal));
|
|
7893
|
-
const normal = tag.pointType === PointType.PlaneTag ? planeNormal(tag.position) : arrayPositionToVector3(tag.normal);
|
|
7912
|
+
const normal = tag.pointType === exports.PointType.PlaneTag ? planeNormal(tag.position) : arrayPositionToVector3(tag.normal);
|
|
7894
7913
|
const create3DDomContainerConfig = this.getTagConfig(tag).tag3DConfig;
|
|
7895
7914
|
const domContainer = this.css3DRenderPlugin.create3DDomContainer(positions, create3DDomContainerConfig);
|
|
7896
7915
|
if (!domContainer)
|
|
@@ -7940,14 +7959,14 @@ class PanoTagPluginController extends TagComputer {
|
|
|
7940
7959
|
// 3D 转 2D 的时候要销毁 3D container
|
|
7941
7960
|
this.tags.forEach((tag) => {
|
|
7942
7961
|
var _a;
|
|
7943
|
-
if (tag.dimensionType === DimensionType.Two && tag.pointType === PointType.PointTag) {
|
|
7962
|
+
if (tag.dimensionType === exports.DimensionType.Two && tag.pointType === exports.PointType.PointTag) {
|
|
7944
7963
|
(_a = tag.tag3DContentSvelte) === null || _a === void 0 ? void 0 : _a.domContainer.dispose();
|
|
7945
7964
|
tag.tag3DContentSvelte = undefined;
|
|
7946
7965
|
}
|
|
7947
7966
|
});
|
|
7948
7967
|
for (const [id, disposer] of this.store.css3DRenderDisposer) {
|
|
7949
7968
|
const tag = this.getTagById(id);
|
|
7950
|
-
if (!tag || tag.dimensionType !== DimensionType.Three) {
|
|
7969
|
+
if (!tag || tag.dimensionType !== exports.DimensionType.Three) {
|
|
7951
7970
|
disposer === null || disposer === void 0 ? void 0 : disposer();
|
|
7952
7971
|
this.store.css3DRenderDisposer.delete(id);
|
|
7953
7972
|
}
|
|
@@ -5,8 +5,13 @@ import type { Direction, Direction4 } from '../typings';
|
|
|
5
5
|
import type { tipsDom } from '../Helper/HTML/tipsDom';
|
|
6
6
|
export declare abstract class BaseHelper<OriginObject3D extends Object3D = Object3D> extends Object3D {
|
|
7
7
|
protected originObject3D: OriginObject3D;
|
|
8
|
+
protected needsRender: () => any;
|
|
8
9
|
get helperObject(): Object3D;
|
|
9
|
-
constructor(originObject3D: OriginObject3D
|
|
10
|
+
constructor(originObject3D: OriginObject3D, config?: {
|
|
11
|
+
needsRender?: () => any;
|
|
12
|
+
});
|
|
13
|
+
show(): void;
|
|
14
|
+
hide(): void;
|
|
10
15
|
updatePosition(): void;
|
|
11
16
|
setPosition(position: Vector3): void;
|
|
12
17
|
updateMatrix4(matrix: THREE.Matrix4, origin?: THREE.Vector3): void;
|
|
@@ -15,8 +20,7 @@ export declare abstract class BaseHelper<OriginObject3D extends Object3D = Objec
|
|
|
15
20
|
helperOrigin?: THREE.Vector3;
|
|
16
21
|
}): void;
|
|
17
22
|
updateQuaternion(quaternion: THREE.Quaternion, origin?: THREE.Vector3): void;
|
|
18
|
-
abstract
|
|
19
|
-
abstract show(...args: any[]): void;
|
|
23
|
+
abstract showDraggingHelper(directions?: Direction[]): void;
|
|
20
24
|
abstract dispose(): void;
|
|
21
25
|
}
|
|
22
26
|
export declare abstract class MoveHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
@@ -35,8 +39,6 @@ export declare abstract class MoveHelperAbstract<OriginObject3D extends Object3D
|
|
|
35
39
|
line?: Object3D;
|
|
36
40
|
direction: Direction;
|
|
37
41
|
};
|
|
38
|
-
abstract hide(...directions: Direction[]): void;
|
|
39
|
-
abstract show(...directions: Direction[]): void;
|
|
40
42
|
}
|
|
41
43
|
export declare abstract class RotateHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
42
44
|
abstract xyCircle: Mesh & {
|
|
@@ -64,8 +66,7 @@ export declare abstract class RotateHelperAbstract<OriginObject3D extends Object
|
|
|
64
66
|
direction: Direction;
|
|
65
67
|
};
|
|
66
68
|
abstract angleTips?: ReturnType<typeof tipsDom>;
|
|
67
|
-
abstract
|
|
68
|
-
abstract show(direction?: Direction): void;
|
|
69
|
+
abstract showDraggingHelper(directions: Direction[]): void;
|
|
69
70
|
abstract updateAngleHelperQuaternion(): void;
|
|
70
71
|
}
|
|
71
72
|
export declare abstract class ScaleHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
@@ -7,7 +7,7 @@ export declare class MoveHelper extends MoveHelperAbstract {
|
|
|
7
7
|
yArrow: ArrowGroup;
|
|
8
8
|
zArrow: ArrowGroup;
|
|
9
9
|
constructor(originObject3D: Object3D);
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
show(): void;
|
|
11
|
+
showDraggingHelper(directions: Direction[]): void;
|
|
12
12
|
dispose(): void;
|
|
13
13
|
}
|
|
@@ -21,6 +21,7 @@ export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObj
|
|
|
21
21
|
updatePosition(): void;
|
|
22
22
|
setPosition(position: Vector3): void;
|
|
23
23
|
updateMatrix4(matrix: THREE.Matrix4): void;
|
|
24
|
+
showDraggingHelper(): void;
|
|
24
25
|
setHelperScaleMatrix4(matrix: THREE.Matrix4, params?: {
|
|
25
26
|
origin?: Vector3;
|
|
26
27
|
helperOrigin?: Vector3;
|
|
@@ -21,7 +21,8 @@ export declare class RotateHelper extends RotateHelperAbstract {
|
|
|
21
21
|
updateAngleHelperQuaternion(): void;
|
|
22
22
|
updateQuaternion(quaternion: THREE.Quaternion, origin?: THREE.Vector3): void;
|
|
23
23
|
hide(): void;
|
|
24
|
-
show(
|
|
24
|
+
show(): void;
|
|
25
|
+
showDraggingHelper(directions: Direction[]): void;
|
|
25
26
|
dispose(): void;
|
|
26
27
|
private filterRingHelper;
|
|
27
28
|
private filterAngleHelper;
|
|
@@ -31,7 +31,7 @@ export declare enum ContentType {
|
|
|
31
31
|
/** 营销标签 */
|
|
32
32
|
Marketing = "Marketing",
|
|
33
33
|
/** 图片视频贴片 */
|
|
34
|
-
|
|
34
|
+
MediaPlane = "MediaPlane",
|
|
35
35
|
/** 其他/自定义标签 */
|
|
36
36
|
Custom = "Custom"
|
|
37
37
|
}
|
|
@@ -201,9 +201,12 @@ interface ContentTypeMap {
|
|
|
201
201
|
};
|
|
202
202
|
extraData?: Object;
|
|
203
203
|
};
|
|
204
|
-
[ContentType.
|
|
204
|
+
[ContentType.MediaPlane]: {
|
|
205
205
|
enableCarousel?: boolean;
|
|
206
|
-
/**
|
|
206
|
+
/**
|
|
207
|
+
* @description stretch: 拉伸适配, proportional: 等比适配,默认值 'proportional'
|
|
208
|
+
* @deprecated replaced by objectFit
|
|
209
|
+
*/
|
|
207
210
|
adaptationMode?: 'stretch' | 'proportional';
|
|
208
211
|
/** object-fit doc {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
|
|
209
212
|
objectFit?: ObjectFit;
|