@realsee/dnalogel 3.66.2 → 3.66.5-alpha.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 +7 -0
- package/dist/index.cjs.js +39 -39
- package/dist/index.js +2572 -2556
- package/dist/index.umd.js +39 -39
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- 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/GuideLinePlugin/Controller.js +33 -30
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverArrow.js +33 -33
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +464 -464
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +169 -185
- package/libs/PanoTagPlugin/Components/TagItem.js +182 -164
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +2 -2
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var L = Object.getOwnPropertySymbols;
|
|
3
|
-
var bt = Object.prototype.hasOwnProperty, gt = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var Q = (t, i, e) => i in t ? dt(t, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[i] = e, X = (t, i) => {
|
|
5
|
-
for (var e in i || (i = {}))
|
|
6
|
-
bt.call(i, e) && Q(t, e, i[e]);
|
|
7
|
-
if (L)
|
|
8
|
-
for (var e of L(i))
|
|
9
|
-
gt.call(i, e) && Q(t, e, i[e]);
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { SvelteComponent as vt, init as wt, safe_not_equal as _t, append_styles as yt, empty as kt, insert as et, transition_in as W, transition_out as q, check_outros as Pt, detach as ot, getContext as Ct, createEventDispatcher as Et, onMount as zt, afterUpdate as Tt, onDestroy as Mt, element as Y, create_component as St, attr as D, set_style as z, append as Dt, mount_component as At, listen as V, add_render_callback as Bt, create_bidirectional_transition as Z, destroy_component as Nt, run_all as jt, group_outros as Ht, bubble as R, binding_callbacks as x } from "../../../../vendor/svelte/internal/index.js";
|
|
1
|
+
import { SvelteComponent as ft, init as ut, safe_not_equal as ht, append_styles as ct, empty as dt, insert as x, transition_in as H, transition_out as F, check_outros as bt, detach as $, getContext as gt, createEventDispatcher as vt, onMount as wt, afterUpdate as _t, onDestroy as yt, element as L, create_component as kt, attr as S, set_style as C, append as Pt, mount_component as Ct, listen as q, add_render_callback as Et, create_bidirectional_transition as Q, destroy_component as zt, run_all as Tt, group_outros as Mt, bubble as X, binding_callbacks as Y } from "../../../../vendor/svelte/internal/index.js";
|
|
13
2
|
import { cubicOut as G } from "../../../../vendor/svelte/easing/index.js";
|
|
14
3
|
import "../../../../shared-utils/tag.js";
|
|
15
4
|
import "three";
|
|
@@ -18,14 +7,14 @@ import "../../../../shared-utils/three/PointSelector/index.js";
|
|
|
18
7
|
import "../../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
19
8
|
import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
20
9
|
import "@realsee/five/line";
|
|
21
|
-
import { notNil as
|
|
10
|
+
import { notNil as Z } from "../../../../shared-utils/isNil.js";
|
|
22
11
|
import "../../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
23
12
|
import "../../../../shared-utils/three/core/Sphere.js";
|
|
24
13
|
import "../../../../vendor/animejs/lib/anime.es.js";
|
|
25
14
|
import "../../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
15
|
import "../../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
27
16
|
import "../../../../shared-utils/five/FivePuppet.js";
|
|
28
|
-
import
|
|
17
|
+
import St from "./PopoverContent.js";
|
|
29
18
|
import "../../../../shared-utils/positionToVector3.js";
|
|
30
19
|
import "../../../../shared-utils/five/vector3ToScreen.js";
|
|
31
20
|
import "../../../../shared-utils/five/getFiveModel.js";
|
|
@@ -85,12 +74,12 @@ import "../../../utils/videoHelper.js";
|
|
|
85
74
|
import "./TagPopoverToolBar.js";
|
|
86
75
|
import "./ArrowRightIcon.js";
|
|
87
76
|
import "./ShareIcon.js";
|
|
88
|
-
function
|
|
89
|
-
|
|
77
|
+
function Dt(t) {
|
|
78
|
+
ct(t, "svelte-12m4kzk", ".tag-popover.svelte-12m4kzk{position:absolute;z-index:1000010;pointer-events:auto;width:auto;height:auto;padding:0;margin:0;visibility:visible;opacity:1}.tag-popover-content.svelte-12m4kzk{cursor:pointer;pointer-events:auto}");
|
|
90
79
|
}
|
|
91
|
-
function
|
|
92
|
-
let
|
|
93
|
-
return
|
|
80
|
+
function R(t) {
|
|
81
|
+
let r, o, i, n, a, w, h, _, E;
|
|
82
|
+
return i = new St({
|
|
94
83
|
props: {
|
|
95
84
|
showArrow: (
|
|
96
85
|
/*showArrow*/
|
|
@@ -129,61 +118,61 @@ function tt(t) {
|
|
|
129
118
|
t[19]
|
|
130
119
|
)
|
|
131
120
|
}
|
|
132
|
-
}),
|
|
121
|
+
}), i.$on(
|
|
133
122
|
"viewMore",
|
|
134
123
|
/*handleViewMore*/
|
|
135
124
|
t[15]
|
|
136
|
-
),
|
|
125
|
+
), i.$on(
|
|
137
126
|
"share",
|
|
138
127
|
/*handleShare*/
|
|
139
128
|
t[16]
|
|
140
|
-
),
|
|
129
|
+
), i.$on(
|
|
141
130
|
"resize",
|
|
142
131
|
/*handleContentResize*/
|
|
143
132
|
t[17]
|
|
144
133
|
), {
|
|
145
134
|
c() {
|
|
146
|
-
|
|
135
|
+
r = L("div"), o = L("div"), kt(i.$$.fragment), S(o, "class", "tag-popover-content svelte-12m4kzk"), S(r, "class", a = "tag-popover tag-popover-" + /*effectiveTheme*/
|
|
147
136
|
t[13] + " tag-popover-" + /*adjustedPlacement*/
|
|
148
|
-
t[4] + " svelte-12m4kzk"),
|
|
149
|
-
t[0].id),
|
|
150
|
-
|
|
137
|
+
t[4] + " svelte-12m4kzk"), S(r, "data-tag-id", w = /*tag*/
|
|
138
|
+
t[0].id), C(
|
|
139
|
+
r,
|
|
151
140
|
"z-index",
|
|
152
141
|
/*zIndex*/
|
|
153
142
|
t[12]
|
|
154
|
-
),
|
|
155
|
-
|
|
143
|
+
), C(
|
|
144
|
+
r,
|
|
156
145
|
"left",
|
|
157
146
|
/*finalPosition*/
|
|
158
147
|
t[9].x + "px"
|
|
159
|
-
),
|
|
160
|
-
|
|
148
|
+
), C(
|
|
149
|
+
r,
|
|
161
150
|
"top",
|
|
162
151
|
/*finalPosition*/
|
|
163
152
|
t[9].y + "px"
|
|
164
153
|
);
|
|
165
154
|
},
|
|
166
155
|
m(c, l) {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
156
|
+
x(c, r, l), Pt(r, o), Ct(i, o, null), t[30](o), t[31](r), h = !0, _ || (E = [
|
|
157
|
+
q(
|
|
158
|
+
o,
|
|
170
159
|
"mouseenter",
|
|
171
160
|
/*mouseenter_handler*/
|
|
172
161
|
t[28]
|
|
173
162
|
),
|
|
174
|
-
|
|
175
|
-
|
|
163
|
+
q(
|
|
164
|
+
o,
|
|
176
165
|
"mouseleave",
|
|
177
166
|
/*mouseleave_handler*/
|
|
178
167
|
t[29]
|
|
179
168
|
),
|
|
180
|
-
|
|
181
|
-
|
|
169
|
+
q(
|
|
170
|
+
o,
|
|
182
171
|
"click",
|
|
183
172
|
/*handleClick*/
|
|
184
173
|
t[18]
|
|
185
174
|
)
|
|
186
|
-
],
|
|
175
|
+
], _ = !0);
|
|
187
176
|
},
|
|
188
177
|
p(c, l) {
|
|
189
178
|
t = c;
|
|
@@ -204,35 +193,35 @@ function tt(t) {
|
|
|
204
193
|
4 && (s.theme = /*theme*/
|
|
205
194
|
t[2]), l[0] & /*toolbar*/
|
|
206
195
|
2048 && (s.toolbar = /*toolbar*/
|
|
207
|
-
t[11]),
|
|
196
|
+
t[11]), i.$set(s), (!h || l[0] & /*effectiveTheme, adjustedPlacement*/
|
|
208
197
|
8208 && a !== (a = "tag-popover tag-popover-" + /*effectiveTheme*/
|
|
209
198
|
t[13] + " tag-popover-" + /*adjustedPlacement*/
|
|
210
|
-
t[4] + " svelte-12m4kzk")) &&
|
|
211
|
-
1 &&
|
|
212
|
-
t[0].id)) &&
|
|
213
|
-
4096) &&
|
|
214
|
-
|
|
199
|
+
t[4] + " svelte-12m4kzk")) && S(r, "class", a), (!h || l[0] & /*tag*/
|
|
200
|
+
1 && w !== (w = /*tag*/
|
|
201
|
+
t[0].id)) && S(r, "data-tag-id", w), (!h || l[0] & /*zIndex*/
|
|
202
|
+
4096) && C(
|
|
203
|
+
r,
|
|
215
204
|
"z-index",
|
|
216
205
|
/*zIndex*/
|
|
217
206
|
t[12]
|
|
218
207
|
), (!h || l[0] & /*finalPosition*/
|
|
219
|
-
512) &&
|
|
220
|
-
|
|
208
|
+
512) && C(
|
|
209
|
+
r,
|
|
221
210
|
"left",
|
|
222
211
|
/*finalPosition*/
|
|
223
212
|
t[9].x + "px"
|
|
224
213
|
), (!h || l[0] & /*finalPosition*/
|
|
225
|
-
512) &&
|
|
226
|
-
|
|
214
|
+
512) && C(
|
|
215
|
+
r,
|
|
227
216
|
"top",
|
|
228
217
|
/*finalPosition*/
|
|
229
218
|
t[9].y + "px"
|
|
230
219
|
);
|
|
231
220
|
},
|
|
232
221
|
i(c) {
|
|
233
|
-
h || (
|
|
234
|
-
h && (
|
|
235
|
-
|
|
222
|
+
h || (H(i.$$.fragment, c), Et(() => {
|
|
223
|
+
h && (n || (n = Q(
|
|
224
|
+
o,
|
|
236
225
|
/*fadeAndFly*/
|
|
237
226
|
t[14],
|
|
238
227
|
{
|
|
@@ -257,12 +246,12 @@ function tt(t) {
|
|
|
257
246
|
)
|
|
258
247
|
},
|
|
259
248
|
!0
|
|
260
|
-
)),
|
|
249
|
+
)), n.run(1));
|
|
261
250
|
}), h = !0);
|
|
262
251
|
},
|
|
263
252
|
o(c) {
|
|
264
|
-
|
|
265
|
-
|
|
253
|
+
F(i.$$.fragment, c), n || (n = Q(
|
|
254
|
+
o,
|
|
266
255
|
/*fadeAndFly*/
|
|
267
256
|
t[14],
|
|
268
257
|
{
|
|
@@ -287,180 +276,175 @@ function tt(t) {
|
|
|
287
276
|
)
|
|
288
277
|
},
|
|
289
278
|
!1
|
|
290
|
-
)),
|
|
279
|
+
)), n.run(0), h = !1;
|
|
291
280
|
},
|
|
292
281
|
d(c) {
|
|
293
|
-
c &&
|
|
282
|
+
c && $(r), zt(i), t[30](null), c && n && n.end(), t[31](null), _ = !1, Tt(E);
|
|
294
283
|
}
|
|
295
284
|
};
|
|
296
285
|
}
|
|
297
|
-
function
|
|
298
|
-
let
|
|
286
|
+
function At(t) {
|
|
287
|
+
let r, o, i = (
|
|
299
288
|
/*visible*/
|
|
300
289
|
t[3] && /*finalPosition*/
|
|
301
|
-
t[9] &&
|
|
290
|
+
t[9] && R(t)
|
|
302
291
|
);
|
|
303
292
|
return {
|
|
304
293
|
c() {
|
|
305
|
-
|
|
294
|
+
i && i.c(), r = dt();
|
|
306
295
|
},
|
|
307
|
-
m(
|
|
308
|
-
|
|
296
|
+
m(n, a) {
|
|
297
|
+
i && i.m(n, a), x(n, r, a), o = !0;
|
|
309
298
|
},
|
|
310
|
-
p(
|
|
299
|
+
p(n, a) {
|
|
311
300
|
/*visible*/
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
520 &&
|
|
315
|
-
|
|
316
|
-
}),
|
|
301
|
+
n[3] && /*finalPosition*/
|
|
302
|
+
n[9] ? i ? (i.p(n, a), a[0] & /*visible, finalPosition*/
|
|
303
|
+
520 && H(i, 1)) : (i = R(n), i.c(), H(i, 1), i.m(r.parentNode, r)) : i && (Mt(), F(i, 1, 1, () => {
|
|
304
|
+
i = null;
|
|
305
|
+
}), bt());
|
|
317
306
|
},
|
|
318
|
-
i(
|
|
319
|
-
|
|
307
|
+
i(n) {
|
|
308
|
+
o || (H(i), o = !0);
|
|
320
309
|
},
|
|
321
|
-
o(
|
|
322
|
-
|
|
310
|
+
o(n) {
|
|
311
|
+
F(i), o = !1;
|
|
323
312
|
},
|
|
324
|
-
d(
|
|
325
|
-
|
|
313
|
+
d(n) {
|
|
314
|
+
i && i.d(n), n && $(r);
|
|
326
315
|
}
|
|
327
316
|
};
|
|
328
317
|
}
|
|
329
|
-
function
|
|
330
|
-
let
|
|
331
|
-
const s =
|
|
332
|
-
let { tag: u } =
|
|
333
|
-
const
|
|
334
|
-
let
|
|
335
|
-
function
|
|
318
|
+
function Bt(t, r, o) {
|
|
319
|
+
let i, n, a, w, h, _, E, c, l;
|
|
320
|
+
const s = gt("hooks");
|
|
321
|
+
let { tag: u } = r, { config: m = {} } = r, { triggerElement: y } = r, { wrapperElement: f = document.body } = r, { popoverContainer: z = null } = r, { theme: D = void 0 } = r, { visible: U = !0 } = r, { closePopover: A = void 0 } = r;
|
|
322
|
+
const tt = vt();
|
|
323
|
+
let W, v = { width: 0, height: 0 }, I = null, g = n;
|
|
324
|
+
function et(e, { duration: p = 400, easing: T = G, x: O = 0, y: V = 0 }) {
|
|
336
325
|
return {
|
|
337
|
-
duration:
|
|
338
|
-
css: (
|
|
339
|
-
opacity: ${
|
|
340
|
-
transform: translate(${d *
|
|
326
|
+
duration: p,
|
|
327
|
+
css: (M, d) => `
|
|
328
|
+
opacity: ${M};
|
|
329
|
+
transform: translate(${d * O}px, ${d * V}px);
|
|
341
330
|
`
|
|
342
331
|
};
|
|
343
332
|
}
|
|
344
|
-
const
|
|
345
|
-
if (!u.screenPosition || !
|
|
346
|
-
return
|
|
347
|
-
const
|
|
333
|
+
const B = () => {
|
|
334
|
+
if (!u.screenPosition || !y || !f)
|
|
335
|
+
return n;
|
|
336
|
+
const e = (m == null ? void 0 : m.autoPlacementBaseSpace) || {
|
|
348
337
|
top: 0.2,
|
|
349
338
|
// 顶部区域占比20%
|
|
350
339
|
bottom: 0.2,
|
|
351
340
|
// 底部区域占比20%
|
|
352
341
|
right: 0.15
|
|
353
342
|
// 右侧区域占比15%
|
|
354
|
-
},
|
|
355
|
-
return
|
|
356
|
-
},
|
|
357
|
-
|
|
358
|
-
return null;
|
|
359
|
-
const v = 8, w = X({}, o);
|
|
360
|
-
return ["top", "top-left", "top-right"].includes(n) ? w.y -= v : ["bottom", "bottom-left", "bottom-right"].includes(n) ? w.y += v : ["left", "left-top", "left-bottom"].includes(n) ? w.x -= v : ["right", "right-top", "right-bottom"].includes(n) && (w.x += v), w;
|
|
361
|
-
}, pt = (o, n) => {
|
|
362
|
-
switch (o) {
|
|
343
|
+
}, p = f.clientWidth, T = f.clientHeight, O = T * e.top, V = T * (1 - e.bottom), M = p * (1 - e.right), d = u.screenPosition.leftPx, k = u.screenPosition.topPx, P = v.width || 280, j = v.height || 200;
|
|
344
|
+
return k <= O ? d <= M ? d + P <= p && k + j <= T ? "right-top" : "bottom-left" : d - P >= 0 && k + j <= T ? "left-top" : "bottom-right" : k >= V ? d <= M ? d + P <= p && k - j >= 0 ? "right-bottom" : "top-left" : d - P >= 0 && k - j >= 0 ? "left-bottom" : "top-right" : d <= M ? d + P <= p ? "right-top" : "left-top" : d - P >= 0 ? "left-top" : "right-top";
|
|
345
|
+
}, ot = (e, p) => {
|
|
346
|
+
switch (e) {
|
|
363
347
|
case "top":
|
|
364
348
|
case "top-left":
|
|
365
349
|
case "top-right":
|
|
366
350
|
return {
|
|
367
|
-
x:
|
|
368
|
-
y:
|
|
351
|
+
x: p.left + p.width / 2,
|
|
352
|
+
y: p.top
|
|
369
353
|
};
|
|
370
354
|
case "bottom":
|
|
371
355
|
case "bottom-left":
|
|
372
356
|
case "bottom-right":
|
|
373
357
|
return {
|
|
374
|
-
x:
|
|
375
|
-
y:
|
|
358
|
+
x: p.left + p.width / 2,
|
|
359
|
+
y: p.top + p.height
|
|
376
360
|
};
|
|
377
361
|
case "left":
|
|
378
362
|
case "left-top":
|
|
379
363
|
case "left-bottom":
|
|
380
364
|
return {
|
|
381
|
-
x:
|
|
382
|
-
y:
|
|
365
|
+
x: p.left,
|
|
366
|
+
y: p.top + p.height / 2
|
|
383
367
|
};
|
|
384
368
|
case "right":
|
|
385
369
|
case "right-top":
|
|
386
370
|
case "right-bottom":
|
|
387
371
|
return {
|
|
388
|
-
x:
|
|
389
|
-
y:
|
|
372
|
+
x: p.left + p.width,
|
|
373
|
+
y: p.top + p.height / 2
|
|
390
374
|
};
|
|
391
375
|
default:
|
|
392
376
|
return {
|
|
393
|
-
x:
|
|
394
|
-
y:
|
|
377
|
+
x: p.left + p.width / 2,
|
|
378
|
+
y: p.top
|
|
395
379
|
};
|
|
396
380
|
}
|
|
397
|
-
},
|
|
398
|
-
|
|
399
|
-
event:
|
|
381
|
+
}, rt = (e) => {
|
|
382
|
+
N(), s && s.emit("click", {
|
|
383
|
+
event: e.detail.event,
|
|
400
384
|
target: "TagPopoverViewMore",
|
|
401
385
|
tag: u
|
|
402
386
|
});
|
|
403
|
-
},
|
|
404
|
-
|
|
405
|
-
event:
|
|
387
|
+
}, it = (e) => {
|
|
388
|
+
N(), s && s.emit("click", {
|
|
389
|
+
event: e.detail.event,
|
|
406
390
|
target: "TagPopoverShare",
|
|
407
391
|
tag: u
|
|
408
392
|
});
|
|
409
|
-
},
|
|
410
|
-
|
|
411
|
-
},
|
|
412
|
-
|
|
393
|
+
}, nt = (e) => {
|
|
394
|
+
o(24, v = e.detail), v.width > 0 && v.height > 0 && o(4, g = B());
|
|
395
|
+
}, pt = (e) => {
|
|
396
|
+
N(), e.stopPropagation(), s.emit("click", { event: e, target: "TagPopoverContent", tag: u });
|
|
413
397
|
};
|
|
414
|
-
let
|
|
398
|
+
let b = null, J = !1;
|
|
415
399
|
function K() {
|
|
416
|
-
|
|
400
|
+
z && b && b.parentNode !== z && z.appendChild(b);
|
|
417
401
|
}
|
|
418
|
-
|
|
419
|
-
(!f || f === document.body) && console.warn("TagPopover 组件警告:禁止使用 document.body 作为 wrapperElement,请传入自定义容器元素。"), J = !0, K(), f && f !== document.body &&
|
|
420
|
-
}),
|
|
402
|
+
wt(() => {
|
|
403
|
+
(!f || f === document.body) && console.warn("TagPopover 组件警告:禁止使用 document.body 作为 wrapperElement,请传入自定义容器元素。"), J = !0, K(), f && f !== document.body && o(20, f.style.overflow = "hidden", f);
|
|
404
|
+
}), _t(() => {
|
|
421
405
|
J && K();
|
|
422
|
-
}),
|
|
423
|
-
|
|
406
|
+
}), yt(() => {
|
|
407
|
+
b && b.parentNode && b.parentNode.removeChild(b), f && f !== document.body && o(20, f.style.overflow = "", f);
|
|
424
408
|
});
|
|
425
|
-
function
|
|
426
|
-
typeof
|
|
409
|
+
function N() {
|
|
410
|
+
typeof A == "function" && A(), tt("close");
|
|
427
411
|
}
|
|
428
|
-
function
|
|
429
|
-
|
|
412
|
+
function lt(e) {
|
|
413
|
+
X.call(this, t, e);
|
|
430
414
|
}
|
|
431
|
-
function
|
|
432
|
-
|
|
415
|
+
function mt(e) {
|
|
416
|
+
X.call(this, t, e);
|
|
433
417
|
}
|
|
434
|
-
function
|
|
435
|
-
|
|
436
|
-
|
|
418
|
+
function at(e) {
|
|
419
|
+
Y[e ? "unshift" : "push"](() => {
|
|
420
|
+
W = e, o(5, W);
|
|
437
421
|
});
|
|
438
422
|
}
|
|
439
|
-
function
|
|
440
|
-
|
|
441
|
-
|
|
423
|
+
function st(e) {
|
|
424
|
+
Y[e ? "unshift" : "push"](() => {
|
|
425
|
+
b = e, o(6, b);
|
|
442
426
|
});
|
|
443
427
|
}
|
|
444
|
-
return t.$$set = (
|
|
445
|
-
"tag" in
|
|
428
|
+
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(21, y = e.triggerElement), "wrapperElement" in e && o(20, f = e.wrapperElement), "popoverContainer" in e && o(22, z = e.popoverContainer), "theme" in e && o(2, D = e.theme), "visible" in e && o(3, U = e.visible), "closePopover" in e && o(23, A = e.closePopover);
|
|
446
430
|
}, t.$$.update = () => {
|
|
447
431
|
if (t.$$.dirty[0] & /*theme, tag*/
|
|
448
|
-
5 &&
|
|
449
|
-
2 &&
|
|
450
|
-
2 &&
|
|
451
|
-
134217728 && (
|
|
452
|
-
2 &&
|
|
453
|
-
2097153 && u.screenPosition &&
|
|
454
|
-
16777216 &&
|
|
455
|
-
2097169 && u.screenPosition &&
|
|
456
|
-
const
|
|
457
|
-
e(25, I =
|
|
432
|
+
5 && o(13, i = (() => Z(D) ? D : Z(u.data.theme) && ["light", "dark"].includes(u.data.theme) ? u.data.theme : u.contentType === "Marketing" ? "light" : "dark")()), t.$$.dirty[0] & /*config*/
|
|
433
|
+
2 && o(27, n = (m == null ? void 0 : m.placement) || "right-top"), t.$$.dirty[0] & /*config*/
|
|
434
|
+
2 && o(11, 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[0] & /*placement*/
|
|
435
|
+
134217728 && (n === "auto" ? o(4, g = B()) : o(4, g = n)), t.$$.dirty[0] & /*config*/
|
|
436
|
+
2 && o(10, _ = (m == null ? void 0 : m.transitionDuration) || 350), t.$$.dirty[0] & /*tag, triggerElement*/
|
|
437
|
+
2097153 && u.screenPosition && y && o(4, g = B()), t.$$.dirty[0] & /*popoverContentElementRect*/
|
|
438
|
+
16777216 && v.width > 0 && v.height > 0 && o(4, g = B()), t.$$.dirty[0] & /*tag, adjustedPlacement, triggerElement*/
|
|
439
|
+
2097169 && u.screenPosition && g && y) {
|
|
440
|
+
const e = y.getBoundingClientRect();
|
|
441
|
+
e.width > 0 && e.height > 0 && o(25, I = ot(g, e));
|
|
458
442
|
}
|
|
459
|
-
t.$$.dirty[0] & /*anchorPosition
|
|
460
|
-
|
|
461
|
-
67108864 &&
|
|
462
|
-
16 &&
|
|
463
|
-
switch (
|
|
443
|
+
t.$$.dirty[0] & /*anchorPosition*/
|
|
444
|
+
33554432 && o(9, E = I), t.$$.dirty[0] & /*arrow*/
|
|
445
|
+
67108864 && o(8, c = typeof a == "boolean" ? a : !0), t.$$.dirty[0] & /*adjustedPlacement*/
|
|
446
|
+
16 && o(7, l = (() => {
|
|
447
|
+
switch (g) {
|
|
464
448
|
case "top":
|
|
465
449
|
case "top-left":
|
|
466
450
|
case "top-right":
|
|
@@ -481,49 +465,49 @@ function Ot(t, i, e) {
|
|
|
481
465
|
return "bottom";
|
|
482
466
|
}
|
|
483
467
|
})());
|
|
484
|
-
},
|
|
468
|
+
}, o(26, a = !0), o(12, w = 1060), [
|
|
485
469
|
u,
|
|
486
470
|
m,
|
|
487
|
-
|
|
471
|
+
D,
|
|
488
472
|
U,
|
|
489
|
-
b,
|
|
490
|
-
F,
|
|
491
473
|
g,
|
|
474
|
+
W,
|
|
475
|
+
b,
|
|
492
476
|
l,
|
|
493
477
|
c,
|
|
494
|
-
|
|
495
|
-
|
|
478
|
+
E,
|
|
479
|
+
_,
|
|
496
480
|
h,
|
|
497
|
-
|
|
498
|
-
|
|
481
|
+
w,
|
|
482
|
+
i,
|
|
483
|
+
et,
|
|
499
484
|
rt,
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
j,
|
|
485
|
+
it,
|
|
486
|
+
nt,
|
|
487
|
+
pt,
|
|
488
|
+
N,
|
|
505
489
|
f,
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
490
|
+
y,
|
|
491
|
+
z,
|
|
492
|
+
A,
|
|
493
|
+
v,
|
|
510
494
|
I,
|
|
511
495
|
a,
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
496
|
+
n,
|
|
497
|
+
lt,
|
|
498
|
+
mt,
|
|
499
|
+
at,
|
|
500
|
+
st
|
|
517
501
|
];
|
|
518
502
|
}
|
|
519
|
-
class
|
|
520
|
-
constructor(
|
|
521
|
-
super(),
|
|
503
|
+
class eo extends ft {
|
|
504
|
+
constructor(r) {
|
|
505
|
+
super(), ut(
|
|
522
506
|
this,
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
507
|
+
r,
|
|
508
|
+
Bt,
|
|
509
|
+
At,
|
|
510
|
+
ht,
|
|
527
511
|
{
|
|
528
512
|
tag: 0,
|
|
529
513
|
config: 1,
|
|
@@ -534,11 +518,11 @@ class ao extends vt {
|
|
|
534
518
|
visible: 3,
|
|
535
519
|
closePopover: 23
|
|
536
520
|
},
|
|
537
|
-
|
|
521
|
+
Dt,
|
|
538
522
|
[-1, -1]
|
|
539
523
|
);
|
|
540
524
|
}
|
|
541
525
|
}
|
|
542
526
|
export {
|
|
543
|
-
|
|
527
|
+
eo as default
|
|
544
528
|
};
|