@realsee/dnalogel 2.1.0-alpha.4 → 2.1.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/CameraMovementPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/CruisePlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/CruisePlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/CruisePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/GuideLinePlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/ItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/ModelViewPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/Object3DHelperPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/Object3DHelperPlugin/index.js +32 -28
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoCompassPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoMeasurePlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoRulerPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoRulerProPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoTagPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/PanoTagPlugin/index.js +23 -17
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/dist/index.es.js +55 -45
- package/dist/index.js +55 -45
- package/dist/index.umd.js +55 -45
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CruisePluginController.html +14 -14
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/classes/Object3DHelperController.html +9 -9
- package/docs/classes/PanoTagPluginController.html +25 -25
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +7 -7
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/DimensionType.html +1 -1
- 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 -1
- package/docs/enums/PointType.html +1 -1
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +1 -1
- 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 +4 -4
- package/docs/interfaces/Tags.html +3 -3
- package/docs/modules.html +21 -21
- package/libs/ItemLabelPlugin/ItemLabelComponent.svelte +251 -0
- package/libs/ItemLabelPlugin/ItemLabelItem.svelte +183 -0
- package/libs/ItemLabelPlugin/Plugin.js +1 -1
- package/libs/ItemLabelPlugin/typings.d.ts +1 -1
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.svelte +155 -0
- package/libs/ModelItemLabelPlugin/ItemLabelItem.svelte +100 -0
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +1 -1
- package/libs/ModelItemLabelPlugin/typings.d.ts +1 -1
- package/libs/ModelRoomLabelPlugin/Controller.js +1 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.svelte +63 -0
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.svelte +94 -0
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.svelte +200 -0
- package/libs/PanoRulerProPlugin/Controller.js +1 -1
- package/libs/PanoRulerProPlugin/RulerItem.svelte +166 -0
- package/libs/PanoRulerProPlugin/RulerItems.svelte +212 -0
- package/libs/PanoSpatialTagPlugin/Components/origins.svelte +58 -0
- package/libs/PanoSpatialTagPlugin/Components/tag.svelte +292 -0
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.svelte +56 -0
- package/libs/PanoTagPlugin/Components/Common/Audio.svelte +82 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.svelte +36 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.svelte +36 -0
- package/libs/PanoTagPlugin/Components/Common/Media.svelte +70 -0
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.svelte +56 -0
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.svelte +120 -0
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.svelte +81 -0
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.svelte +30 -0
- package/libs/PanoTagPlugin/Components/Common/Shadow.svelte +46 -0
- package/libs/PanoTagPlugin/Components/Common/Text.svelte +69 -0
- package/libs/PanoTagPlugin/Components/Common/TextItem.svelte +42 -0
- package/libs/PanoTagPlugin/Components/PointTag.js +3 -3
- package/libs/PanoTagPlugin/Components/PointTag.svelte +55 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.svelte +105 -0
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.svelte +33 -0
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte +63 -0
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.svelte +166 -0
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.svelte +234 -0
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.svelte +30 -0
- package/libs/PanoTagPlugin/Components/Tag/TextTag.svelte +63 -0
- package/libs/PanoTagPlugin/Components/Tag/index.js +16 -11
- package/libs/PanoTagPlugin/Components/Tag/index.svelte +145 -0
- package/libs/PanoTagPlugin/Components/TagWrapper.svelte +69 -0
- package/libs/PanoTagPlugin/controller/index.js +9 -9
- package/libs/PanoTagPlugin/tag.config.js +1 -0
- package/libs/PanoTagPlugin/typings/controller.d.ts +2 -1
- package/libs/PanoTagPlugin/typings/tag.d.ts +1 -0
- package/libs/floorplan/Components/BaseImage.svelte +26 -0
- package/libs/floorplan/Components/Camera.svelte +46 -0
- package/libs/floorplan/Components/Compass.svelte +51 -0
- package/libs/floorplan/Components/CurrentFloor.svelte +46 -0
- package/libs/floorplan/Components/Main.svelte +51 -0
- package/libs/floorplan/Components/Normalmage.svelte +11 -0
- package/libs/floorplan/Components/RoomHighlight/Room.svelte +27 -0
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.svelte +29 -0
- package/libs/floorplan/Components/RoomLabels/RoomLabel.svelte +119 -0
- package/libs/floorplan/Components/RoomLabels/RoomLabels.svelte +35 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.svelte +42 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte +7 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte +24 -0
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte +33 -0
- package/libs/floorplan/Components/RuleLabels/RuleItem.svelte +174 -0
- package/libs/floorplan/Components/RuleLabels/RuleLabels.svelte +32 -0
- package/libs/floorplan/Components/SvgImage.svelte +28 -0
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte +85 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte +18 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte +40 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte +64 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +9 -5
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -3
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +7 -4
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -3
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +6 -7
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +1 -1
- package/libs/shared-utils/Object3DHelper/index.js +8 -10
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -1
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import TagWrapper from './TagWrapper';
|
|
28
28
|
|
|
29
29
|
function add_css(target) {
|
|
30
|
-
append_styles(target, "svelte-
|
|
30
|
+
append_styles(target, "svelte-1eci49s", ".tag--container.svelte-1eci49s{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tag.hide.svelte-1eci49s{display:none}.withAnimation.svelte-1eci49s{transition:opacity 0.3s linear}.tag--container.hide.svelte-1eci49s{opacity:0;pointer-events:none}.tag--container.hide.svelte-1eci49s *{pointer-events:none}");
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
function get_each_context(ctx, list, i) {
|
|
@@ -69,7 +69,7 @@ function create_each_block(key_1, ctx) {
|
|
|
69
69
|
div = element("div");
|
|
70
70
|
create_component(tagwrapper.$$.fragment);
|
|
71
71
|
t = space();
|
|
72
|
-
attr(div, "class", "
|
|
72
|
+
attr(div, "class", "tag svelte-1eci49s");
|
|
73
73
|
toggle_class(div, "hide", !/*tag*/ ctx[6].pointTagStyle?.leftPercent || !/*tag*/ ctx[6].pointTagStyle?.topPercent || /*tag*/ ctx[6].enabled === false || !/*tag*/ ctx[6].state || /*tag*/ ctx[6].temporaryState?.visible === false);
|
|
74
74
|
this.first = div;
|
|
75
75
|
},
|
|
@@ -139,7 +139,7 @@ function create_fragment(ctx) {
|
|
|
139
139
|
each_blocks[i].c();
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
attr(div, "class", "
|
|
142
|
+
attr(div, "class", "tag--container svelte-1eci49s");
|
|
143
143
|
toggle_class(div, "hide", !/*state*/ ctx[3].visible || !/*temporaryState*/ ctx[5].visible);
|
|
144
144
|
toggle_class(div, "withAnimation", /*withAnimation*/ ctx[0]);
|
|
145
145
|
},
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<script>import TagWrapper from './TagWrapper.svelte';
|
|
2
|
+
export let withAnimation = false;
|
|
3
|
+
export let tags = [];
|
|
4
|
+
export let hooks;
|
|
5
|
+
export let state;
|
|
6
|
+
export let mediaStore;
|
|
7
|
+
export let temporaryState;
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<div class="tag--container" class:hide={!state.visible || !temporaryState.visible} class:withAnimation>
|
|
11
|
+
{#each tags as tag (tag.id)}
|
|
12
|
+
<div
|
|
13
|
+
class="tag"
|
|
14
|
+
class:hide={!tag.pointTagStyle?.leftPercent ||
|
|
15
|
+
!tag.pointTagStyle?.topPercent ||
|
|
16
|
+
tag.enabled === false ||
|
|
17
|
+
!tag.state ||
|
|
18
|
+
tag.temporaryState?.visible === false}
|
|
19
|
+
>
|
|
20
|
+
<TagWrapper {...{ tag, hooks, state, mediaStore, temporaryState, withAnimation }} />
|
|
21
|
+
</div>
|
|
22
|
+
{/each}
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<style>
|
|
26
|
+
.tag--container {
|
|
27
|
+
/* background: white; */
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
position: absolute;
|
|
30
|
+
left: 0;
|
|
31
|
+
top: 0;
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 100%;
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
opacity: 1;
|
|
36
|
+
user-select: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.tag.hide {
|
|
40
|
+
display: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.withAnimation {
|
|
44
|
+
transition: opacity 0.3s linear;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.tag--container.hide {
|
|
48
|
+
opacity: 0;
|
|
49
|
+
pointer-events: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.tag--container.hide :global(*) {
|
|
53
|
+
pointer-events: none;
|
|
54
|
+
}
|
|
55
|
+
</style>
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
<!-- 图文标签 -->
|
|
2
|
+
<script>var _a;
|
|
3
|
+
import uuid from '../../../shared-utils/uuid';
|
|
4
|
+
import '../Common/Text.svelte';
|
|
5
|
+
import '../Common/Arrow.svelte';
|
|
6
|
+
import Audio from '../Common/Audio.svelte';
|
|
7
|
+
import Line from '../Common/Line/Straight.svelte';
|
|
8
|
+
import Shadow from '../Common/Shadow.svelte';
|
|
9
|
+
import MultiLineText from '../Common/MultiLineText.svelte';
|
|
10
|
+
export let mediaStore;
|
|
11
|
+
export let tag;
|
|
12
|
+
let textUnfolded = false;
|
|
13
|
+
let contentWidth;
|
|
14
|
+
let textItems = [];
|
|
15
|
+
$: unfolded = !!((_a = tag.state) === null || _a === void 0 ? void 0 : _a.unfolded);
|
|
16
|
+
$: text = tag.data.text;
|
|
17
|
+
$: {
|
|
18
|
+
// 当 text 变了后,强制更新 Text
|
|
19
|
+
textItems = [{ id: uuid(), content: text }];
|
|
20
|
+
}
|
|
21
|
+
// 收起的时候,如果文字展开了,要先下下去,再收起
|
|
22
|
+
$: foldTextDelay = textUnfolded ? 450 : 0;
|
|
23
|
+
function clickContent() {
|
|
24
|
+
textUnfolded = !textUnfolded;
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
{#if tag.state}
|
|
29
|
+
<div class="audio-tag" class:unfolded>
|
|
30
|
+
<Shadow visible={unfolded} left={contentWidth / 2 + 'px'} bottom={12} width={2} blurRadius={120} spreadRadius={60} />
|
|
31
|
+
<div class="line" style:width={contentWidth + 'px'}>
|
|
32
|
+
<Line {unfolded} duration={1000} outDelay={foldTextDelay + 20 * Math.min(textItems[0]?.content.length ?? 10, 15)} />
|
|
33
|
+
</div>
|
|
34
|
+
<div class="content" bind:clientWidth={contentWidth}>
|
|
35
|
+
<div class="wrapper">
|
|
36
|
+
<div class="audio-icon">
|
|
37
|
+
<Audio
|
|
38
|
+
{unfolded}
|
|
39
|
+
{mediaStore}
|
|
40
|
+
url={tag.data.audioUrl}
|
|
41
|
+
duration={1000}
|
|
42
|
+
outDelay={20 * Math.min(textItems[0]?.content.length ?? 10, 15)}
|
|
43
|
+
hooksInfo={{ tag }}
|
|
44
|
+
/>
|
|
45
|
+
</div>
|
|
46
|
+
<div style:display="inline-block" on:click={clickContent}>
|
|
47
|
+
<MultiLineText visible={unfolded} {textUnfolded} {textItems} />
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
{/if}
|
|
53
|
+
|
|
54
|
+
<style>
|
|
55
|
+
.audio-tag {
|
|
56
|
+
position: absolute;
|
|
57
|
+
left: 0;
|
|
58
|
+
top: 0;
|
|
59
|
+
width: 0;
|
|
60
|
+
height: 0;
|
|
61
|
+
overflow: visible;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.line {
|
|
65
|
+
display: flex;
|
|
66
|
+
position: absolute;
|
|
67
|
+
top: 0;
|
|
68
|
+
left: 0;
|
|
69
|
+
width: 162px;
|
|
70
|
+
height: 1px;
|
|
71
|
+
transform: translate3d(0, -50%, 10px);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.content {
|
|
75
|
+
width: max-content;
|
|
76
|
+
height: 54px;
|
|
77
|
+
padding: 36px 4px 0 16px;
|
|
78
|
+
position: absolute;
|
|
79
|
+
left: 0;
|
|
80
|
+
bottom: 2px;
|
|
81
|
+
overflow: hidden;
|
|
82
|
+
box-sizing: border-box;
|
|
83
|
+
font-size: 0;
|
|
84
|
+
white-space: nowrap;
|
|
85
|
+
font-weight: 600;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.wrapper {
|
|
89
|
+
position: relative;
|
|
90
|
+
width: 100%;
|
|
91
|
+
height: 100%;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.audio-icon {
|
|
95
|
+
vertical-align: top;
|
|
96
|
+
display: inline-block;
|
|
97
|
+
width: 16px;
|
|
98
|
+
height: 16px;
|
|
99
|
+
margin-right: 4px;
|
|
100
|
+
margin-top: 1px;
|
|
101
|
+
}
|
|
102
|
+
.unfolded .audio-icon {
|
|
103
|
+
pointer-events: auto;
|
|
104
|
+
}
|
|
105
|
+
</style>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<script>import { onDestroy, onMount } from 'svelte';
|
|
2
|
+
export let tag;
|
|
3
|
+
let content;
|
|
4
|
+
let destroyTemplate;
|
|
5
|
+
onMount(() => {
|
|
6
|
+
if (content) {
|
|
7
|
+
if (tag.element instanceof Element) {
|
|
8
|
+
const element = tag.element;
|
|
9
|
+
content.appendChild(element);
|
|
10
|
+
destroyTemplate = () => content === null || content === void 0 ? void 0 : content.removeChild(element);
|
|
11
|
+
}
|
|
12
|
+
else if (typeof tag.element === 'function') {
|
|
13
|
+
const renderer = tag.element;
|
|
14
|
+
destroyTemplate = renderer(content);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
onDestroy(() => {
|
|
19
|
+
destroyTemplate === null || destroyTemplate === void 0 ? void 0 : destroyTemplate();
|
|
20
|
+
});
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<div class="customElement__container" bind:this={content}>
|
|
24
|
+
{#if typeof tag.element === 'string'}
|
|
25
|
+
{@html tag.element}
|
|
26
|
+
{/if}
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<style>
|
|
30
|
+
.customElement__container {
|
|
31
|
+
position: relative;
|
|
32
|
+
}
|
|
33
|
+
</style>
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<!-- 图文标签 -->
|
|
2
|
+
<script>var _a, _b, _c;
|
|
3
|
+
import uuid from '../../../shared-utils/uuid';
|
|
4
|
+
import Text from '../Common/Text.svelte';
|
|
5
|
+
import Line from '../Common/Line/Polyline.svelte';
|
|
6
|
+
import Media from '../Common/Media.svelte';
|
|
7
|
+
import Shadow from '../Common/Shadow.svelte';
|
|
8
|
+
export let tag;
|
|
9
|
+
$: unfolded = tag.state ? tag.state.unfolded : false;
|
|
10
|
+
$: content = ((_b = (_a = tag.data.text) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) > 7 ? ((_c = tag.data.text) === null || _c === void 0 ? void 0 : _c.substring(0, 6)) + '...' : tag.data.text;
|
|
11
|
+
$: mediaData = tag.data.mediaData;
|
|
12
|
+
let textItems;
|
|
13
|
+
$: {
|
|
14
|
+
// 当 text 变了后,强制更新 Text
|
|
15
|
+
textItems = content ? [{ id: uuid(), content }] : [];
|
|
16
|
+
}
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
{#if tag.state}
|
|
20
|
+
<Shadow visible={unfolded} left={61} bottom={57} width={2} blurRadius={150} spreadRadius={75} />
|
|
21
|
+
<div class="line">
|
|
22
|
+
<Line {unfolded} duration={1000} outDelay={400} />
|
|
23
|
+
</div>
|
|
24
|
+
{#each textItems as { id, content } (id)}
|
|
25
|
+
<div class="text">
|
|
26
|
+
<Text {unfolded} {content} inDelay={500} />
|
|
27
|
+
</div>
|
|
28
|
+
{/each}
|
|
29
|
+
{#if mediaData}
|
|
30
|
+
<div class="media-wrapper">
|
|
31
|
+
<Media {unfolded} {mediaData} inDelay={500} duration={500} />
|
|
32
|
+
</div>
|
|
33
|
+
{/if}
|
|
34
|
+
{/if}
|
|
35
|
+
|
|
36
|
+
<style>
|
|
37
|
+
.line {
|
|
38
|
+
position: absolute;
|
|
39
|
+
width: 105px;
|
|
40
|
+
height: 21px;
|
|
41
|
+
transform: translateY(-100%);
|
|
42
|
+
z-index: 10;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.text {
|
|
46
|
+
position: absolute;
|
|
47
|
+
width: 100px;
|
|
48
|
+
left: 16px;
|
|
49
|
+
bottom: 1px;
|
|
50
|
+
z-index: 10;
|
|
51
|
+
font-weight: 600;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.media-wrapper {
|
|
55
|
+
position: absolute;
|
|
56
|
+
left: 14px;
|
|
57
|
+
top: -85px;
|
|
58
|
+
width: 90px;
|
|
59
|
+
height: 60px;
|
|
60
|
+
z-index: 10;
|
|
61
|
+
font-weight: 600;
|
|
62
|
+
}
|
|
63
|
+
</style>
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
<script>import { LinkType } from '../../typings';
|
|
2
|
+
import Shadow from '../Common/Shadow.svelte';
|
|
3
|
+
export let tag;
|
|
4
|
+
$: data = tag.data;
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<div class="wrapper">
|
|
8
|
+
<div class="icon">
|
|
9
|
+
{#if data.linkType === LinkType.VrLink}
|
|
10
|
+
<Shadow visible={true} outDelay={0} inDelay={0} height={1.2} left={13} bottom={12} blurRadius={50} spreadRadius={18} />
|
|
11
|
+
<div class="arrow0" />
|
|
12
|
+
<div class="arrow1" />
|
|
13
|
+
<div class="arrow2" />
|
|
14
|
+
{:else if data.linkType === LinkType.NormalLink}
|
|
15
|
+
<Shadow visible={true} outDelay={0} inDelay={0} width={1.4} left={13} bottom="auto" blurRadius={50} spreadRadius={18} />
|
|
16
|
+
<div class="link" />
|
|
17
|
+
{/if}
|
|
18
|
+
</div>
|
|
19
|
+
<div class="text-wrapper">
|
|
20
|
+
<Shadow
|
|
21
|
+
visible={true}
|
|
22
|
+
outDelay={0}
|
|
23
|
+
inDelay={0}
|
|
24
|
+
left="auto"
|
|
25
|
+
bottom="auto"
|
|
26
|
+
width="80%"
|
|
27
|
+
blurRadius={40}
|
|
28
|
+
spreadRadius={16}
|
|
29
|
+
opacity={0.08}
|
|
30
|
+
/>
|
|
31
|
+
<div class="text">{data.text}</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<style>
|
|
36
|
+
.wrapper {
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
width: max-content;
|
|
40
|
+
height: max-content;
|
|
41
|
+
position: absolute;
|
|
42
|
+
left: 50%;
|
|
43
|
+
top: 50%;
|
|
44
|
+
transform: translate(-50%, -50%);
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
pointer-events: auto;
|
|
50
|
+
}
|
|
51
|
+
.text-wrapper {
|
|
52
|
+
position: relative;
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
}
|
|
57
|
+
.icon {
|
|
58
|
+
position: relative;
|
|
59
|
+
margin-bottom: 11px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.arrow0,
|
|
63
|
+
.arrow1,
|
|
64
|
+
.arrow2 {
|
|
65
|
+
position: absolute;
|
|
66
|
+
width: 26px;
|
|
67
|
+
height: 12px;
|
|
68
|
+
background-image: url(data:image/png;base64,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);
|
|
69
|
+
background-repeat: no-repeat;
|
|
70
|
+
background-size: contain;
|
|
71
|
+
|
|
72
|
+
animation-fill-mode: backwards;
|
|
73
|
+
animation-iteration-count: infinite;
|
|
74
|
+
animation-timing-function: ease-in-out;
|
|
75
|
+
animation-duration: 1.2s;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.arrow1 {
|
|
79
|
+
position: relative;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.arrow0 {
|
|
83
|
+
top: -12px;
|
|
84
|
+
animation-name: up0;
|
|
85
|
+
}
|
|
86
|
+
.arrow1 {
|
|
87
|
+
animation-name: up1;
|
|
88
|
+
}
|
|
89
|
+
.arrow2 {
|
|
90
|
+
top: 12px;
|
|
91
|
+
animation-name: up2;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.text {
|
|
95
|
+
position: absolute;
|
|
96
|
+
top: 0;
|
|
97
|
+
font-size: 14px;
|
|
98
|
+
color: #ffffff;
|
|
99
|
+
letter-spacing: 0;
|
|
100
|
+
text-align: center;
|
|
101
|
+
max-width: 140px;
|
|
102
|
+
width: max-content;
|
|
103
|
+
word-break: break-all;
|
|
104
|
+
line-height: 18px;
|
|
105
|
+
text-shadow: 2px 0px 8px rgba(0, 0, 0, 0.15);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@keyframes up0 {
|
|
109
|
+
0% {
|
|
110
|
+
opacity: 0.8;
|
|
111
|
+
transform: translateY(0) scale(0.84);
|
|
112
|
+
}
|
|
113
|
+
33.33%,
|
|
114
|
+
100% {
|
|
115
|
+
opacity: 0;
|
|
116
|
+
transform: translateY(-12px) scale(0.84);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
@keyframes up1 {
|
|
120
|
+
0% {
|
|
121
|
+
opacity: 1;
|
|
122
|
+
transform: translateY(0px) scale(1);
|
|
123
|
+
}
|
|
124
|
+
33.33%,
|
|
125
|
+
100% {
|
|
126
|
+
opacity: 0.8;
|
|
127
|
+
transform: translateY(-12px) scale(0.84);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
@keyframes up2 {
|
|
131
|
+
0% {
|
|
132
|
+
opacity: 0;
|
|
133
|
+
}
|
|
134
|
+
33.33%,
|
|
135
|
+
100% {
|
|
136
|
+
opacity: 1;
|
|
137
|
+
transform: translateY(-12px);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.link {
|
|
142
|
+
position: relative;
|
|
143
|
+
width: 28px;
|
|
144
|
+
height: 12px;
|
|
145
|
+
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==);
|
|
146
|
+
background-repeat: no-repeat;
|
|
147
|
+
background-size: contain;
|
|
148
|
+
|
|
149
|
+
animation-iteration-count: infinite;
|
|
150
|
+
animation-timing-function: linear;
|
|
151
|
+
animation-duration: 1.2s;
|
|
152
|
+
animation-name: left-right;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@keyframes left-right {
|
|
156
|
+
0%,
|
|
157
|
+
100% {
|
|
158
|
+
opacity: 0.8;
|
|
159
|
+
transform: translateX(-5px);
|
|
160
|
+
}
|
|
161
|
+
50% {
|
|
162
|
+
opacity: 1;
|
|
163
|
+
transform: translateX(0);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
</style>
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
<!-- 营销标签 -->
|
|
2
|
+
<script>var _a, _b;
|
|
3
|
+
import Shadow from '../Common/Shadow.svelte';
|
|
4
|
+
export let tag;
|
|
5
|
+
$: unfolded = (_b = (_a = tag.state) === null || _a === void 0 ? void 0 : _a.unfolded) !== null && _b !== void 0 ? _b : false;
|
|
6
|
+
$: folded = !unfolded;
|
|
7
|
+
$: data = tag.data;
|
|
8
|
+
// 大小点切换时长/线条开始生长时间
|
|
9
|
+
const bigSmallDotChange = 400;
|
|
10
|
+
// 线条生长时长
|
|
11
|
+
const lineGrow = 500;
|
|
12
|
+
// 线条开始生长后x秒标签开始出现
|
|
13
|
+
const tagContentShowWhenLineStartGrow = 180;
|
|
14
|
+
// 标签出现时长
|
|
15
|
+
const tagContentShow = 500;
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<div class="marketing" class:unfolded class:folded>
|
|
19
|
+
<Shadow visible={unfolded} outDelay={500} left={61} bottom={87} blurRadius={150} spreadRadius={75} />
|
|
20
|
+
<div
|
|
21
|
+
class="line"
|
|
22
|
+
style:transition-delay={unfolded ? bigSmallDotChange + 'ms' : tagContentShowWhenLineStartGrow + tagContentShow - lineGrow - 40 + 'ms'}
|
|
23
|
+
/>
|
|
24
|
+
<div class="content" style:transition-delay={unfolded ? bigSmallDotChange + tagContentShowWhenLineStartGrow + 'ms' : '0ms'}>
|
|
25
|
+
<img class="headerImage" src={data.headerPictureUrl} alt="" />
|
|
26
|
+
<div class="tag">
|
|
27
|
+
{#each data.brandTags || [] as tag}
|
|
28
|
+
{#if tag}
|
|
29
|
+
<div class="base-tag primary-tag">{tag}</div>
|
|
30
|
+
{/if}
|
|
31
|
+
{/each}
|
|
32
|
+
{#each data.tags || [] as tag}
|
|
33
|
+
{#if tag}
|
|
34
|
+
<div class="base-tag secondary-tag">{tag}</div>
|
|
35
|
+
{/if}
|
|
36
|
+
{/each}
|
|
37
|
+
</div>
|
|
38
|
+
<div class="title">
|
|
39
|
+
<div class="text">{data.title}</div>
|
|
40
|
+
</div>
|
|
41
|
+
<div
|
|
42
|
+
class="footer"
|
|
43
|
+
style:height={data.price?.value !== undefined && data.price?.value !== null && data.highlightText ? undefined : '1rem'}
|
|
44
|
+
>
|
|
45
|
+
{#if data.price?.value !== undefined && data.price?.value !== null}
|
|
46
|
+
<div class="price">
|
|
47
|
+
<span class="value">
|
|
48
|
+
{data.price.value}
|
|
49
|
+
</span>
|
|
50
|
+
{#if data.price.unit}
|
|
51
|
+
<span class="unit">
|
|
52
|
+
{data.price.unit}
|
|
53
|
+
</span>
|
|
54
|
+
{/if}
|
|
55
|
+
</div>
|
|
56
|
+
{/if}
|
|
57
|
+
{#if data.highlightText}
|
|
58
|
+
<div class="goto-button goto-icon">
|
|
59
|
+
{data.highlightText}
|
|
60
|
+
</div>
|
|
61
|
+
{/if}
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
<style>
|
|
67
|
+
* {
|
|
68
|
+
box-sizing: border-box;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.marketing {
|
|
72
|
+
transform: translateY(-100%);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.content .headerImage {
|
|
76
|
+
position: absolute;
|
|
77
|
+
width: 100%;
|
|
78
|
+
top: 4px;
|
|
79
|
+
transform: translateY(-100%);
|
|
80
|
+
border-top-left-radius: 4px;
|
|
81
|
+
border-top-right-radius: 4px;
|
|
82
|
+
}
|
|
83
|
+
.line {
|
|
84
|
+
position: absolute;
|
|
85
|
+
height: 33px;
|
|
86
|
+
width: 1px;
|
|
87
|
+
left: 50%;
|
|
88
|
+
transform: translateX(-50%);
|
|
89
|
+
background-color: white;
|
|
90
|
+
bottom: 0;
|
|
91
|
+
transform-origin: bottom;
|
|
92
|
+
transition: all 500ms;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.content {
|
|
96
|
+
background-color: white;
|
|
97
|
+
position: relative;
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
min-width: 178px;
|
|
101
|
+
width: max-content;
|
|
102
|
+
height: max-content;
|
|
103
|
+
border-radius: 4px;
|
|
104
|
+
top: -30px;
|
|
105
|
+
left: -16px;
|
|
106
|
+
padding: 8px 0px 9px;
|
|
107
|
+
transition: all 500ms;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.title {
|
|
111
|
+
position: absolute;
|
|
112
|
+
background-color: white;
|
|
113
|
+
border-radius: 4px;
|
|
114
|
+
width: 100%;
|
|
115
|
+
top: 8px;
|
|
116
|
+
padding-left: 12px;
|
|
117
|
+
padding-right: 12px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.title .text {
|
|
121
|
+
display: block;
|
|
122
|
+
width: 100%;
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
text-overflow: ellipsis;
|
|
125
|
+
white-space: nowrap;
|
|
126
|
+
font-size: 12px;
|
|
127
|
+
font-weight: bold;
|
|
128
|
+
line-height: 18px;
|
|
129
|
+
color: #000;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.footer {
|
|
133
|
+
position: relative;
|
|
134
|
+
padding-left: 12px;
|
|
135
|
+
padding-right: 12px;
|
|
136
|
+
width: 100%;
|
|
137
|
+
height: 22px;
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.footer .goto-button {
|
|
143
|
+
flex-shrink: 0;
|
|
144
|
+
white-space: nowrap;
|
|
145
|
+
background-image: linear-gradient(to right, rgba(87, 144, 253, 1) 0, rgba(42, 114, 254, 1) 100%);
|
|
146
|
+
color: #fff;
|
|
147
|
+
font-size: 10px;
|
|
148
|
+
border-radius: 14px;
|
|
149
|
+
font-weight: bold;
|
|
150
|
+
padding-left: 8px;
|
|
151
|
+
padding-right: 8px;
|
|
152
|
+
height: 20px;
|
|
153
|
+
margin-left: auto;
|
|
154
|
+
display: flex;
|
|
155
|
+
align-items: center;
|
|
156
|
+
}
|
|
157
|
+
.footer .goto-icon::after {
|
|
158
|
+
content: '';
|
|
159
|
+
display: inline-block;
|
|
160
|
+
width: 12px;
|
|
161
|
+
height: 12px;
|
|
162
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAeFBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////GqOSsAAAAJ3RSTlMAFNO2pYt4bErz8uP6ysawgVtBPDcR5C4s2L6ZmJBzZGJXUyEeDws/0G2zAAAAkklEQVQ4y+3TRw6DMBAF0OAeJ3QCpCe0uf8NwRILLBYfiS1/aT3JoymnI+sERZ5VCH0iVto3QDfBLmeSSMUTogRV9bBEpJAKaYpGijn13aTSLeraeG9D0NZFZv4/rRL5FDHnITlllqjv6tykWsmX4JHr05y7j6oFKq2P8He48B0tAM0EY0EDxquClw6vLz6EI35GmwwSZpe+WOgAAAAASUVORK5CYII=);
|
|
163
|
+
background-size: 100% auto;
|
|
164
|
+
background-repeat: no-repeat;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.price {
|
|
168
|
+
flex-shrink: 0;
|
|
169
|
+
margin-right: 12px;
|
|
170
|
+
white-space: nowrap;
|
|
171
|
+
color: #ff6600;
|
|
172
|
+
display: flex;
|
|
173
|
+
align-items: baseline;
|
|
174
|
+
}
|
|
175
|
+
.price .value {
|
|
176
|
+
position: relative;
|
|
177
|
+
top: 1px;
|
|
178
|
+
font-size: 18px;
|
|
179
|
+
line-height: 22px;
|
|
180
|
+
font-family: TG-TYPE, PingFangSC, Segoe UI, Rototo, sans-serif;
|
|
181
|
+
letter-spacing: 0px;
|
|
182
|
+
}
|
|
183
|
+
.price .unit {
|
|
184
|
+
padding-left: 2px;
|
|
185
|
+
font-size: 10px;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.tag {
|
|
189
|
+
position: relative;
|
|
190
|
+
background-color: white;
|
|
191
|
+
display: flex;
|
|
192
|
+
width: max-content;
|
|
193
|
+
padding-left: 12px;
|
|
194
|
+
padding-right: 12px;
|
|
195
|
+
}
|
|
196
|
+
.tag .base-tag {
|
|
197
|
+
height: 16px;
|
|
198
|
+
margin-top: 22px;
|
|
199
|
+
margin-bottom: 8px;
|
|
200
|
+
margin-right: 4px;
|
|
201
|
+
font-size: 10px;
|
|
202
|
+
line-height: 14px;
|
|
203
|
+
padding: 1px 4px;
|
|
204
|
+
border-radius: 2px;
|
|
205
|
+
overflow: hidden;
|
|
206
|
+
}
|
|
207
|
+
.tag .primary-tag {
|
|
208
|
+
background: #e5eefe;
|
|
209
|
+
color: #0055ff;
|
|
210
|
+
}
|
|
211
|
+
.tag .secondary-tag {
|
|
212
|
+
background: rgba(255, 102, 0, 0.08);
|
|
213
|
+
color: rgba(255, 102, 0, 1);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/** 动画 */
|
|
217
|
+
.unfolded .line {
|
|
218
|
+
transform: translateX(-50%) scale(1, 1);
|
|
219
|
+
/* transition-timing-function: ease-out; */
|
|
220
|
+
}
|
|
221
|
+
.folded .line {
|
|
222
|
+
transform: translateX(-50%) scale(1, 0);
|
|
223
|
+
transition-timing-function: ease-in;
|
|
224
|
+
}
|
|
225
|
+
.unfolded .content {
|
|
226
|
+
opacity: 1;
|
|
227
|
+
/* transition-timing-function: ease-out; */
|
|
228
|
+
}
|
|
229
|
+
.folded .content {
|
|
230
|
+
opacity: 0;
|
|
231
|
+
transform: translateY(0.425rem);
|
|
232
|
+
transition-timing-function: ease-in;
|
|
233
|
+
}
|
|
234
|
+
</style>
|