@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
|
@@ -1,15 +1,49 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
|
-
import
|
|
2
|
+
import * as BasePlugin from '../base/BasePlugin';
|
|
3
3
|
import type * as THREE from 'three';
|
|
4
4
|
import { Object3DHelper } from '../shared-utils/Object3DHelper';
|
|
5
|
-
import type { Object3DHelperState
|
|
5
|
+
import type { Object3DHelperState } from '../shared-utils/Object3DHelper/typings';
|
|
6
|
+
import type { Object3DHelperPluginEventMap, Object3DHelperPluginState } from './typings';
|
|
6
7
|
export declare const VERSION = "v1.0.0";
|
|
7
8
|
export declare const PLUGIN: string;
|
|
8
|
-
export declare class Object3DHelperController extends
|
|
9
|
+
export declare class Object3DHelperController extends BasePlugin.Controller<Object3DHelperPluginState, Object3DHelperPluginEventMap> {
|
|
9
10
|
version: string;
|
|
10
11
|
name: string;
|
|
11
|
-
|
|
12
|
+
state: Object3DHelperState;
|
|
13
|
+
objectHelperMap: Map<THREE.Object3D, Object3DHelper>;
|
|
12
14
|
constructor(five: Five);
|
|
15
|
+
/**
|
|
16
|
+
* @description Show guide line
|
|
17
|
+
*/
|
|
18
|
+
show(options?: {
|
|
19
|
+
userAction?: boolean;
|
|
20
|
+
}): Promise<void>;
|
|
21
|
+
/**
|
|
22
|
+
* @description Hide guide line
|
|
23
|
+
*/
|
|
24
|
+
hide(options?: {
|
|
25
|
+
userAction?: boolean;
|
|
26
|
+
}): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* @description Enable
|
|
29
|
+
*/
|
|
30
|
+
enable(options?: {
|
|
31
|
+
userAction?: boolean;
|
|
32
|
+
}): void;
|
|
33
|
+
/**
|
|
34
|
+
* @description Disable
|
|
35
|
+
*/
|
|
36
|
+
disable(options?: {
|
|
37
|
+
userAction?: boolean;
|
|
38
|
+
}): void;
|
|
39
|
+
/**
|
|
40
|
+
* @description Dispose
|
|
41
|
+
*/
|
|
42
|
+
dispose(): void;
|
|
43
|
+
setState(state: Partial<Object3DHelperState>, options?: {
|
|
44
|
+
userAction?: boolean;
|
|
45
|
+
} & Record<string, any>): void;
|
|
46
|
+
getObject3DHelper(object3D: THREE.Object3D): Object3DHelper;
|
|
13
47
|
/**
|
|
14
48
|
* @description 添加 helper
|
|
15
49
|
* @param { THREE.Object3D } object3D 要添加helper的物体
|
|
@@ -22,4 +56,10 @@ export declare class Object3DHelperController extends Object3DHelper implements
|
|
|
22
56
|
rotateHelper?: boolean;
|
|
23
57
|
scaleHelper?: boolean;
|
|
24
58
|
}): void;
|
|
59
|
+
removeObject3DHelper(object3D: THREE.Object3D): void;
|
|
60
|
+
private handleEnable;
|
|
61
|
+
private handleVisible;
|
|
62
|
+
private handleDispose;
|
|
63
|
+
private everyHelperDo;
|
|
64
|
+
private actionIfStateIsEnabled;
|
|
25
65
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as BasePlugin from '../base/BasePlugin';
|
|
1
2
|
import { MoveHelper, RotateHelper, RectangleScaleHelper } from '../shared-utils/Object3DHelper/Helper';
|
|
2
3
|
import { MoveController } from '../shared-utils/Object3DHelper/Controller/MoveController';
|
|
3
4
|
import { FiveControllerWrapper } from './FiveControllerWrapper';
|
|
@@ -7,9 +8,18 @@ import { CSS3DScaleController } from '../shared-utils/Object3DHelper/Controller/
|
|
|
7
8
|
export const VERSION = 'v1.0.0';
|
|
8
9
|
const PLUGIN_NAME = 'Object3DHelperPlugin';
|
|
9
10
|
export const PLUGIN = `${PLUGIN_NAME}@${VERSION}`;
|
|
10
|
-
|
|
11
|
+
const disposedErrorLog = () => {
|
|
12
|
+
console.error(`${PLUGIN} is disposed`);
|
|
13
|
+
};
|
|
14
|
+
const disableWarnLog = () => {
|
|
15
|
+
console.warn(`${PLUGIN} is disabled`);
|
|
16
|
+
};
|
|
17
|
+
const disableErrorLog = () => {
|
|
18
|
+
console.error(`${PLUGIN} is disabled`);
|
|
19
|
+
};
|
|
20
|
+
export class Object3DHelperController extends BasePlugin.Controller {
|
|
11
21
|
constructor(five) {
|
|
12
|
-
super();
|
|
22
|
+
super(five);
|
|
13
23
|
Object.defineProperty(this, "version", {
|
|
14
24
|
enumerable: true,
|
|
15
25
|
configurable: true,
|
|
@@ -22,15 +32,80 @@ export class Object3DHelperController extends Object3DHelper {
|
|
|
22
32
|
writable: true,
|
|
23
33
|
value: PLUGIN_NAME
|
|
24
34
|
});
|
|
25
|
-
Object.defineProperty(this, "
|
|
35
|
+
Object.defineProperty(this, "state", {
|
|
26
36
|
enumerable: true,
|
|
27
37
|
configurable: true,
|
|
28
38
|
writable: true,
|
|
29
|
-
value:
|
|
39
|
+
value: {
|
|
40
|
+
visible: true,
|
|
41
|
+
enabled: true,
|
|
42
|
+
disposed: false,
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(this, "objectHelperMap", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
configurable: true,
|
|
48
|
+
writable: true,
|
|
49
|
+
value: new Map()
|
|
30
50
|
});
|
|
31
51
|
this.five = five;
|
|
32
52
|
Object.assign(window, { [`__${PLUGIN_NAME.toUpperCase()}_DEBUG__`]: this });
|
|
33
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* @description Show guide line
|
|
56
|
+
*/
|
|
57
|
+
async show(options) {
|
|
58
|
+
this.setState({ visible: true }, options);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* @description Hide guide line
|
|
62
|
+
*/
|
|
63
|
+
async hide(options) {
|
|
64
|
+
this.setState({ visible: false }, options);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @description Enable
|
|
68
|
+
*/
|
|
69
|
+
enable(options) {
|
|
70
|
+
this.setState({ enabled: true }, options);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @description Disable
|
|
74
|
+
*/
|
|
75
|
+
disable(options) {
|
|
76
|
+
this.setState({ enabled: false }, options);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* @description Dispose
|
|
80
|
+
*/
|
|
81
|
+
dispose() {
|
|
82
|
+
this.setState({ disposed: true });
|
|
83
|
+
}
|
|
84
|
+
setState(state, options) {
|
|
85
|
+
if (this.state.disposed)
|
|
86
|
+
return disposedErrorLog();
|
|
87
|
+
if (!this.state.enabled) {
|
|
88
|
+
// when plugin is disabled, only can change enabled or disposed to true
|
|
89
|
+
if (state.enabled !== true && state.disposed !== true)
|
|
90
|
+
return disableErrorLog();
|
|
91
|
+
}
|
|
92
|
+
const prevState = Object.assign({}, this.state);
|
|
93
|
+
this.state = Object.assign(Object.assign({}, this.state), state);
|
|
94
|
+
if (state.disposed !== undefined && state.disposed !== prevState.disposed) {
|
|
95
|
+
if (state.disposed)
|
|
96
|
+
this.handleDispose();
|
|
97
|
+
}
|
|
98
|
+
if (state.visible !== undefined && state.visible !== prevState.visible) {
|
|
99
|
+
this.handleVisible(state.visible);
|
|
100
|
+
}
|
|
101
|
+
if (state.enabled !== undefined && state.enabled !== prevState.enabled) {
|
|
102
|
+
this.handleEnable(state.enabled);
|
|
103
|
+
}
|
|
104
|
+
this.hooks.emit('stateChange', { state: this.state, prevState });
|
|
105
|
+
}
|
|
106
|
+
getObject3DHelper(object3D) {
|
|
107
|
+
return this.objectHelperMap.get(object3D);
|
|
108
|
+
}
|
|
34
109
|
/**
|
|
35
110
|
* @description 添加 helper
|
|
36
111
|
* @param { THREE.Object3D } object3D 要添加helper的物体
|
|
@@ -40,6 +115,12 @@ export class Object3DHelperController extends Object3DHelper {
|
|
|
40
115
|
*/
|
|
41
116
|
addObject3DHelper(object3D, config = {}) {
|
|
42
117
|
var _a;
|
|
118
|
+
if (this.objectHelperMap.has(object3D)) {
|
|
119
|
+
console.warn(`Object3DHelperPlugin: object3D ${object3D.name} already has helper`);
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
const helper = new Object3DHelper();
|
|
123
|
+
this.objectHelperMap.set(object3D, helper);
|
|
43
124
|
const container = (_a = this.five.getElement()) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
44
125
|
const camera = this.five.camera;
|
|
45
126
|
// 创建空的helperGroup
|
|
@@ -49,7 +130,7 @@ export class Object3DHelperController extends Object3DHelper {
|
|
|
49
130
|
if (moveHelper) {
|
|
50
131
|
const moveHelper = new MoveHelper(object3D);
|
|
51
132
|
const controllerWrapper = new FiveControllerWrapper(this.five, MoveController, object3D, moveHelper);
|
|
52
|
-
|
|
133
|
+
helper.addControllers({ moveController: controllerWrapper.helperController });
|
|
53
134
|
}
|
|
54
135
|
if (rotateHelper) {
|
|
55
136
|
let angleTipsParams;
|
|
@@ -57,13 +138,13 @@ export class Object3DHelperController extends Object3DHelper {
|
|
|
57
138
|
angleTipsParams = { container };
|
|
58
139
|
const rotateHelper = new RotateHelper(object3D, angleTipsParams);
|
|
59
140
|
const controllerWrapper = new FiveControllerWrapper(this.five, RotateController, object3D, rotateHelper);
|
|
60
|
-
|
|
141
|
+
helper.addControllers({ rotateController: controllerWrapper.helperController });
|
|
61
142
|
}
|
|
62
143
|
if (scaleHelper) {
|
|
63
144
|
if (container) {
|
|
64
145
|
const scaleHelper = new RectangleScaleHelper(object3D, container, camera, this.five.scene);
|
|
65
146
|
const controllerWrapper = new FiveControllerWrapper(this.five, CSS3DScaleController, object3D, scaleHelper);
|
|
66
|
-
|
|
147
|
+
helper.addControllers({ scaleController: controllerWrapper.helperController });
|
|
67
148
|
}
|
|
68
149
|
}
|
|
69
150
|
// if (mergeConfig.outlineHelper) {
|
|
@@ -73,4 +154,52 @@ export class Object3DHelperController extends Object3DHelper {
|
|
|
73
154
|
// }
|
|
74
155
|
// this.five.scene.add(helperGroup)
|
|
75
156
|
}
|
|
157
|
+
removeObject3DHelper(object3D) {
|
|
158
|
+
const helper = this.objectHelperMap.get(object3D);
|
|
159
|
+
if (!helper)
|
|
160
|
+
return;
|
|
161
|
+
this.objectHelperMap.delete(object3D);
|
|
162
|
+
helper.dispose();
|
|
163
|
+
}
|
|
164
|
+
handleEnable(enabled, userAction = true) {
|
|
165
|
+
console.log({ enabled });
|
|
166
|
+
if (enabled) {
|
|
167
|
+
this.everyHelperDo((helper) => helper.enable());
|
|
168
|
+
this.hooks.emit('enable', { userAction });
|
|
169
|
+
}
|
|
170
|
+
else {
|
|
171
|
+
this.everyHelperDo((helper) => helper.disable());
|
|
172
|
+
this.hooks.emit('disable', { userAction });
|
|
173
|
+
}
|
|
174
|
+
this.state.enabled = enabled;
|
|
175
|
+
}
|
|
176
|
+
handleVisible(visible, userAction = true) {
|
|
177
|
+
console.log({ visible });
|
|
178
|
+
if (visible) {
|
|
179
|
+
this.everyHelperDo((helper) => helper.show());
|
|
180
|
+
this.actionIfStateIsEnabled(() => this.hooks.emit('show', { userAction }));
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
this.everyHelperDo((helper) => helper.hide());
|
|
184
|
+
this.actionIfStateIsEnabled(() => this.hooks.emit('hide', { userAction }));
|
|
185
|
+
}
|
|
186
|
+
this.state.visible = visible;
|
|
187
|
+
}
|
|
188
|
+
handleDispose() {
|
|
189
|
+
this.everyHelperDo((helper) => helper.dispose());
|
|
190
|
+
}
|
|
191
|
+
everyHelperDo(func) {
|
|
192
|
+
this.objectHelperMap.forEach((helper) => {
|
|
193
|
+
if (helper)
|
|
194
|
+
func(helper);
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
actionIfStateIsEnabled(func, options) {
|
|
198
|
+
if (this.state.enabled)
|
|
199
|
+
return func();
|
|
200
|
+
else {
|
|
201
|
+
if (options === null || options === void 0 ? void 0 : options.warnLog)
|
|
202
|
+
disableWarnLog();
|
|
203
|
+
}
|
|
204
|
+
}
|
|
76
205
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface Object3DHelperPluginState {
|
|
2
|
+
enabled: boolean;
|
|
3
|
+
visible: boolean;
|
|
4
|
+
disposed: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare type Object3DHelperPluginEventMap = {
|
|
7
|
+
show: (options?: {
|
|
8
|
+
userAction?: boolean;
|
|
9
|
+
}) => void;
|
|
10
|
+
hide: (options?: {
|
|
11
|
+
userAction?: boolean;
|
|
12
|
+
}) => void;
|
|
13
|
+
enable: (options?: {
|
|
14
|
+
userAction?: boolean;
|
|
15
|
+
}) => void;
|
|
16
|
+
disable: (options?: {
|
|
17
|
+
userAction?: boolean;
|
|
18
|
+
}) => void;
|
|
19
|
+
dispose: () => void;
|
|
20
|
+
stateChange: (params: {
|
|
21
|
+
state: Object3DHelperPluginState;
|
|
22
|
+
prevState?: Object3DHelperPluginState;
|
|
23
|
+
}) => void;
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -25,7 +25,7 @@ function add_css(target) {
|
|
|
25
25
|
append_styles(target, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
// (
|
|
28
|
+
// (23:0) {#if visible}
|
|
29
29
|
function create_if_block(ctx) {
|
|
30
30
|
let div;
|
|
31
31
|
let div_style_value;
|
|
@@ -190,7 +190,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
190
190
|
let { blurRadius } = $$props;
|
|
191
191
|
let { spreadRadius } = $$props;
|
|
192
192
|
let { opacity = 0.15 } = $$props;
|
|
193
|
-
let { zIndex =
|
|
193
|
+
let { zIndex = undefined } = $$props;
|
|
194
194
|
|
|
195
195
|
$$self.$$set = $$props => {
|
|
196
196
|
if ('inDelay' in $$props) $$invalidate(0, inDelay = $$props.inDelay);
|
|
@@ -25,7 +25,7 @@ import { LinkType } from '../../typings';
|
|
|
25
25
|
import Shadow from '../Common/Shadow';
|
|
26
26
|
|
|
27
27
|
function add_css(target) {
|
|
28
|
-
append_styles(target, "svelte-
|
|
28
|
+
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)}}");
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
// (14:52)
|
|
@@ -53,7 +53,7 @@ function create_if_block_1(ctx) {
|
|
|
53
53
|
create_component(shadow.$$.fragment);
|
|
54
54
|
t = space();
|
|
55
55
|
div = element("div");
|
|
56
|
-
attr(div, "class", "link svelte-
|
|
56
|
+
attr(div, "class", "link svelte-135cbxk");
|
|
57
57
|
},
|
|
58
58
|
m(target, anchor) {
|
|
59
59
|
mount_component(shadow, target, anchor);
|
|
@@ -111,9 +111,9 @@ function create_if_block(ctx) {
|
|
|
111
111
|
div1 = element("div");
|
|
112
112
|
t2 = space();
|
|
113
113
|
div2 = element("div");
|
|
114
|
-
attr(div0, "class", "arrow0 svelte-
|
|
115
|
-
attr(div1, "class", "arrow1 svelte-
|
|
116
|
-
attr(div2, "class", "arrow2 svelte-
|
|
114
|
+
attr(div0, "class", "arrow0 svelte-135cbxk");
|
|
115
|
+
attr(div1, "class", "arrow1 svelte-135cbxk");
|
|
116
|
+
attr(div2, "class", "arrow2 svelte-135cbxk");
|
|
117
117
|
},
|
|
118
118
|
m(target, anchor) {
|
|
119
119
|
mount_component(shadow, target, anchor);
|
|
@@ -197,10 +197,10 @@ function create_fragment(ctx) {
|
|
|
197
197
|
t1 = space();
|
|
198
198
|
div1 = element("div");
|
|
199
199
|
t2 = text(t2_value);
|
|
200
|
-
attr(div0, "class", "icon svelte-
|
|
201
|
-
attr(div1, "class", "text svelte-
|
|
202
|
-
attr(div2, "class", "text-wrapper svelte-
|
|
203
|
-
attr(div3, "class", "wrapper svelte-
|
|
200
|
+
attr(div0, "class", "icon svelte-135cbxk");
|
|
201
|
+
attr(div1, "class", "text svelte-135cbxk");
|
|
202
|
+
attr(div2, "class", "text-wrapper svelte-135cbxk");
|
|
203
|
+
attr(div3, "class", "wrapper svelte-135cbxk");
|
|
204
204
|
},
|
|
205
205
|
m(target, anchor) {
|
|
206
206
|
insert(target, div3, anchor);
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import Media from '../Common/Media';
|
|
22
22
|
|
|
23
23
|
function add_css(target) {
|
|
24
|
-
append_styles(target, "svelte-10cw0el", ".media-wrapper
|
|
24
|
+
append_styles(target, "svelte-10cw0el", ".media-wrapper-10cw0el{position:absolute;width:100%;height:100%}");
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
// (8:0) {#if tag.state && mediaData}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/* generated by Svelte v3.50.1 */
|
|
2
|
+
import {
|
|
3
|
+
SvelteComponent,
|
|
4
|
+
append_styles,
|
|
5
|
+
attr,
|
|
6
|
+
check_outros,
|
|
7
|
+
create_component,
|
|
8
|
+
destroy_component,
|
|
9
|
+
detach,
|
|
10
|
+
element,
|
|
11
|
+
empty,
|
|
12
|
+
group_outros,
|
|
13
|
+
init,
|
|
14
|
+
insert,
|
|
15
|
+
mount_component,
|
|
16
|
+
safe_not_equal,
|
|
17
|
+
transition_in,
|
|
18
|
+
transition_out
|
|
19
|
+
} from "svelte/internal";
|
|
20
|
+
|
|
21
|
+
import Media from '../Common/Media';
|
|
22
|
+
|
|
23
|
+
function add_css(target) {
|
|
24
|
+
append_styles(target, "svelte-10cw0el", ".media-wrapper.svelte-10cw0el{position:absolute;width:100%;height:100%}");
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// (18:0) {#if tag.state && mediaData}
|
|
28
|
+
function create_if_block(ctx) {
|
|
29
|
+
let div;
|
|
30
|
+
let media;
|
|
31
|
+
let current;
|
|
32
|
+
|
|
33
|
+
media = new Media({
|
|
34
|
+
props: {
|
|
35
|
+
unfolded: /*unfolded*/ ctx[3],
|
|
36
|
+
mediaData: /*mediaData*/ ctx[2],
|
|
37
|
+
objectFit: /*objectFit*/ ctx[1],
|
|
38
|
+
enableCarousel: true,
|
|
39
|
+
inDelay: 500,
|
|
40
|
+
duration: 500
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
return {
|
|
45
|
+
c() {
|
|
46
|
+
div = element("div");
|
|
47
|
+
create_component(media.$$.fragment);
|
|
48
|
+
attr(div, "class", "media-wrapper svelte-10cw0el");
|
|
49
|
+
},
|
|
50
|
+
m(target, anchor) {
|
|
51
|
+
insert(target, div, anchor);
|
|
52
|
+
mount_component(media, div, null);
|
|
53
|
+
current = true;
|
|
54
|
+
},
|
|
55
|
+
p(ctx, dirty) {
|
|
56
|
+
const media_changes = {};
|
|
57
|
+
if (dirty & /*unfolded*/ 8) media_changes.unfolded = /*unfolded*/ ctx[3];
|
|
58
|
+
if (dirty & /*mediaData*/ 4) media_changes.mediaData = /*mediaData*/ ctx[2];
|
|
59
|
+
if (dirty & /*objectFit*/ 2) media_changes.objectFit = /*objectFit*/ ctx[1];
|
|
60
|
+
media.$set(media_changes);
|
|
61
|
+
},
|
|
62
|
+
i(local) {
|
|
63
|
+
if (current) return;
|
|
64
|
+
transition_in(media.$$.fragment, local);
|
|
65
|
+
current = true;
|
|
66
|
+
},
|
|
67
|
+
o(local) {
|
|
68
|
+
transition_out(media.$$.fragment, local);
|
|
69
|
+
current = false;
|
|
70
|
+
},
|
|
71
|
+
d(detaching) {
|
|
72
|
+
if (detaching) detach(div);
|
|
73
|
+
destroy_component(media);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function create_fragment(ctx) {
|
|
79
|
+
let if_block_anchor;
|
|
80
|
+
let current;
|
|
81
|
+
let if_block = /*tag*/ ctx[0].state && /*mediaData*/ ctx[2] && create_if_block(ctx);
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
c() {
|
|
85
|
+
if (if_block) if_block.c();
|
|
86
|
+
if_block_anchor = empty();
|
|
87
|
+
},
|
|
88
|
+
m(target, anchor) {
|
|
89
|
+
if (if_block) if_block.m(target, anchor);
|
|
90
|
+
insert(target, if_block_anchor, anchor);
|
|
91
|
+
current = true;
|
|
92
|
+
},
|
|
93
|
+
p(ctx, [dirty]) {
|
|
94
|
+
if (/*tag*/ ctx[0].state && /*mediaData*/ ctx[2]) {
|
|
95
|
+
if (if_block) {
|
|
96
|
+
if_block.p(ctx, dirty);
|
|
97
|
+
|
|
98
|
+
if (dirty & /*tag, mediaData*/ 5) {
|
|
99
|
+
transition_in(if_block, 1);
|
|
100
|
+
}
|
|
101
|
+
} else {
|
|
102
|
+
if_block = create_if_block(ctx);
|
|
103
|
+
if_block.c();
|
|
104
|
+
transition_in(if_block, 1);
|
|
105
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
106
|
+
}
|
|
107
|
+
} else if (if_block) {
|
|
108
|
+
group_outros();
|
|
109
|
+
|
|
110
|
+
transition_out(if_block, 1, 1, () => {
|
|
111
|
+
if_block = null;
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
check_outros();
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
i(local) {
|
|
118
|
+
if (current) return;
|
|
119
|
+
transition_in(if_block);
|
|
120
|
+
current = true;
|
|
121
|
+
},
|
|
122
|
+
o(local) {
|
|
123
|
+
transition_out(if_block);
|
|
124
|
+
current = false;
|
|
125
|
+
},
|
|
126
|
+
d(detaching) {
|
|
127
|
+
if (if_block) if_block.d(detaching);
|
|
128
|
+
if (detaching) detach(if_block_anchor);
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
function instance($$self, $$props, $$invalidate) {
|
|
134
|
+
let unfolded;
|
|
135
|
+
let mediaData;
|
|
136
|
+
let objectFit;
|
|
137
|
+
var _a;
|
|
138
|
+
let { tag } = $$props;
|
|
139
|
+
|
|
140
|
+
$$self.$$set = $$props => {
|
|
141
|
+
if ('tag' in $$props) $$invalidate(0, tag = $$props.tag);
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
$$self.$$.update = () => {
|
|
145
|
+
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
146
|
+
$: $$invalidate(3, unfolded = tag.state ? tag.state.unfolded : false);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
if ($$self.$$.dirty & /*tag*/ 1) {
|
|
150
|
+
$: $$invalidate(2, mediaData = tag.data.mediaData);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
if ($$self.$$.dirty & /*tag, _a*/ 17) {
|
|
154
|
+
$: $$invalidate(1, objectFit = $$invalidate(4, _a = tag.data.objectFit) !== null && _a !== void 0
|
|
155
|
+
? _a
|
|
156
|
+
: (() => {
|
|
157
|
+
if (tag.data.adaptationMode === 'stretch') return 'cover'; else if (tag.data.adaptationMode === 'proportional') return 'contain'; else return undefined;
|
|
158
|
+
})());
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
return [tag, objectFit, mediaData, unfolded, _a];
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
class Component extends SvelteComponent {
|
|
166
|
+
constructor(options) {
|
|
167
|
+
super();
|
|
168
|
+
init(this, options, instance, create_fragment, safe_not_equal, { tag: 0 }, add_css);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export default Component;
|
|
@@ -29,7 +29,7 @@ import MarketingTag from './MarketingTag';
|
|
|
29
29
|
import { noTypecheck } from '../../utils';
|
|
30
30
|
import { setContext } from 'svelte';
|
|
31
31
|
import AudioTag from './AudioTag';
|
|
32
|
-
import
|
|
32
|
+
import MediaPlane from './MediaPlane';
|
|
33
33
|
import LinkTag from './LinkTag';
|
|
34
34
|
import CustomTag from './CustomTag';
|
|
35
35
|
|
|
@@ -39,37 +39,37 @@ function add_css(target) {
|
|
|
39
39
|
|
|
40
40
|
// (67:59)
|
|
41
41
|
function create_if_block_6(ctx) {
|
|
42
|
-
let
|
|
42
|
+
let mediaplane;
|
|
43
43
|
let current;
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
mediaplane = new MediaPlane({
|
|
46
46
|
props: { tag: noTypecheck(/*tag*/ ctx[1]) }
|
|
47
47
|
});
|
|
48
48
|
|
|
49
49
|
return {
|
|
50
50
|
c() {
|
|
51
|
-
create_component(
|
|
51
|
+
create_component(mediaplane.$$.fragment);
|
|
52
52
|
},
|
|
53
53
|
m(target, anchor) {
|
|
54
|
-
mount_component(
|
|
54
|
+
mount_component(mediaplane, target, anchor);
|
|
55
55
|
current = true;
|
|
56
56
|
},
|
|
57
57
|
p(ctx, dirty) {
|
|
58
|
-
const
|
|
59
|
-
if (dirty & /*tag*/ 2)
|
|
60
|
-
|
|
58
|
+
const mediaplane_changes = {};
|
|
59
|
+
if (dirty & /*tag*/ 2) mediaplane_changes.tag = noTypecheck(/*tag*/ ctx[1]);
|
|
60
|
+
mediaplane.$set(mediaplane_changes);
|
|
61
61
|
},
|
|
62
62
|
i(local) {
|
|
63
63
|
if (current) return;
|
|
64
|
-
transition_in(
|
|
64
|
+
transition_in(mediaplane.$$.fragment, local);
|
|
65
65
|
current = true;
|
|
66
66
|
},
|
|
67
67
|
o(local) {
|
|
68
|
-
transition_out(
|
|
68
|
+
transition_out(mediaplane.$$.fragment, local);
|
|
69
69
|
current = false;
|
|
70
70
|
},
|
|
71
71
|
d(detaching) {
|
|
72
|
-
destroy_component(
|
|
72
|
+
destroy_component(mediaplane, detaching);
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
}
|
|
@@ -330,7 +330,7 @@ function create_fragment(ctx) {
|
|
|
330
330
|
if (/*tag*/ ctx[1].contentType === ContentType.Audio) return 3;
|
|
331
331
|
if (/*tag*/ ctx[1].contentType === ContentType.Marketing) return 4;
|
|
332
332
|
if (/*tag*/ ctx[1].contentType === ContentType.Link) return 5;
|
|
333
|
-
if (/*tag*/ ctx[1].contentType === ContentType.
|
|
333
|
+
if (/*tag*/ ctx[1].contentType === ContentType.MediaPlane) return 6;
|
|
334
334
|
return -1;
|
|
335
335
|
}
|
|
336
336
|
|
|
@@ -27,7 +27,7 @@ import { noTypecheck } from '../utils';
|
|
|
27
27
|
import { DimensionType, ContentType, PointType } from '../typings';
|
|
28
28
|
import TagContent from './Tag/index';
|
|
29
29
|
import TagPoint from './Common/Point/PointSwitch';
|
|
30
|
-
import 'svelte';
|
|
30
|
+
import { onMount } from 'svelte';
|
|
31
31
|
|
|
32
32
|
function add_css(target) {
|
|
33
33
|
append_styles(target, "svelte-1vzhbu2", ".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}");
|
|
@@ -282,6 +282,14 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
282
282
|
hooks.emit('click', { event, target: 'TagPoint', tag });
|
|
283
283
|
};
|
|
284
284
|
|
|
285
|
+
onMount(() => {
|
|
286
|
+
hooks.emit('exposure', { id: tag.id, type: 'start' });
|
|
287
|
+
|
|
288
|
+
return () => {
|
|
289
|
+
hooks.emit('exposure', { id: tag.id, type: 'end' });
|
|
290
|
+
};
|
|
291
|
+
});
|
|
292
|
+
|
|
285
293
|
$$self.$$set = $$props => {
|
|
286
294
|
if ('withAnimation' in $$props) $$invalidate(0, withAnimation = $$props.withAnimation);
|
|
287
295
|
if ('tag' in $$props) $$invalidate(1, tag = $$props.tag);
|