@realsee/dnalogel 2.1.0-alpha.5 → 2.1.0-alpha.7
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/index.js +8 -1
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CameraMovementPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/CruisePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/CruisePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/GuideLinePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ItemLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelChassisCompassPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelEntryDoorGuidePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelItemLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelRoomLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelTVVideoPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/ModelViewPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/Object3DHelperPlugin/index.js +134 -113
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/Object3DHelperPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoCompassPlugin/index.js +8 -1
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoCompassPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoCursorRaycasterPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoDoorLabelPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoMeasurePlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoRulerPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoRulerProPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/index.js +8 -1
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/PanoTagPlugin/index.js +25 -18
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/PanoTagPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/index.es.js +151 -130
- package/dist/index.js +151 -130
- package/dist/index.umd.js +151 -130
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +3 -1
- package/dist/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- 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 +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/modules.html +21 -21
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +7 -1
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -0
- package/libs/ItemLabelPlugin/Plugin.js +1 -1
- package/libs/ItemLabelPlugin/typings.d.ts +1 -1
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +1 -1
- package/libs/ModelItemLabelPlugin/typings.d.ts +1 -1
- package/libs/ModelRoomLabelPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +3 -2
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoRulerProPlugin/Controller.js +1 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +15 -15
- package/libs/PanoTagPlugin/controller/index.js +6 -6
- package/libs/PanoTagPlugin/tag.config.js +1 -1
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- 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 +3 -1
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +9 -3
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +92 -86
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +17 -8
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +5 -7
- package/libs/shared-utils/Object3DHelper/index.js +3 -3
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/utils/finiteNumber.js +9 -0
- package/package.json +1 -1
- package/libs/ItemLabelPlugin/ItemLabelComponent.svelte +0 -251
- package/libs/ItemLabelPlugin/ItemLabelItem.svelte +0 -183
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.svelte +0 -155
- package/libs/ModelItemLabelPlugin/ItemLabelItem.svelte +0 -100
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.svelte +0 -63
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.svelte +0 -94
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.svelte +0 -200
- package/libs/PanoRulerProPlugin/RulerItem.svelte +0 -166
- package/libs/PanoRulerProPlugin/RulerItems.svelte +0 -212
- package/libs/PanoSpatialTagPlugin/Components/origins.svelte +0 -58
- package/libs/PanoSpatialTagPlugin/Components/tag.svelte +0 -292
- package/libs/PanoTagPlugin/Components/Common/Arrow.svelte +0 -56
- package/libs/PanoTagPlugin/Components/Common/Audio.svelte +0 -82
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.svelte +0 -36
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.svelte +0 -36
- package/libs/PanoTagPlugin/Components/Common/Media.svelte +0 -70
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.svelte +0 -56
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.svelte +0 -120
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.svelte +0 -81
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.svelte +0 -30
- package/libs/PanoTagPlugin/Components/Common/Shadow.svelte +0 -46
- package/libs/PanoTagPlugin/Components/Common/Text.svelte +0 -69
- package/libs/PanoTagPlugin/Components/Common/TextItem.svelte +0 -42
- package/libs/PanoTagPlugin/Components/PointTag.svelte +0 -55
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.svelte +0 -105
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.svelte +0 -33
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte +0 -63
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.svelte +0 -166
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.svelte +0 -234
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.svelte +0 -30
- package/libs/PanoTagPlugin/Components/Tag/TextTag.svelte +0 -63
- package/libs/PanoTagPlugin/Components/Tag/index.svelte +0 -145
- package/libs/PanoTagPlugin/Components/TagWrapper.svelte +0 -69
- package/libs/floorplan/Components/BaseImage.svelte +0 -26
- package/libs/floorplan/Components/Camera.svelte +0 -46
- package/libs/floorplan/Components/Compass.svelte +0 -51
- package/libs/floorplan/Components/CurrentFloor.svelte +0 -46
- package/libs/floorplan/Components/Main.svelte +0 -51
- package/libs/floorplan/Components/Normalmage.svelte +0 -11
- package/libs/floorplan/Components/RoomHighlight/Room.svelte +0 -27
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.svelte +0 -29
- package/libs/floorplan/Components/RoomLabels/RoomLabel.svelte +0 -119
- package/libs/floorplan/Components/RoomLabels/RoomLabels.svelte +0 -35
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.svelte +0 -42
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte +0 -7
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte +0 -24
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte +0 -33
- package/libs/floorplan/Components/RuleLabels/RuleItem.svelte +0 -174
- package/libs/floorplan/Components/RuleLabels/RuleLabels.svelte +0 -32
- package/libs/floorplan/Components/SvgImage.svelte +0 -28
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte +0 -85
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte +0 -18
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte +0 -40
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte +0 -64
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
<script>import 'svelte/easing';
|
|
2
|
-
import Shadow from '../Shadow.svelte';
|
|
3
|
-
export let unfolded;
|
|
4
|
-
export let iconUrl;
|
|
5
|
-
export let foldDelay = 800;
|
|
6
|
-
$: folded = !unfolded;
|
|
7
|
-
</script>
|
|
8
|
-
|
|
9
|
-
<div class="point" class:folded class:unfolded>
|
|
10
|
-
<Shadow center blurRadius={12} spreadRadius={5} />
|
|
11
|
-
<!-- 小点 -->
|
|
12
|
-
<div class="small-point" style:transition-delay={folded ? foldDelay + 'ms' : '0ms'} />
|
|
13
|
-
<!-- 带图标的大圈 -->
|
|
14
|
-
<div class="big-point" style="--iconUrl: url({iconUrl});" style:transition-delay={folded ? foldDelay + 'ms' : '0ms'} />
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<style>
|
|
18
|
-
.point {
|
|
19
|
-
width: 24px;
|
|
20
|
-
height: 24px;
|
|
21
|
-
}
|
|
22
|
-
.small-point,
|
|
23
|
-
.big-point {
|
|
24
|
-
position: absolute;
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: 100%;
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
border-radius: 50%;
|
|
31
|
-
transition: all 500ms;
|
|
32
|
-
}
|
|
33
|
-
.big-point {
|
|
34
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.folded.point {
|
|
38
|
-
animation: breathing 2s linear infinite;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.big-point::before,
|
|
42
|
-
.big-point::after {
|
|
43
|
-
content: '';
|
|
44
|
-
display: block;
|
|
45
|
-
position: absolute;
|
|
46
|
-
background-size: contain;
|
|
47
|
-
background-repeat: no-repeat;
|
|
48
|
-
pointer-events: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/* 光圈 */
|
|
52
|
-
.big-point::before {
|
|
53
|
-
width: 100%;
|
|
54
|
-
height: 100%;
|
|
55
|
-
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAAqFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8j1z1tAAAAOHRSTlMABgoNFBsYIhEmHyksMoJ6RZ5aXzpnU03AtqaZjLuGN+zcifnW0cjEqnA+lOZzbWLhkH6i8rGuagnOwPMAAAQOSURBVFjDrZiHctpAEIYXYzvGOvXeUe+IYuD93ywrJAIhFJX8M8zoBHzz757utHvwTETJHJPfGQZfWJXILWCMPuqNbuu6vj+khrHjed40TWvFfQ2jvCl8nGha6lQCl7s07UqcUlfOZrOxVtKsN2a+0uJYK+ScEIqiFifhBSGSsnJ8f8u99cLMVnEUHTKXIOMX6vuk5gpphFYyhmHzHpzcDqNUJGgEER+oz5OaK8ShNcIdt+zx1ys7lhdqiDlRkPF+JaSdWIhasaz6lLPQ1qFDIwYpDeTr62veCS8bGLIQRSsVK78/5nDeOlYIYhovHeOtU0dDXw2KSGiKesQRyjJ10Q66QcyZMTvpTEMUumpMieyWvs9ZLZcmodAOYlorsysBflpjiEJTFBEY5+7sicul34T1iak5U25momN9Ya4wPCT57r8cteW0dk4YuKMTqjXVkgjciFr+8B3ngnmM6kii5X/efB0F+jUHnuiatLJY+Et84EnUNacfiaKZjQhX4oJAwPlqOB3mJaoh4dxxG5Nc3Q8DkywunP6kBalN53J7G3g0JqiNC3qpjQ7TRPvmn2U3L3/kU4JaTn/SKU0qb76dDf0kGNjHJbD+wX1gcMxO6fZVrzXUcQaROkvt3+pljIYugQ0LDi1ZBgeN9JK9MjTCkmgwgPou19I5QzBI5yy5RvqOw6xMMbKzoeGWmnQfBBwa6woj6wyNsYSx7R0chWuOwsjOqR6aboyNyvcpgOsl3ZzNhoNm3bztdAK1x5NuzmCwunkjjq4AEzKXFI1NUmVnwIfydJBoW7CPVAR1uR6XbVwlmgF2xF1yPTbbubYHLZamgyTNhiSmp4PoJIEk+R+gOAFb+x+hxRoctHw6iItsMLT/Mf3RHixbnP5AyhEPmZ1NB+E6A0V3pi9aPqyB6Pz0bSTxXID0kE/d2DgvxBFzEKdutdXawJGSMlM3/3Sd4fA93bnTXkfSuvwGFGOI016QbKm3VdbOn/bKjpd1e6Pg1SlFhPzjdXWNwjNTyprkhz33i4Wpji600FA5h05q4Ywv/bxge7mNRe7YYtQMwqt/kMLixpXHQhBwcCXBYukxBbvkBTv4S5V/HNNC6EF089tPxxGHNzV8sKTgRhSzVYa2Wf5yeadHphlWGdb4IUeEO5K2SHrUiqJuW9GiLFdwVzRbCXTf5tg11mvhYdufZbLUr11XEi/k4KHexUxWSY8DBCby7AU8E3eUhfzVkYZgR6H/agF8C3KNqCeHLIIRR7oEr0XXsixy9P1jH/doJLF2nPXbIlw5y1aC6t4eROW1pduaLs/7b6NEqFiWrWpBzaXuaOy4Nfe6bRfqGwzSXBJZhnF8y9oUhcnzOyM9pI7wCWP0LSkyy1iFWWwsFp8LeKLfd4doRyTLRacAAAAASUVORK5CYII=);
|
|
56
|
-
}
|
|
57
|
-
.folded .big-point::before {
|
|
58
|
-
animation: rotate 2s linear infinite;
|
|
59
|
-
}
|
|
60
|
-
/* 自定义icon */
|
|
61
|
-
.big-point::after {
|
|
62
|
-
position: absolute;
|
|
63
|
-
width: 16px;
|
|
64
|
-
height: 16px;
|
|
65
|
-
background-image: var(--iconUrl);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.small-point::before {
|
|
69
|
-
content: '';
|
|
70
|
-
display: block;
|
|
71
|
-
position: absolute;
|
|
72
|
-
pointer-events: none;
|
|
73
|
-
width: 4px;
|
|
74
|
-
height: 4px;
|
|
75
|
-
border-radius: 100%;
|
|
76
|
-
background-color: white;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/** 动画 */
|
|
80
|
-
.folded .big-point {
|
|
81
|
-
opacity: 1;
|
|
82
|
-
scale: 1;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.unfolded .big-point {
|
|
86
|
-
opacity: 0;
|
|
87
|
-
scale: 0;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.folded .small-point {
|
|
91
|
-
opacity: 0;
|
|
92
|
-
scale: 6;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.unfolded .small-point {
|
|
96
|
-
opacity: 1;
|
|
97
|
-
scale: 1;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@keyframes rotate {
|
|
101
|
-
from {
|
|
102
|
-
transform: rotate(0deg);
|
|
103
|
-
}
|
|
104
|
-
to {
|
|
105
|
-
transform: rotate(360deg);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@keyframes breathing {
|
|
110
|
-
0% {
|
|
111
|
-
transform: scale(1);
|
|
112
|
-
}
|
|
113
|
-
25% {
|
|
114
|
-
transform: scale(0.9);
|
|
115
|
-
}
|
|
116
|
-
50% {
|
|
117
|
-
transform: scale(1);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
</style>
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
<script>import 'svelte/easing';
|
|
2
|
-
import Shadow from '../Shadow.svelte';
|
|
3
|
-
export let unfolded;
|
|
4
|
-
/** 收起时的delay */
|
|
5
|
-
export let foldDelay = 800;
|
|
6
|
-
$: folded = !unfolded;
|
|
7
|
-
</script>
|
|
8
|
-
|
|
9
|
-
<div class="point" class:unfolded class:folded>
|
|
10
|
-
<Shadow center blurRadius={12} spreadRadius={5} />
|
|
11
|
-
<!-- 小点 -->
|
|
12
|
-
<div class="small-point" style:transition-delay={folded ? foldDelay + 'ms' : '0ms'} />
|
|
13
|
-
<!-- 大圈 -->
|
|
14
|
-
<div class="big-point" style:transition-delay={folded ? foldDelay + 'ms' : '0ms'} />
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<style>
|
|
18
|
-
.point {
|
|
19
|
-
width: 16px;
|
|
20
|
-
height: 16px;
|
|
21
|
-
}
|
|
22
|
-
.small-point,
|
|
23
|
-
.big-point {
|
|
24
|
-
position: absolute;
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: 100%;
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
border-radius: 50%;
|
|
31
|
-
transition: all 500ms;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.big-point::before,
|
|
35
|
-
.big-point::after {
|
|
36
|
-
content: '';
|
|
37
|
-
display: block;
|
|
38
|
-
position: absolute;
|
|
39
|
-
background-size: contain;
|
|
40
|
-
background-repeat: no-repeat;
|
|
41
|
-
pointer-events: none;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/* 光圈 */
|
|
45
|
-
.big-point::before {
|
|
46
|
-
width: 100%;
|
|
47
|
-
height: 100%;
|
|
48
|
-
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAMAAABiM0N1AAAAqFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8j1z1tAAAAOHRSTlMABgoNFBsYIhEmHyksMoJ6RZ5aXzpnU03AtqaZjLuGN+zcifnW0cjEqnA+lOZzbWLhkH6i8rGuagnOwPMAAAQOSURBVFjDrZiHctpAEIYXYzvGOvXeUe+IYuD93ywrJAIhFJX8M8zoBHzz757utHvwTETJHJPfGQZfWJXILWCMPuqNbuu6vj+khrHjed40TWvFfQ2jvCl8nGha6lQCl7s07UqcUlfOZrOxVtKsN2a+0uJYK+ScEIqiFifhBSGSsnJ8f8u99cLMVnEUHTKXIOMX6vuk5gpphFYyhmHzHpzcDqNUJGgEER+oz5OaK8ShNcIdt+zx1ys7lhdqiDlRkPF+JaSdWIhasaz6lLPQ1qFDIwYpDeTr62veCS8bGLIQRSsVK78/5nDeOlYIYhovHeOtU0dDXw2KSGiKesQRyjJ10Q66QcyZMTvpTEMUumpMieyWvs9ZLZcmodAOYlorsysBflpjiEJTFBEY5+7sicul34T1iak5U25momN9Ya4wPCT57r8cteW0dk4YuKMTqjXVkgjciFr+8B3ngnmM6kii5X/efB0F+jUHnuiatLJY+Et84EnUNacfiaKZjQhX4oJAwPlqOB3mJaoh4dxxG5Nc3Q8DkywunP6kBalN53J7G3g0JqiNC3qpjQ7TRPvmn2U3L3/kU4JaTn/SKU0qb76dDf0kGNjHJbD+wX1gcMxO6fZVrzXUcQaROkvt3+pljIYugQ0LDi1ZBgeN9JK9MjTCkmgwgPou19I5QzBI5yy5RvqOw6xMMbKzoeGWmnQfBBwa6woj6wyNsYSx7R0chWuOwsjOqR6aboyNyvcpgOsl3ZzNhoNm3bztdAK1x5NuzmCwunkjjq4AEzKXFI1NUmVnwIfydJBoW7CPVAR1uR6XbVwlmgF2xF1yPTbbubYHLZamgyTNhiSmp4PoJIEk+R+gOAFb+x+hxRoctHw6iItsMLT/Mf3RHixbnP5AyhEPmZ1NB+E6A0V3pi9aPqyB6Pz0bSTxXID0kE/d2DgvxBFzEKdutdXawJGSMlM3/3Sd4fA93bnTXkfSuvwGFGOI016QbKm3VdbOn/bKjpd1e6Pg1SlFhPzjdXWNwjNTyprkhz33i4Wpji600FA5h05q4Ywv/bxge7mNRe7YYtQMwqt/kMLixpXHQhBwcCXBYukxBbvkBTv4S5V/HNNC6EF089tPxxGHNzV8sKTgRhSzVYa2Wf5yeadHphlWGdb4IUeEO5K2SHrUiqJuW9GiLFdwVzRbCXTf5tg11mvhYdufZbLUr11XEi/k4KHexUxWSY8DBCby7AU8E3eUhfzVkYZgR6H/agF8C3KNqCeHLIIRR7oEr0XXsixy9P1jH/doJLF2nPXbIlw5y1aC6t4eROW1pduaLs/7b6NEqFiWrWpBzaXuaOy4Nfe6bRfqGwzSXBJZhnF8y9oUhcnzOyM9pI7wCWP0LSkyy1iFWWwsFp8LeKLfd4doRyTLRacAAAAASUVORK5CYII=);
|
|
49
|
-
background-size: contain;
|
|
50
|
-
background-repeat: no-repeat;
|
|
51
|
-
}
|
|
52
|
-
.small-point::before {
|
|
53
|
-
content: '';
|
|
54
|
-
display: block;
|
|
55
|
-
position: absolute;
|
|
56
|
-
pointer-events: none;
|
|
57
|
-
width: 6px;
|
|
58
|
-
height: 6px;
|
|
59
|
-
border-radius: 100%;
|
|
60
|
-
background-color: white;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/** 动画 */
|
|
64
|
-
.unfolded .big-point {
|
|
65
|
-
opacity: 0;
|
|
66
|
-
transform: scale(0);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.folded .big-point {
|
|
70
|
-
opacity: 1;
|
|
71
|
-
transform: scale(1);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.unfolded .small-point {
|
|
75
|
-
transform: scale(0.6);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.folded .small-point {
|
|
79
|
-
transform: scale(1);
|
|
80
|
-
}
|
|
81
|
-
</style>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<script>var _a, _b;
|
|
2
|
-
import { ContentType } from '../../../typings';
|
|
3
|
-
import CustomPoint from './CustomPoint.svelte';
|
|
4
|
-
import DefaultPoint from './DefaultPoint.svelte';
|
|
5
|
-
export let tag;
|
|
6
|
-
$: foldDelay = (_b = (_a = tag.style) === null || _a === void 0 ? void 0 : _a.foldedPointDelay) !== null && _b !== void 0 ? _b : (tag.contentType === ContentType.Marketing ? 600 : undefined);
|
|
7
|
-
</script>
|
|
8
|
-
|
|
9
|
-
{#if tag.pointTagStyle?.leftPercent && tag.pointTagStyle?.topPercent && tag.enabled !== false && tag.state && tag.temporaryState?.visible !== false}
|
|
10
|
-
{#if tag.contentType !== ContentType.Link}
|
|
11
|
-
<!-- 标签比较小,加一个大一点的点击区域 -->
|
|
12
|
-
<div class="point-click-helper" />
|
|
13
|
-
{#if tag.style?.point?.style === 'CustomIcon' && tag.style?.point?.iconUrl}
|
|
14
|
-
<CustomPoint iconUrl={tag.style.point.iconUrl} unfolded={tag.state.unfolded} {foldDelay} />
|
|
15
|
-
{:else}
|
|
16
|
-
<DefaultPoint unfolded={tag.state.unfolded} {foldDelay} />
|
|
17
|
-
{/if}
|
|
18
|
-
{/if}
|
|
19
|
-
{/if}
|
|
20
|
-
|
|
21
|
-
<style>
|
|
22
|
-
.point-click-helper {
|
|
23
|
-
width: 40px;
|
|
24
|
-
height: 40px;
|
|
25
|
-
position: absolute;
|
|
26
|
-
left: 50%;
|
|
27
|
-
top: 50%;
|
|
28
|
-
transform: translate(-50%, -50%);
|
|
29
|
-
}
|
|
30
|
-
</style>
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
<script>import { fade } from 'svelte/transition';
|
|
2
|
-
export let inDelay = 1000;
|
|
3
|
-
export let outDelay = 1000;
|
|
4
|
-
export let visible = true;
|
|
5
|
-
export let width = 0;
|
|
6
|
-
export let height = 0;
|
|
7
|
-
export let left = 0;
|
|
8
|
-
export let bottom = 0;
|
|
9
|
-
export let center = false;
|
|
10
|
-
export let horizontalCenter = false;
|
|
11
|
-
export let verticalCenter = false;
|
|
12
|
-
export let blurRadius;
|
|
13
|
-
export let spreadRadius;
|
|
14
|
-
export let opacity = 0.15;
|
|
15
|
-
// export let zIndex = -1
|
|
16
|
-
// eslint-disable-next-line no-undef-init
|
|
17
|
-
export let zIndex = undefined;
|
|
18
|
-
function px2rem(value) {
|
|
19
|
-
return typeof value === 'number' ? value / 16 + 'rem' : value;
|
|
20
|
-
}
|
|
21
|
-
</script>
|
|
22
|
-
|
|
23
|
-
{#if visible}
|
|
24
|
-
<div
|
|
25
|
-
class="shadow"
|
|
26
|
-
style:width={px2rem(width)}
|
|
27
|
-
style:height={px2rem(height)}
|
|
28
|
-
style:z-index={zIndex}
|
|
29
|
-
style={`
|
|
30
|
-
left:${px2rem(left)};
|
|
31
|
-
bottom:${px2rem(bottom)};
|
|
32
|
-
box-shadow: 0 0 ${px2rem(blurRadius)} ${px2rem(spreadRadius)} rgba(0, 0, 0, ${opacity});
|
|
33
|
-
${horizontalCenter ? 'transform: translateX(-50%); left: 50%' : ''}
|
|
34
|
-
${verticalCenter ? 'transform: translateX(-50%); top: 50%' : ''}
|
|
35
|
-
${center ? 'transform: translate(-50%, -50%); left: 50%; top: 50%;' : ''}
|
|
36
|
-
`}
|
|
37
|
-
in:fade|local={{ duration: inDelay }}
|
|
38
|
-
out:fade|local={{ duration: outDelay }}
|
|
39
|
-
/>
|
|
40
|
-
{/if}
|
|
41
|
-
|
|
42
|
-
<style>
|
|
43
|
-
.shadow {
|
|
44
|
-
position: absolute;
|
|
45
|
-
}
|
|
46
|
-
</style>
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
<script>import anime from 'animejs';
|
|
2
|
-
import { onMount } from 'svelte';
|
|
3
|
-
import { notNil } from '../../../shared-utils/isNil';
|
|
4
|
-
import { searchFirstValueSmallThanLastValue } from '../../utils';
|
|
5
|
-
export let inDelay = 0;
|
|
6
|
-
export let outDelay = 0;
|
|
7
|
-
export let content;
|
|
8
|
-
export let unfolded;
|
|
9
|
-
let timeoutID;
|
|
10
|
-
let spanEleList = [];
|
|
11
|
-
let openAnimeIns;
|
|
12
|
-
$: contentList = content.slice().split('');
|
|
13
|
-
function onUnfoldedUpdate(unfolded) {
|
|
14
|
-
clearTimeout(timeoutID);
|
|
15
|
-
timeoutID = setTimeout(function () {
|
|
16
|
-
if (!openAnimeIns)
|
|
17
|
-
return;
|
|
18
|
-
if ((unfolded && openAnimeIns.reversed) || (!unfolded && !openAnimeIns.reversed)) {
|
|
19
|
-
openAnimeIns.reverse();
|
|
20
|
-
openAnimeIns.play();
|
|
21
|
-
}
|
|
22
|
-
}, unfolded ? inDelay : outDelay);
|
|
23
|
-
}
|
|
24
|
-
onMount(function () {
|
|
25
|
-
/** 计算第一行的最后一个字的index */
|
|
26
|
-
const firstLineLastIndex = (() => {
|
|
27
|
-
const resultIndex = searchFirstValueSmallThanLastValue((index) => spanEleList[index].getBoundingClientRect().x, [Math.min(spanEleList.length - 1, 10), Math.min(spanEleList.length - 1, 30)]);
|
|
28
|
-
if (resultIndex > 0)
|
|
29
|
-
return resultIndex;
|
|
30
|
-
})();
|
|
31
|
-
/** 文字依次从底部旋转出现
|
|
32
|
-
* @member duration 单个文字的动画时间是 400ms
|
|
33
|
-
* @member scale 大小缩放 [0.7 - 1]
|
|
34
|
-
* @member rotate 旋转 [20 - 0]deg
|
|
35
|
-
* @member opacity 透明度 [0 - 1]
|
|
36
|
-
* @member translateX 水平方向位移 [4 - 0]px
|
|
37
|
-
* @member translateY 水平方向位移 [10 - 0]px
|
|
38
|
-
* @member delay 动画开始的延时是当前元素的索引 index * 50ms
|
|
39
|
-
*/
|
|
40
|
-
openAnimeIns = anime({
|
|
41
|
-
targets: spanEleList.filter(notNil).slice(0, firstLineLastIndex),
|
|
42
|
-
autoplay: false,
|
|
43
|
-
duration: 400,
|
|
44
|
-
scale: [0.7, 1],
|
|
45
|
-
rotate: [20, 0],
|
|
46
|
-
opacity: [0, 1],
|
|
47
|
-
translateX: [4, 0],
|
|
48
|
-
translateY: [10, 0],
|
|
49
|
-
delay: anime.stagger(50),
|
|
50
|
-
easing: 'easeInOutCubic',
|
|
51
|
-
});
|
|
52
|
-
if (unfolded)
|
|
53
|
-
openAnimeIns.seek(openAnimeIns.duration);
|
|
54
|
-
});
|
|
55
|
-
$: {
|
|
56
|
-
onUnfoldedUpdate(unfolded);
|
|
57
|
-
}
|
|
58
|
-
</script>
|
|
59
|
-
|
|
60
|
-
{#each contentList as item, index}
|
|
61
|
-
<span bind:this={spanEleList[index]} class="text-char">{item}</span>
|
|
62
|
-
{/each}
|
|
63
|
-
|
|
64
|
-
<style>
|
|
65
|
-
.text-char {
|
|
66
|
-
display: inline-block;
|
|
67
|
-
text-shadow: 2px 0px 8px rgba(0, 0, 0, 0.15);
|
|
68
|
-
}
|
|
69
|
-
</style>
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
<script>import { cubicInOut } from 'svelte/easing';
|
|
2
|
-
export let index;
|
|
3
|
-
export let rightIndex;
|
|
4
|
-
export let visible;
|
|
5
|
-
export let content;
|
|
6
|
-
function fly(node, { duration }) {
|
|
7
|
-
return {
|
|
8
|
-
duration,
|
|
9
|
-
delay: index * 40,
|
|
10
|
-
css: (t) => {
|
|
11
|
-
const eased = cubicInOut(t);
|
|
12
|
-
return `
|
|
13
|
-
transform: translate(${4 * (1 - eased)}px, ${10 * (1 - eased)}px) scale(${0.7 + eased * 0.3}) rotate(${20 * (1 - eased)}deg);
|
|
14
|
-
opacity: ${eased};`;
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
function flyOut(node, { duration }) {
|
|
19
|
-
return {
|
|
20
|
-
duration,
|
|
21
|
-
delay: rightIndex * 40,
|
|
22
|
-
css: (t) => {
|
|
23
|
-
const eased = cubicInOut(t);
|
|
24
|
-
return `
|
|
25
|
-
transform: translate(${4 * (1 - eased)}px, ${10 * (1 - eased)}px) scale(${0.7 + eased * 0.3}) rotate(${20 * (1 - eased)}deg);
|
|
26
|
-
opacity: ${eased};`;
|
|
27
|
-
},
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
</script>
|
|
31
|
-
|
|
32
|
-
{#if visible}
|
|
33
|
-
<span class="text-char" in:fly|local={{ duration: 400 }} out:flyOut|local={{ duration: 400 }}>{content}</span>
|
|
34
|
-
{/if}
|
|
35
|
-
|
|
36
|
-
<style>
|
|
37
|
-
.text-char {
|
|
38
|
-
opacity: 1;
|
|
39
|
-
display: inline-block;
|
|
40
|
-
transform: translate(0, 0) scale(1) rotate(0);
|
|
41
|
-
}
|
|
42
|
-
</style>
|
|
@@ -1,55 +0,0 @@
|
|
|
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>
|
|
@@ -1,105 +0,0 @@
|
|
|
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>
|
|
@@ -1,33 +0,0 @@
|
|
|
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>
|
|
@@ -1,63 +0,0 @@
|
|
|
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>
|