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