@realsee/dnalogel 3.66.5 → 3.67.0
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/CHANGELOG.md +3 -0
- package/dist/PanoTagPlugin/Components/Common/AudioPlayer.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/Components/Tag/AudioTag/AudioPoint.svelte.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/audio/AudioDiagnostics.d.ts +42 -0
- package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +6 -0
- package/dist/index.cjs.js +81 -81
- package/dist/index.js +15997 -15074
- package/dist/index.umd.js +76 -76
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LegacyPointHelper.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointDomHelper.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/MeasurePlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
- package/docs/functions/Util.initialCSS3DRender.html +1 -1
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- 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 +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- 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 +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagState.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/SculptType.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MeasurePluginConfig.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/SculptType.Theme.html +2 -2
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPlacement.html +2 -2
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoIntersection.html +1 -1
- package/docs/types/Util.AdherePoint.html +2 -2
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/CruisePlugin/Move.js +5 -2
- package/libs/CruisePlugin/Work.js +5 -2
- package/libs/CruisePlugin/index.js +9 -6
- package/libs/GuideLinePlugin/Controller.js +7 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -2
- package/libs/GuideLinePlugin/index.js +9 -6
- package/libs/PanoTagPlugin/Components/Common/Audio.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/AudioPlayer.js +93 -0
- package/libs/PanoTagPlugin/Components/Common/AudioPlayer.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +364 -148
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +90 -52
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +551 -442
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +256 -206
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPoint.js +191 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPoint.svelte.d.ts +1 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +13 -12
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +29 -26
- package/libs/PanoTagPlugin/Components/TagItem.js +372 -294
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +8 -5
- package/libs/PanoTagPlugin/index.js +14 -11
- package/libs/PanoTagPlugin/tag.config.js +3 -1
- package/libs/PanoTagPlugin/utils/audio/AudioDiagnostics.d.ts +42 -0
- package/libs/PanoTagPlugin/utils/audio/AudioDiagnostics.js +165 -0
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +6 -0
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +113 -63
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +148 -145
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/internal/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
1
|
+
import { SvelteComponent as bt, init as vt, safe_not_equal as wt, append_styles as _t, empty as yt, insert as rt, transition_in as H, transition_out as q, check_outros as Pt, detach as nt, getContext as Ct, createEventDispatcher as Tt, onMount as jt, afterUpdate as kt, onDestroy as Dt, element as R, create_component as Et, attr as M, toggle_class as x, set_style as T, append as It, mount_component as Mt, listen as V, add_render_callback as St, create_bidirectional_transition as $, destroy_component as At, run_all as zt, group_outros as Bt, bubble as tt, binding_callbacks as et } from "../../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import { cubicOut as G } from "../../../../vendor/svelte/easing/index.js";
|
|
3
3
|
import "../../../../shared-utils/tag.js";
|
|
4
4
|
import "three";
|
|
@@ -7,14 +7,14 @@ import "../../../../shared-utils/three/PointSelector/index.js";
|
|
|
7
7
|
import "../../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
8
8
|
import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
9
9
|
import "@realsee/five/line";
|
|
10
|
-
import { notNil as
|
|
10
|
+
import { notNil as ot } from "../../../../shared-utils/isNil.js";
|
|
11
11
|
import "../../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
12
12
|
import "../../../../shared-utils/three/core/Sphere.js";
|
|
13
13
|
import "../../../../vendor/animejs/lib/anime.es.js";
|
|
14
14
|
import "../../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
15
15
|
import "../../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
16
16
|
import "../../../../shared-utils/five/FivePuppet.js";
|
|
17
|
-
import
|
|
17
|
+
import Nt from "./PopoverContent.js";
|
|
18
18
|
import "../../../../shared-utils/positionToVector3.js";
|
|
19
19
|
import "../../../../shared-utils/five/vector3ToScreen.js";
|
|
20
20
|
import "../../../../shared-utils/five/getFiveModel.js";
|
|
@@ -71,31 +71,36 @@ import "./TagPopup.js";
|
|
|
71
71
|
import "../VideoIcon.js";
|
|
72
72
|
import "./PanoramaIcon.js";
|
|
73
73
|
import "../../../utils/videoHelper.js";
|
|
74
|
+
import "../AudioPlayer.js";
|
|
75
|
+
import "../Icon/audioIcon.js";
|
|
76
|
+
import "../../../utils/px2rem.js";
|
|
77
|
+
import "../Shadow.js";
|
|
78
|
+
import "../../../../vendor/svelte/transition/index.js";
|
|
74
79
|
import "./TagPopoverToolBar.js";
|
|
75
80
|
import "./ArrowRightIcon.js";
|
|
76
81
|
import "./ShareIcon.js";
|
|
77
|
-
function
|
|
78
|
-
|
|
82
|
+
function Ht(t) {
|
|
83
|
+
_t(t, "svelte-11cjg3j", '@charset "UTF-8";.tag-popover.svelte-11cjg3j{position:absolute;z-index:1000010;pointer-events:auto;width:auto;height:auto;padding:0;margin:0;visibility:visible;opacity:1}.tag-popover-content.svelte-11cjg3j{cursor:pointer;pointer-events:auto}.tag-popover-content.audio-tag-popover.svelte-11cjg3j{cursor:default}');
|
|
79
84
|
}
|
|
80
|
-
function
|
|
81
|
-
let
|
|
82
|
-
return
|
|
85
|
+
function it(t) {
|
|
86
|
+
let i, o, r, n, f, w, h, _, j;
|
|
87
|
+
return r = new Nt({
|
|
83
88
|
props: {
|
|
84
89
|
showArrow: (
|
|
85
90
|
/*showArrow*/
|
|
86
|
-
t[
|
|
91
|
+
t[13]
|
|
87
92
|
),
|
|
88
93
|
arrowDirection: (
|
|
89
94
|
/*arrowDirection*/
|
|
90
|
-
t[
|
|
95
|
+
t[12]
|
|
91
96
|
),
|
|
92
97
|
effectiveTheme: (
|
|
93
98
|
/*effectiveTheme*/
|
|
94
|
-
t[
|
|
99
|
+
t[18]
|
|
95
100
|
),
|
|
96
101
|
adjustedPlacement: (
|
|
97
102
|
/*adjustedPlacement*/
|
|
98
|
-
t[
|
|
103
|
+
t[8]
|
|
99
104
|
),
|
|
100
105
|
tag: (
|
|
101
106
|
/*tag*/
|
|
@@ -111,137 +116,172 @@ function R(t) {
|
|
|
111
116
|
),
|
|
112
117
|
toolbar: (
|
|
113
118
|
/*toolbar*/
|
|
114
|
-
t[
|
|
119
|
+
t[16]
|
|
120
|
+
),
|
|
121
|
+
audioInstance: (
|
|
122
|
+
/*audioInstance*/
|
|
123
|
+
t[4]
|
|
124
|
+
),
|
|
125
|
+
audioPlaying: (
|
|
126
|
+
/*audioPlaying*/
|
|
127
|
+
t[5]
|
|
128
|
+
),
|
|
129
|
+
audioCurrentTime: (
|
|
130
|
+
/*audioCurrentTime*/
|
|
131
|
+
t[6]
|
|
132
|
+
),
|
|
133
|
+
audioDuration: (
|
|
134
|
+
/*audioDuration*/
|
|
135
|
+
t[7]
|
|
115
136
|
),
|
|
116
137
|
closePopover: (
|
|
117
138
|
/*closePopoverInternal*/
|
|
118
|
-
t[
|
|
139
|
+
t[24]
|
|
119
140
|
)
|
|
120
141
|
}
|
|
121
|
-
}),
|
|
142
|
+
}), r.$on(
|
|
122
143
|
"viewMore",
|
|
123
144
|
/*handleViewMore*/
|
|
124
|
-
t[
|
|
125
|
-
),
|
|
145
|
+
t[20]
|
|
146
|
+
), r.$on(
|
|
126
147
|
"share",
|
|
127
148
|
/*handleShare*/
|
|
128
|
-
t[
|
|
129
|
-
),
|
|
149
|
+
t[21]
|
|
150
|
+
), r.$on(
|
|
130
151
|
"resize",
|
|
131
152
|
/*handleContentResize*/
|
|
132
|
-
t[
|
|
153
|
+
t[22]
|
|
133
154
|
), {
|
|
134
155
|
c() {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
156
|
+
i = R("div"), o = R("div"), Et(r.$$.fragment), M(o, "class", "tag-popover-content svelte-11cjg3j"), x(
|
|
157
|
+
o,
|
|
158
|
+
"audio-tag-popover",
|
|
159
|
+
/*isAudioTag*/
|
|
160
|
+
t[11]
|
|
161
|
+
), M(i, "class", f = "tag-popover tag-popover-" + /*effectiveTheme*/
|
|
162
|
+
t[18] + " tag-popover-" + /*adjustedPlacement*/
|
|
163
|
+
t[8] + " svelte-11cjg3j"), M(i, "data-tag-id", w = /*tag*/
|
|
164
|
+
t[0].id), T(
|
|
165
|
+
i,
|
|
140
166
|
"z-index",
|
|
141
167
|
/*zIndex*/
|
|
142
|
-
t[
|
|
143
|
-
),
|
|
144
|
-
|
|
168
|
+
t[17]
|
|
169
|
+
), T(
|
|
170
|
+
i,
|
|
145
171
|
"left",
|
|
146
172
|
/*finalPosition*/
|
|
147
|
-
t[
|
|
148
|
-
),
|
|
149
|
-
|
|
173
|
+
t[14].x + "px"
|
|
174
|
+
), T(
|
|
175
|
+
i,
|
|
150
176
|
"top",
|
|
151
177
|
/*finalPosition*/
|
|
152
|
-
t[
|
|
178
|
+
t[14].y + "px"
|
|
153
179
|
);
|
|
154
180
|
},
|
|
155
|
-
m(
|
|
156
|
-
|
|
157
|
-
|
|
181
|
+
m(d, l) {
|
|
182
|
+
rt(d, i, l), It(i, o), Mt(r, o, null), t[35](o), t[36](i), h = !0, _ || (j = [
|
|
183
|
+
V(
|
|
158
184
|
o,
|
|
159
185
|
"mouseenter",
|
|
160
186
|
/*mouseenter_handler*/
|
|
161
|
-
t[
|
|
187
|
+
t[33]
|
|
162
188
|
),
|
|
163
|
-
|
|
189
|
+
V(
|
|
164
190
|
o,
|
|
165
191
|
"mouseleave",
|
|
166
192
|
/*mouseleave_handler*/
|
|
167
|
-
t[
|
|
193
|
+
t[34]
|
|
168
194
|
),
|
|
169
|
-
|
|
195
|
+
V(
|
|
170
196
|
o,
|
|
171
197
|
"click",
|
|
172
198
|
/*handleClick*/
|
|
173
|
-
t[
|
|
199
|
+
t[23]
|
|
174
200
|
)
|
|
175
201
|
], _ = !0);
|
|
176
202
|
},
|
|
177
|
-
p(
|
|
178
|
-
t =
|
|
179
|
-
const
|
|
203
|
+
p(d, l) {
|
|
204
|
+
t = d;
|
|
205
|
+
const p = {};
|
|
180
206
|
l[0] & /*showArrow*/
|
|
181
|
-
|
|
182
|
-
t[
|
|
183
|
-
|
|
184
|
-
t[
|
|
185
|
-
|
|
186
|
-
t[
|
|
187
|
-
|
|
188
|
-
t[
|
|
189
|
-
1 && (
|
|
207
|
+
8192 && (p.showArrow = /*showArrow*/
|
|
208
|
+
t[13]), l[0] & /*arrowDirection*/
|
|
209
|
+
4096 && (p.arrowDirection = /*arrowDirection*/
|
|
210
|
+
t[12]), l[0] & /*effectiveTheme*/
|
|
211
|
+
262144 && (p.effectiveTheme = /*effectiveTheme*/
|
|
212
|
+
t[18]), l[0] & /*adjustedPlacement*/
|
|
213
|
+
256 && (p.adjustedPlacement = /*adjustedPlacement*/
|
|
214
|
+
t[8]), l[0] & /*tag*/
|
|
215
|
+
1 && (p.tag = /*tag*/
|
|
190
216
|
t[0]), l[0] & /*config*/
|
|
191
|
-
2 && (
|
|
217
|
+
2 && (p.config = /*config*/
|
|
192
218
|
t[1]), l[0] & /*theme*/
|
|
193
|
-
4 && (
|
|
219
|
+
4 && (p.theme = /*theme*/
|
|
194
220
|
t[2]), l[0] & /*toolbar*/
|
|
195
|
-
|
|
196
|
-
t[
|
|
197
|
-
|
|
198
|
-
t[
|
|
199
|
-
|
|
221
|
+
65536 && (p.toolbar = /*toolbar*/
|
|
222
|
+
t[16]), l[0] & /*audioInstance*/
|
|
223
|
+
16 && (p.audioInstance = /*audioInstance*/
|
|
224
|
+
t[4]), l[0] & /*audioPlaying*/
|
|
225
|
+
32 && (p.audioPlaying = /*audioPlaying*/
|
|
226
|
+
t[5]), l[0] & /*audioCurrentTime*/
|
|
227
|
+
64 && (p.audioCurrentTime = /*audioCurrentTime*/
|
|
228
|
+
t[6]), l[0] & /*audioDuration*/
|
|
229
|
+
128 && (p.audioDuration = /*audioDuration*/
|
|
230
|
+
t[7]), r.$set(p), (!h || l[0] & /*isAudioTag*/
|
|
231
|
+
2048) && x(
|
|
232
|
+
o,
|
|
233
|
+
"audio-tag-popover",
|
|
234
|
+
/*isAudioTag*/
|
|
235
|
+
t[11]
|
|
236
|
+
), (!h || l[0] & /*effectiveTheme, adjustedPlacement*/
|
|
237
|
+
262400 && f !== (f = "tag-popover tag-popover-" + /*effectiveTheme*/
|
|
238
|
+
t[18] + " tag-popover-" + /*adjustedPlacement*/
|
|
239
|
+
t[8] + " svelte-11cjg3j")) && M(i, "class", f), (!h || l[0] & /*tag*/
|
|
200
240
|
1 && w !== (w = /*tag*/
|
|
201
|
-
t[0].id)) &&
|
|
202
|
-
|
|
203
|
-
|
|
241
|
+
t[0].id)) && M(i, "data-tag-id", w), (!h || l[0] & /*zIndex*/
|
|
242
|
+
131072) && T(
|
|
243
|
+
i,
|
|
204
244
|
"z-index",
|
|
205
245
|
/*zIndex*/
|
|
206
|
-
t[
|
|
246
|
+
t[17]
|
|
207
247
|
), (!h || l[0] & /*finalPosition*/
|
|
208
|
-
|
|
209
|
-
|
|
248
|
+
16384) && T(
|
|
249
|
+
i,
|
|
210
250
|
"left",
|
|
211
251
|
/*finalPosition*/
|
|
212
|
-
t[
|
|
252
|
+
t[14].x + "px"
|
|
213
253
|
), (!h || l[0] & /*finalPosition*/
|
|
214
|
-
|
|
215
|
-
|
|
254
|
+
16384) && T(
|
|
255
|
+
i,
|
|
216
256
|
"top",
|
|
217
257
|
/*finalPosition*/
|
|
218
|
-
t[
|
|
258
|
+
t[14].y + "px"
|
|
219
259
|
);
|
|
220
260
|
},
|
|
221
|
-
i(
|
|
222
|
-
h || (H(
|
|
223
|
-
h && (n || (n =
|
|
261
|
+
i(d) {
|
|
262
|
+
h || (H(r.$$.fragment, d), St(() => {
|
|
263
|
+
h && (n || (n = $(
|
|
224
264
|
o,
|
|
225
265
|
/*fadeAndFly*/
|
|
226
|
-
t[
|
|
266
|
+
t[19],
|
|
227
267
|
{
|
|
228
268
|
duration: (
|
|
229
269
|
/*transitionDuration*/
|
|
230
|
-
t[
|
|
270
|
+
t[15]
|
|
231
271
|
),
|
|
232
272
|
easing: G,
|
|
233
273
|
y: (
|
|
234
274
|
/*arrowDirection*/
|
|
235
|
-
t[
|
|
275
|
+
t[12] === "top" ? -8 : (
|
|
236
276
|
/*arrowDirection*/
|
|
237
|
-
t[
|
|
277
|
+
t[12] === "bottom" ? 8 : 0
|
|
238
278
|
)
|
|
239
279
|
),
|
|
240
280
|
x: (
|
|
241
281
|
/*arrowDirection*/
|
|
242
|
-
t[
|
|
282
|
+
t[12] === "left" ? -8 : (
|
|
243
283
|
/*arrowDirection*/
|
|
244
|
-
t[
|
|
284
|
+
t[12] === "right" ? 8 : 0
|
|
245
285
|
)
|
|
246
286
|
)
|
|
247
287
|
},
|
|
@@ -249,89 +289,89 @@ function R(t) {
|
|
|
249
289
|
)), n.run(1));
|
|
250
290
|
}), h = !0);
|
|
251
291
|
},
|
|
252
|
-
o(
|
|
253
|
-
|
|
292
|
+
o(d) {
|
|
293
|
+
q(r.$$.fragment, d), n || (n = $(
|
|
254
294
|
o,
|
|
255
295
|
/*fadeAndFly*/
|
|
256
|
-
t[
|
|
296
|
+
t[19],
|
|
257
297
|
{
|
|
258
298
|
duration: (
|
|
259
299
|
/*transitionDuration*/
|
|
260
|
-
t[
|
|
300
|
+
t[15]
|
|
261
301
|
),
|
|
262
302
|
easing: G,
|
|
263
303
|
y: (
|
|
264
304
|
/*arrowDirection*/
|
|
265
|
-
t[
|
|
305
|
+
t[12] === "top" ? -8 : (
|
|
266
306
|
/*arrowDirection*/
|
|
267
|
-
t[
|
|
307
|
+
t[12] === "bottom" ? 8 : 0
|
|
268
308
|
)
|
|
269
309
|
),
|
|
270
310
|
x: (
|
|
271
311
|
/*arrowDirection*/
|
|
272
|
-
t[
|
|
312
|
+
t[12] === "left" ? -8 : (
|
|
273
313
|
/*arrowDirection*/
|
|
274
|
-
t[
|
|
314
|
+
t[12] === "right" ? 8 : 0
|
|
275
315
|
)
|
|
276
316
|
)
|
|
277
317
|
},
|
|
278
318
|
!1
|
|
279
319
|
)), n.run(0), h = !1;
|
|
280
320
|
},
|
|
281
|
-
d(
|
|
282
|
-
|
|
321
|
+
d(d) {
|
|
322
|
+
d && nt(i), At(r), t[35](null), d && n && n.end(), t[36](null), _ = !1, zt(j);
|
|
283
323
|
}
|
|
284
324
|
};
|
|
285
325
|
}
|
|
286
|
-
function
|
|
287
|
-
let
|
|
326
|
+
function Wt(t) {
|
|
327
|
+
let i, o, r = (
|
|
288
328
|
/*visible*/
|
|
289
329
|
t[3] && /*finalPosition*/
|
|
290
|
-
t[
|
|
330
|
+
t[14] && it(t)
|
|
291
331
|
);
|
|
292
332
|
return {
|
|
293
333
|
c() {
|
|
294
|
-
|
|
334
|
+
r && r.c(), i = yt();
|
|
295
335
|
},
|
|
296
|
-
m(n,
|
|
297
|
-
|
|
336
|
+
m(n, f) {
|
|
337
|
+
r && r.m(n, f), rt(n, i, f), o = !0;
|
|
298
338
|
},
|
|
299
|
-
p(n,
|
|
339
|
+
p(n, f) {
|
|
300
340
|
/*visible*/
|
|
301
341
|
n[3] && /*finalPosition*/
|
|
302
|
-
n[
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}),
|
|
342
|
+
n[14] ? r ? (r.p(n, f), f[0] & /*visible, finalPosition*/
|
|
343
|
+
16392 && H(r, 1)) : (r = it(n), r.c(), H(r, 1), r.m(i.parentNode, i)) : r && (Bt(), q(r, 1, 1, () => {
|
|
344
|
+
r = null;
|
|
345
|
+
}), Pt());
|
|
306
346
|
},
|
|
307
347
|
i(n) {
|
|
308
|
-
o || (H(
|
|
348
|
+
o || (H(r), o = !0);
|
|
309
349
|
},
|
|
310
350
|
o(n) {
|
|
311
|
-
|
|
351
|
+
q(r), o = !1;
|
|
312
352
|
},
|
|
313
353
|
d(n) {
|
|
314
|
-
|
|
354
|
+
r && r.d(n), n && nt(i);
|
|
315
355
|
}
|
|
316
356
|
};
|
|
317
357
|
}
|
|
318
|
-
function
|
|
319
|
-
let
|
|
320
|
-
const
|
|
321
|
-
let { tag: u } =
|
|
322
|
-
const
|
|
323
|
-
let W, v = { width: 0, height: 0 },
|
|
324
|
-
function
|
|
358
|
+
function Ft(t, i, o) {
|
|
359
|
+
let r, n, f, w, h, _, j, d, l, p;
|
|
360
|
+
const k = Ct("hooks");
|
|
361
|
+
let { tag: u } = i, { config: m = {} } = i, { triggerElement: y } = i, { wrapperElement: s = document.body } = i, { popoverContainer: D = null } = i, { theme: S = void 0 } = i, { visible: J = !0 } = i, { closePopover: A = void 0 } = i, { audioInstance: K = null } = i, { audioPlaying: L = !1 } = i, { audioCurrentTime: Q = 0 } = i, { audioDuration: X = 0 } = i;
|
|
362
|
+
const at = Tt();
|
|
363
|
+
let W, v = { width: 0, height: 0 }, F = null, b = n;
|
|
364
|
+
function lt(e, { duration: a = 400, easing: E = G, x: O = 0, y: U = 0 }) {
|
|
325
365
|
return {
|
|
326
|
-
duration:
|
|
327
|
-
css: (
|
|
328
|
-
opacity: ${
|
|
329
|
-
transform: translate(${
|
|
366
|
+
duration: a,
|
|
367
|
+
css: (I, c) => `
|
|
368
|
+
opacity: ${I};
|
|
369
|
+
transform: translate(${c * O}px, ${c * U}px);
|
|
330
370
|
`
|
|
331
371
|
};
|
|
332
372
|
}
|
|
333
|
-
const
|
|
334
|
-
if (!u.screenPosition || !y || !
|
|
373
|
+
const z = () => {
|
|
374
|
+
if (!u.screenPosition || !y || !s)
|
|
335
375
|
return n;
|
|
336
376
|
const e = (m == null ? void 0 : m.autoPlacementBaseSpace) || {
|
|
337
377
|
top: 0.2,
|
|
@@ -340,111 +380,111 @@ function Bt(t, r, o) {
|
|
|
340
380
|
// 底部区域占比20%
|
|
341
381
|
right: 0.15
|
|
342
382
|
// 右侧区域占比15%
|
|
343
|
-
},
|
|
344
|
-
return
|
|
345
|
-
},
|
|
383
|
+
}, a = s.clientWidth, E = s.clientHeight, O = E * e.top, U = E * (1 - e.bottom), I = a * (1 - e.right), c = u.screenPosition.leftPx, P = u.screenPosition.topPx, C = v.width || 280, N = v.height || 200;
|
|
384
|
+
return P <= O ? c <= I ? c + C <= a && P + N <= E ? "right-top" : "bottom-left" : c - C >= 0 && P + N <= E ? "left-top" : "bottom-right" : P >= U ? c <= I ? c + C <= a && P - N >= 0 ? "right-bottom" : "top-left" : c - C >= 0 && P - N >= 0 ? "left-bottom" : "top-right" : c <= I ? c + C <= a ? "right-top" : "left-top" : c - C >= 0 ? "left-top" : "right-top";
|
|
385
|
+
}, mt = (e, a) => {
|
|
346
386
|
switch (e) {
|
|
347
387
|
case "top":
|
|
348
388
|
case "top-left":
|
|
349
389
|
case "top-right":
|
|
350
390
|
return {
|
|
351
|
-
x:
|
|
352
|
-
y:
|
|
391
|
+
x: a.left + a.width / 2,
|
|
392
|
+
y: a.top
|
|
353
393
|
};
|
|
354
394
|
case "bottom":
|
|
355
395
|
case "bottom-left":
|
|
356
396
|
case "bottom-right":
|
|
357
397
|
return {
|
|
358
|
-
x:
|
|
359
|
-
y:
|
|
398
|
+
x: a.left + a.width / 2,
|
|
399
|
+
y: a.top + a.height
|
|
360
400
|
};
|
|
361
401
|
case "left":
|
|
362
402
|
case "left-top":
|
|
363
403
|
case "left-bottom":
|
|
364
404
|
return {
|
|
365
|
-
x:
|
|
366
|
-
y:
|
|
405
|
+
x: a.left,
|
|
406
|
+
y: a.top + a.height / 2
|
|
367
407
|
};
|
|
368
408
|
case "right":
|
|
369
409
|
case "right-top":
|
|
370
410
|
case "right-bottom":
|
|
371
411
|
return {
|
|
372
|
-
x:
|
|
373
|
-
y:
|
|
412
|
+
x: a.left + a.width,
|
|
413
|
+
y: a.top + a.height / 2
|
|
374
414
|
};
|
|
375
415
|
default:
|
|
376
416
|
return {
|
|
377
|
-
x:
|
|
378
|
-
y:
|
|
417
|
+
x: a.left + a.width / 2,
|
|
418
|
+
y: a.top
|
|
379
419
|
};
|
|
380
420
|
}
|
|
381
|
-
},
|
|
382
|
-
|
|
421
|
+
}, pt = (e) => {
|
|
422
|
+
B(), k && k.emit("click", {
|
|
383
423
|
event: e.detail.event,
|
|
384
424
|
target: "TagPopoverViewMore",
|
|
385
425
|
tag: u
|
|
386
426
|
});
|
|
387
|
-
},
|
|
388
|
-
|
|
427
|
+
}, ut = (e) => {
|
|
428
|
+
B(), k && k.emit("click", {
|
|
389
429
|
event: e.detail.event,
|
|
390
430
|
target: "TagPopoverShare",
|
|
391
431
|
tag: u
|
|
392
432
|
});
|
|
393
|
-
},
|
|
394
|
-
o(
|
|
395
|
-
},
|
|
396
|
-
|
|
433
|
+
}, ft = (e) => {
|
|
434
|
+
o(29, v = e.detail), v.width > 0 && v.height > 0 && o(8, b = z());
|
|
435
|
+
}, st = (e) => {
|
|
436
|
+
p || B(), e.stopPropagation(), k.emit("click", { event: e, target: "TagPopoverContent", tag: u });
|
|
397
437
|
};
|
|
398
|
-
let
|
|
399
|
-
function
|
|
400
|
-
|
|
438
|
+
let g = null, Y = !1;
|
|
439
|
+
function Z() {
|
|
440
|
+
D && g && g.parentNode !== D && D.appendChild(g);
|
|
401
441
|
}
|
|
402
|
-
|
|
403
|
-
(!
|
|
404
|
-
}),
|
|
405
|
-
|
|
406
|
-
}),
|
|
407
|
-
|
|
442
|
+
jt(() => {
|
|
443
|
+
(!s || s === document.body) && console.warn("TagPopover 组件警告:禁止使用 document.body 作为 wrapperElement,请传入自定义容器元素。"), Y = !0, Z(), s && s !== document.body && o(25, s.style.overflow = "hidden", s);
|
|
444
|
+
}), kt(() => {
|
|
445
|
+
Y && Z();
|
|
446
|
+
}), Dt(() => {
|
|
447
|
+
g && g.parentNode && g.parentNode.removeChild(g), s && s !== document.body && o(25, s.style.overflow = "", s);
|
|
408
448
|
});
|
|
409
|
-
function
|
|
410
|
-
typeof A == "function" && A(),
|
|
449
|
+
function B() {
|
|
450
|
+
typeof A == "function" && A(), at("close");
|
|
411
451
|
}
|
|
412
|
-
function
|
|
413
|
-
|
|
452
|
+
function ht(e) {
|
|
453
|
+
tt.call(this, t, e);
|
|
414
454
|
}
|
|
415
|
-
function
|
|
416
|
-
|
|
455
|
+
function dt(e) {
|
|
456
|
+
tt.call(this, t, e);
|
|
417
457
|
}
|
|
418
|
-
function
|
|
419
|
-
|
|
420
|
-
W = e, o(
|
|
458
|
+
function ct(e) {
|
|
459
|
+
et[e ? "unshift" : "push"](() => {
|
|
460
|
+
W = e, o(9, W);
|
|
421
461
|
});
|
|
422
462
|
}
|
|
423
|
-
function
|
|
424
|
-
|
|
425
|
-
|
|
463
|
+
function gt(e) {
|
|
464
|
+
et[e ? "unshift" : "push"](() => {
|
|
465
|
+
g = e, o(10, g);
|
|
426
466
|
});
|
|
427
467
|
}
|
|
428
468
|
return t.$$set = (e) => {
|
|
429
|
-
"tag" in e && o(0, u = e.tag), "config" in e && o(1, m = e.config), "triggerElement" in e && o(
|
|
469
|
+
"tag" in e && o(0, u = e.tag), "config" in e && o(1, m = e.config), "triggerElement" in e && o(26, y = e.triggerElement), "wrapperElement" in e && o(25, s = e.wrapperElement), "popoverContainer" in e && o(27, D = e.popoverContainer), "theme" in e && o(2, S = e.theme), "visible" in e && o(3, J = e.visible), "closePopover" in e && o(28, A = e.closePopover), "audioInstance" in e && o(4, K = e.audioInstance), "audioPlaying" in e && o(5, L = e.audioPlaying), "audioCurrentTime" in e && o(6, Q = e.audioCurrentTime), "audioDuration" in e && o(7, X = e.audioDuration);
|
|
430
470
|
}, t.$$.update = () => {
|
|
431
471
|
if (t.$$.dirty[0] & /*theme, tag*/
|
|
432
|
-
5 && o(
|
|
433
|
-
2 && o(
|
|
434
|
-
2 && o(
|
|
435
|
-
|
|
436
|
-
2 && o(
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
472
|
+
5 && o(18, r = (() => ot(S) ? S : ot(u.data.theme) && ["light", "dark"].includes(u.data.theme) ? u.data.theme : u.contentType === "Marketing" ? "light" : "dark")()), t.$$.dirty[0] & /*config*/
|
|
473
|
+
2 && o(32, n = (m == null ? void 0 : m.placement) || "right-top"), t.$$.dirty[0] & /*config*/
|
|
474
|
+
2 && o(16, h = (() => typeof (m == null ? void 0 : m.toolbar) == "boolean" ? m.toolbar ? { showMore: !0, showShare: !0 } : { showMore: !1, showShare: !1 } : (m == null ? void 0 : m.toolbar) || { showMore: !0, showShare: !0 })()), t.$$.dirty[1] & /*placement*/
|
|
475
|
+
2 && (n === "auto" ? o(8, b = z()) : o(8, b = n)), t.$$.dirty[0] & /*config*/
|
|
476
|
+
2 && o(15, _ = (m == null ? void 0 : m.transitionDuration) || 350), t.$$.dirty[0] & /*tag, triggerElement*/
|
|
477
|
+
67108865 && u.screenPosition && y && o(8, b = z()), t.$$.dirty[0] & /*popoverContentElementRect*/
|
|
478
|
+
536870912 && v.width > 0 && v.height > 0 && o(8, b = z()), t.$$.dirty[0] & /*tag, adjustedPlacement, triggerElement*/
|
|
479
|
+
67109121 && u.screenPosition && b && y) {
|
|
440
480
|
const e = y.getBoundingClientRect();
|
|
441
|
-
e.width > 0 && e.height > 0 && o(
|
|
481
|
+
e.width > 0 && e.height > 0 && o(30, F = mt(b, e));
|
|
442
482
|
}
|
|
443
483
|
t.$$.dirty[0] & /*anchorPosition*/
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
switch (
|
|
484
|
+
1073741824 && o(14, j = F), t.$$.dirty[1] & /*arrow*/
|
|
485
|
+
1 && o(13, d = typeof f == "boolean" ? f : !0), t.$$.dirty[0] & /*adjustedPlacement*/
|
|
486
|
+
256 && o(12, l = (() => {
|
|
487
|
+
switch (b) {
|
|
448
488
|
case "top":
|
|
449
489
|
case "top-left":
|
|
450
490
|
case "top-right":
|
|
@@ -464,65 +504,75 @@ function Bt(t, r, o) {
|
|
|
464
504
|
default:
|
|
465
505
|
return "bottom";
|
|
466
506
|
}
|
|
467
|
-
})())
|
|
468
|
-
|
|
507
|
+
})()), t.$$.dirty[0] & /*tag*/
|
|
508
|
+
1 && o(11, p = u.contentType === "Audio" && u.data.appearance === "plane");
|
|
509
|
+
}, o(31, f = !0), o(17, w = 1060), [
|
|
469
510
|
u,
|
|
470
511
|
m,
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
512
|
+
S,
|
|
513
|
+
J,
|
|
514
|
+
K,
|
|
515
|
+
L,
|
|
516
|
+
Q,
|
|
517
|
+
X,
|
|
475
518
|
b,
|
|
519
|
+
W,
|
|
520
|
+
g,
|
|
521
|
+
p,
|
|
476
522
|
l,
|
|
477
|
-
|
|
478
|
-
|
|
523
|
+
d,
|
|
524
|
+
j,
|
|
479
525
|
_,
|
|
480
526
|
h,
|
|
481
527
|
w,
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
rt,
|
|
485
|
-
it,
|
|
486
|
-
nt,
|
|
528
|
+
r,
|
|
529
|
+
lt,
|
|
487
530
|
pt,
|
|
488
|
-
|
|
489
|
-
|
|
531
|
+
ut,
|
|
532
|
+
ft,
|
|
533
|
+
st,
|
|
534
|
+
B,
|
|
535
|
+
s,
|
|
490
536
|
y,
|
|
491
|
-
|
|
537
|
+
D,
|
|
492
538
|
A,
|
|
493
539
|
v,
|
|
494
|
-
|
|
495
|
-
|
|
540
|
+
F,
|
|
541
|
+
f,
|
|
496
542
|
n,
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
543
|
+
ht,
|
|
544
|
+
dt,
|
|
545
|
+
ct,
|
|
546
|
+
gt
|
|
501
547
|
];
|
|
502
548
|
}
|
|
503
|
-
class
|
|
504
|
-
constructor(
|
|
505
|
-
super(),
|
|
549
|
+
class so extends bt {
|
|
550
|
+
constructor(i) {
|
|
551
|
+
super(), vt(
|
|
506
552
|
this,
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
553
|
+
i,
|
|
554
|
+
Ft,
|
|
555
|
+
Wt,
|
|
556
|
+
wt,
|
|
511
557
|
{
|
|
512
558
|
tag: 0,
|
|
513
559
|
config: 1,
|
|
514
|
-
triggerElement:
|
|
515
|
-
wrapperElement:
|
|
516
|
-
popoverContainer:
|
|
560
|
+
triggerElement: 26,
|
|
561
|
+
wrapperElement: 25,
|
|
562
|
+
popoverContainer: 27,
|
|
517
563
|
theme: 2,
|
|
518
564
|
visible: 3,
|
|
519
|
-
closePopover:
|
|
565
|
+
closePopover: 28,
|
|
566
|
+
audioInstance: 4,
|
|
567
|
+
audioPlaying: 5,
|
|
568
|
+
audioCurrentTime: 6,
|
|
569
|
+
audioDuration: 7
|
|
520
570
|
},
|
|
521
|
-
|
|
571
|
+
Ht,
|
|
522
572
|
[-1, -1]
|
|
523
573
|
);
|
|
524
574
|
}
|
|
525
575
|
}
|
|
526
576
|
export {
|
|
527
|
-
|
|
577
|
+
so as default
|
|
528
578
|
};
|