@realsee/dnalogel 3.67.3-alpha.1 → 3.67.3-alpha.2
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 +4 -0
- package/dist/AreaMakerPlugin/utils/Item.d.ts +9 -0
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +8 -0
- package/dist/Sculpt/index.d.ts +6 -0
- package/dist/index.cjs.js +81 -81
- package/dist/index.js +9344 -8912
- package/dist/index.umd.js +74 -74
- package/dist/shared-utils/fontSize.d.ts +185 -0
- package/dist/shared-utils/px2rem.d.ts +1 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
- 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 +18 -18
- 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/SculptPluginForFive.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/SculptConfig.html +11 -5
- 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/AreaMakerPlugin/Controller.js +4 -2
- package/libs/AreaMakerPlugin/index.js +4 -2
- package/libs/AreaMakerPlugin/utils/Item.d.ts +9 -0
- package/libs/AreaMakerPlugin/utils/Item.js +52 -36
- package/libs/CruisePlugin/Move.js +4 -2
- package/libs/CruisePlugin/Work.js +4 -2
- package/libs/CruisePlugin/index.js +8 -6
- package/libs/GuideLinePlugin/Components/Tag.js +227 -97
- package/libs/GuideLinePlugin/Controller.js +6 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +4 -2
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +69 -55
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +8 -0
- package/libs/GuideLinePlugin/GuideLineModeItem.js +4 -2
- package/libs/GuideLinePlugin/index.js +8 -6
- package/libs/ModelMakerPlugin/Controller.js +4 -2
- package/libs/ModelMakerPlugin/index.js +4 -2
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +27 -19
- package/libs/ModelRoomLabelPlugin/Controller.js +8 -6
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +93 -38
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +127 -113
- package/libs/ModelRoomLabelPlugin/index.js +6 -4
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +384 -384
- package/libs/Sculpt/index.d.ts +6 -0
- package/libs/Sculpt/utils/Modules/Global.js +38 -27
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/AreaLabel/LabelItem.js +157 -100
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +248 -209
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +116 -101
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +4 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -3
- package/libs/index.js +148 -146
- package/libs/shared-utils/fontSize.d.ts +185 -0
- package/libs/shared-utils/fontSize.js +105 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/px2rem.d.ts +1 -0
- package/libs/shared-utils/px2rem.js +6 -0
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +12 -12
- package/package.json +1 -1
package/libs/Sculpt/index.d.ts
CHANGED
|
@@ -35,6 +35,12 @@ export interface SculptConfig {
|
|
|
35
35
|
* @default { width: 190, height: 190, scale: 2, dragEnabled: true }
|
|
36
36
|
*/
|
|
37
37
|
magnifier?: MagnifierParameter | null | false;
|
|
38
|
+
/**
|
|
39
|
+
* @description 是否隐藏鼠标光标旁边的圆圈效果
|
|
40
|
+
* 设置为 true 时会隐藏圆圈效果
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
hideCursorCircle?: boolean;
|
|
38
44
|
}
|
|
39
45
|
interface Data {
|
|
40
46
|
items: Array<BuiltInData>;
|
|
@@ -1,53 +1,64 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
var c = Object.defineProperty, u = Object.defineProperties;
|
|
2
|
+
var v = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var l = Object.getOwnPropertySymbols;
|
|
4
|
+
var m = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var r = (t, e, i) => e in t ? c(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, h = (t, e) => {
|
|
6
|
+
for (var i in e || (e = {}))
|
|
7
|
+
m.call(e, i) && r(t, i, e[i]);
|
|
8
|
+
if (l)
|
|
9
|
+
for (var i of l(e))
|
|
10
|
+
p.call(e, i) && r(t, i, e[i]);
|
|
11
|
+
return t;
|
|
12
|
+
}, f = (t, e) => u(t, v(e));
|
|
13
|
+
var o = (t, e, i) => (r(t, typeof e != "symbol" ? e + "" : e, i), i);
|
|
14
|
+
import { Cursor as _ } from "./Cursor.js";
|
|
15
|
+
import { Object3DHelperController as d } from "../../../Object3DHelperPlugin/Controller.js";
|
|
16
|
+
import { FiveDomEvents as g } from "../../../shared-utils/five/FiveDomEvents.js";
|
|
17
|
+
import { PointSelector as a } from "../../../shared-utils/three/PointSelector/index.js";
|
|
18
|
+
class D {
|
|
9
19
|
constructor() {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
this.inited = !0, this.five = e, this.config =
|
|
20
|
+
o(this, "five");
|
|
21
|
+
o(this, "config");
|
|
22
|
+
o(this, "_cursor");
|
|
23
|
+
o(this, "_pointSelector");
|
|
24
|
+
o(this, "_fiveDomEvents");
|
|
25
|
+
o(this, "_object3DHelper");
|
|
26
|
+
o(this, "inited", !1);
|
|
27
|
+
o(this, "init", (e, i) => {
|
|
28
|
+
this.inited = !0, this.five = e, this.config = i, this._cursor = void 0, this._pointSelector = void 0, this._fiveDomEvents = void 0, this._object3DHelper = void 0;
|
|
19
29
|
});
|
|
20
30
|
}
|
|
21
31
|
get cursor() {
|
|
22
32
|
if (!this.inited)
|
|
23
33
|
throw new Error("Global not inited");
|
|
24
|
-
return this._cursor ? this._cursor : (this._cursor = new
|
|
34
|
+
return this._cursor ? this._cursor : (this._cursor = new _(this.five.getElement()), this._cursor);
|
|
25
35
|
}
|
|
26
36
|
get pointSelector() {
|
|
27
|
-
var
|
|
37
|
+
var n, s;
|
|
28
38
|
if (!this.inited)
|
|
29
39
|
throw new Error("Global not inited");
|
|
30
40
|
if (this._pointSelector)
|
|
31
41
|
return this._pointSelector;
|
|
32
|
-
const e = (
|
|
33
|
-
|
|
42
|
+
const e = (n = this.config) == null ? void 0 : n.magnifier;
|
|
43
|
+
let i = e === null || e === !1 ? { magnifier: null } : { magnifierParams: e };
|
|
44
|
+
return (s = this.config) != null && s.hideCursorCircle && (i = f(h({}, i), { pointHelper: null })), this._pointSelector = new a(this.five, {
|
|
34
45
|
mode: "cursor",
|
|
35
|
-
helper:
|
|
46
|
+
helper: i
|
|
36
47
|
}), this._pointSelector;
|
|
37
48
|
}
|
|
38
49
|
get fiveDomEvents() {
|
|
39
50
|
if (!this.inited)
|
|
40
51
|
throw new Error("Global not inited");
|
|
41
|
-
return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new
|
|
52
|
+
return this._fiveDomEvents ? this._fiveDomEvents : (this._fiveDomEvents = new g(this.five, { noEmitWhenNotInScene: !0 }), this._fiveDomEvents);
|
|
42
53
|
}
|
|
43
54
|
get object3DHelper() {
|
|
44
55
|
if (!this.inited)
|
|
45
56
|
throw new Error("Global not inited");
|
|
46
|
-
return this._object3DHelper ? this._object3DHelper : (this._object3DHelper = new
|
|
57
|
+
return this._object3DHelper ? this._object3DHelper : (this._object3DHelper = new d(this.five), this._object3DHelper);
|
|
47
58
|
}
|
|
48
59
|
}
|
|
49
|
-
const
|
|
50
|
-
window.globalModules =
|
|
60
|
+
const b = new D();
|
|
61
|
+
window.globalModules = b;
|
|
51
62
|
export {
|
|
52
|
-
|
|
63
|
+
b as globalModules
|
|
53
64
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,180 +1,237 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { ROOM_LABEL_BG as
|
|
3
|
-
import { rad2Deg as
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { SvelteComponent as G, init as Y, safe_not_equal as Z, append_styles as J, element as M, attr as O, set_style as r, insert as k, noop as F, detach as p, onMount as K, onDestroy as Q, text as V, space as W, append as X, listen as x, is_function as $, set_data as ee, binding_callbacks as H } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { ROOM_LABEL_BG as te } from "./Assets/roomLabelBg.js";
|
|
3
|
+
import { rad2Deg as ie } from "../../shared-utils/math/rad2Deg.js";
|
|
4
|
+
import { FONT_SIZE_MAP as ne } from "../../shared-utils/fontSize.js";
|
|
5
|
+
import { px2rem as z } from "../../shared-utils/px2rem.js";
|
|
6
|
+
function oe(i) {
|
|
7
|
+
J(i, "svelte-y6uh5l", ".room-label-item.svelte-y6uh5l{position:absolute;font-size:0.625rem;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff}.room-label-item__text.svelte-y6uh5l{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;min-width:2rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-y6uh5l{position:absolute;transform-origin:top;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}");
|
|
6
8
|
}
|
|
7
|
-
function
|
|
8
|
-
let e,
|
|
9
|
+
function R(i) {
|
|
10
|
+
let t, e, l, o, u = `${/*barTopPosition*/
|
|
11
|
+
i[9]}px`, m, c;
|
|
9
12
|
return {
|
|
10
13
|
c() {
|
|
11
|
-
|
|
14
|
+
t = M("span"), e = V(
|
|
12
15
|
/*content*/
|
|
13
16
|
i[0]
|
|
14
|
-
),
|
|
17
|
+
), l = W(), o = M("div"), O(t, "class", "room-label-item__text svelte-y6uh5l"), r(t, "background-image", "url(" + te + ")"), r(
|
|
18
|
+
t,
|
|
19
|
+
"font-size",
|
|
20
|
+
/*nameSize*/
|
|
21
|
+
i[12]
|
|
22
|
+
), r(
|
|
23
|
+
t,
|
|
24
|
+
"padding",
|
|
25
|
+
/*paddingStyle*/
|
|
26
|
+
i[11]
|
|
27
|
+
), r(
|
|
28
|
+
t,
|
|
29
|
+
"line-height",
|
|
30
|
+
/*textLineHeightRem*/
|
|
31
|
+
i[10]
|
|
32
|
+
), O(o, "class", "room-label-item__bar svelte-y6uh5l"), r(o, "top", u);
|
|
15
33
|
},
|
|
16
|
-
m(f,
|
|
17
|
-
|
|
18
|
-
|
|
34
|
+
m(f, s) {
|
|
35
|
+
k(f, t, s), X(t, e), i[22](t), k(f, l, s), k(f, o, s), i[23](o), m || (c = x(t, "click", function() {
|
|
36
|
+
$(
|
|
19
37
|
/*onClick*/
|
|
20
38
|
i[4]
|
|
21
39
|
) && i[4].apply(this, arguments);
|
|
22
|
-
}),
|
|
40
|
+
}), m = !0);
|
|
23
41
|
},
|
|
24
|
-
p(f,
|
|
25
|
-
i = f,
|
|
26
|
-
1 &&
|
|
27
|
-
|
|
42
|
+
p(f, s) {
|
|
43
|
+
i = f, s & /*content*/
|
|
44
|
+
1 && ee(
|
|
45
|
+
e,
|
|
28
46
|
/*content*/
|
|
29
47
|
i[0]
|
|
30
|
-
)
|
|
48
|
+
), s & /*nameSize*/
|
|
49
|
+
4096 && r(
|
|
50
|
+
t,
|
|
51
|
+
"font-size",
|
|
52
|
+
/*nameSize*/
|
|
53
|
+
i[12]
|
|
54
|
+
), s & /*paddingStyle*/
|
|
55
|
+
2048 && r(
|
|
56
|
+
t,
|
|
57
|
+
"padding",
|
|
58
|
+
/*paddingStyle*/
|
|
59
|
+
i[11]
|
|
60
|
+
), s & /*textLineHeightRem*/
|
|
61
|
+
1024 && r(
|
|
62
|
+
t,
|
|
63
|
+
"line-height",
|
|
64
|
+
/*textLineHeightRem*/
|
|
65
|
+
i[10]
|
|
66
|
+
), s & /*barTopPosition*/
|
|
67
|
+
512 && u !== (u = `${/*barTopPosition*/
|
|
68
|
+
i[9]}px`) && r(o, "top", u);
|
|
31
69
|
},
|
|
32
70
|
d(f) {
|
|
33
|
-
f &&
|
|
71
|
+
f && p(t), i[22](null), f && p(l), f && p(o), i[23](null), m = !1, c();
|
|
34
72
|
}
|
|
35
73
|
};
|
|
36
74
|
}
|
|
37
|
-
function
|
|
38
|
-
let
|
|
39
|
-
i[5] &&
|
|
75
|
+
function le(i) {
|
|
76
|
+
let t, e = !/*rendererIfNeed*/
|
|
77
|
+
i[5] && R(i);
|
|
40
78
|
return {
|
|
41
79
|
c() {
|
|
42
|
-
|
|
43
|
-
|
|
80
|
+
t = M("div"), e && e.c(), O(t, "class", "room-label-item svelte-y6uh5l"), r(
|
|
81
|
+
t,
|
|
44
82
|
"z-index",
|
|
45
83
|
/*zIndex*/
|
|
46
84
|
i[2]
|
|
47
|
-
),
|
|
48
|
-
|
|
85
|
+
), r(
|
|
86
|
+
t,
|
|
49
87
|
"transform",
|
|
50
88
|
/*transform*/
|
|
51
89
|
i[3]
|
|
52
|
-
),
|
|
53
|
-
|
|
90
|
+
), r(
|
|
91
|
+
t,
|
|
54
92
|
"opacity",
|
|
55
93
|
/*opacity*/
|
|
56
94
|
i[1]
|
|
57
|
-
),
|
|
58
|
-
|
|
95
|
+
), r(
|
|
96
|
+
t,
|
|
59
97
|
"visibility",
|
|
60
98
|
/*visibility*/
|
|
61
|
-
i[
|
|
99
|
+
i[13]
|
|
62
100
|
);
|
|
63
101
|
},
|
|
64
|
-
m(
|
|
65
|
-
|
|
102
|
+
m(l, o) {
|
|
103
|
+
k(l, t, o), e && e.m(t, null), i[24](t);
|
|
66
104
|
},
|
|
67
|
-
p(
|
|
105
|
+
p(l, [o]) {
|
|
68
106
|
/*rendererIfNeed*/
|
|
69
|
-
|
|
70
|
-
4 &&
|
|
71
|
-
|
|
107
|
+
l[5] ? e && (e.d(1), e = null) : e ? e.p(l, o) : (e = R(l), e.c(), e.m(t, null)), o & /*zIndex*/
|
|
108
|
+
4 && r(
|
|
109
|
+
t,
|
|
72
110
|
"z-index",
|
|
73
111
|
/*zIndex*/
|
|
74
|
-
|
|
75
|
-
),
|
|
76
|
-
8 &&
|
|
77
|
-
|
|
112
|
+
l[2]
|
|
113
|
+
), o & /*transform*/
|
|
114
|
+
8 && r(
|
|
115
|
+
t,
|
|
78
116
|
"transform",
|
|
79
117
|
/*transform*/
|
|
80
|
-
|
|
81
|
-
),
|
|
82
|
-
2 &&
|
|
83
|
-
|
|
118
|
+
l[3]
|
|
119
|
+
), o & /*opacity*/
|
|
120
|
+
2 && r(
|
|
121
|
+
t,
|
|
84
122
|
"opacity",
|
|
85
123
|
/*opacity*/
|
|
86
|
-
|
|
87
|
-
),
|
|
88
|
-
|
|
89
|
-
|
|
124
|
+
l[1]
|
|
125
|
+
), o & /*visibility*/
|
|
126
|
+
8192 && r(
|
|
127
|
+
t,
|
|
90
128
|
"visibility",
|
|
91
129
|
/*visibility*/
|
|
92
|
-
|
|
130
|
+
l[13]
|
|
93
131
|
);
|
|
94
132
|
},
|
|
95
|
-
i:
|
|
96
|
-
o:
|
|
97
|
-
d(
|
|
98
|
-
|
|
133
|
+
i: F,
|
|
134
|
+
o: F,
|
|
135
|
+
d(l) {
|
|
136
|
+
l && p(t), e && e.d(), i[24](null);
|
|
99
137
|
}
|
|
100
138
|
};
|
|
101
139
|
}
|
|
102
|
-
function
|
|
103
|
-
let o, { content:
|
|
104
|
-
} } =
|
|
105
|
-
const
|
|
106
|
-
if (
|
|
107
|
-
const
|
|
108
|
-
|
|
140
|
+
function re(i, t, e) {
|
|
141
|
+
let l, o, u, m, c, f, s, y, I, { content: P } = t, { five: a = void 0 } = t, { visible: S = !0 } = t, { opacity: T = 1 } = t, { zIndex: U = 0 } = t, { transform: A = void 0 } = t, { onClick: B = () => {
|
|
142
|
+
} } = t, { rendererIfNeed: h = void 0 } = t, { rendererData: D = void 0 } = t, { fontSize: w } = t, b, d, _, g;
|
|
143
|
+
const L = (n) => {
|
|
144
|
+
if (a.state.mode !== "Panorama") {
|
|
145
|
+
const E = -(10 + 54 * (1 - ie(n.latitude) / 90)), N = E + y, C = N >= 0 ? 0 : -N / -I;
|
|
146
|
+
e(7, d.style.transform = `scaleY(${C})`, d), e(7, d.style.top = `${N}px`, d), e(8, _.style.top = `${E}px`, _);
|
|
109
147
|
}
|
|
110
148
|
};
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}),
|
|
114
|
-
|
|
149
|
+
K(() => {
|
|
150
|
+
b && typeof h == "function" && (g = h(b, D)), a && (L(a.camera.pose), a.on("cameraUpdate", L));
|
|
151
|
+
}), Q(() => {
|
|
152
|
+
g == null || g(), a == null || a.off("cameraUpdate", L);
|
|
115
153
|
});
|
|
116
|
-
function
|
|
117
|
-
|
|
118
|
-
|
|
154
|
+
function j(n) {
|
|
155
|
+
H[n ? "unshift" : "push"](() => {
|
|
156
|
+
_ = n, e(8, _);
|
|
119
157
|
});
|
|
120
158
|
}
|
|
121
|
-
function
|
|
122
|
-
|
|
123
|
-
|
|
159
|
+
function q(n) {
|
|
160
|
+
H[n ? "unshift" : "push"](() => {
|
|
161
|
+
d = n, e(7, d);
|
|
124
162
|
});
|
|
125
163
|
}
|
|
126
|
-
function
|
|
127
|
-
|
|
128
|
-
|
|
164
|
+
function v(n) {
|
|
165
|
+
H[n ? "unshift" : "push"](() => {
|
|
166
|
+
b = n, e(6, b);
|
|
129
167
|
});
|
|
130
168
|
}
|
|
131
|
-
return i.$$set = (
|
|
132
|
-
"content" in
|
|
169
|
+
return i.$$set = (n) => {
|
|
170
|
+
"content" in n && e(0, P = n.content), "five" in n && e(14, a = n.five), "visible" in n && e(15, S = n.visible), "opacity" in n && e(1, T = n.opacity), "zIndex" in n && e(2, U = n.zIndex), "transform" in n && e(3, A = n.transform), "onClick" in n && e(4, B = n.onClick), "rendererIfNeed" in n && e(5, h = n.rendererIfNeed), "rendererData" in n && e(16, D = n.rendererData), "fontSize" in n && e(17, w = n.fontSize);
|
|
133
171
|
}, i.$$.update = () => {
|
|
172
|
+
var n;
|
|
134
173
|
i.$$.dirty & /*visible*/
|
|
135
|
-
|
|
174
|
+
32768 && e(13, l = S ? "visible" : "hidden"), i.$$.dirty & /*fontSize*/
|
|
175
|
+
131072 && e(21, o = ne[w]), i.$$.dirty & /*fontConfig*/
|
|
176
|
+
2097152 && e(12, u = z((o == null ? void 0 : o.name) || 12)), i.$$.dirty & /*fontConfig*/
|
|
177
|
+
2097152 && e(19, m = ((n = o == null ? void 0 : o.padding) == null ? void 0 : n.room) || [6, 5]), i.$$.dirty & /*padding*/
|
|
178
|
+
524288 && e(11, c = `${z(m[1])} ${z(m[0])}`), i.$$.dirty & /*fontConfig*/
|
|
179
|
+
2097152 && e(20, f = (o == null ? void 0 : o.lineHeight) || 14), i.$$.dirty & /*textLineHeight*/
|
|
180
|
+
1048576 && e(10, s = z(f)), i.$$.dirty & /*textLineHeight, padding*/
|
|
181
|
+
1572864 && e(18, y = f + m[1] * 2), i.$$.dirty & /*textHeight*/
|
|
182
|
+
262144 && e(9, I = -(64 - y));
|
|
136
183
|
}, [
|
|
184
|
+
P,
|
|
185
|
+
T,
|
|
186
|
+
U,
|
|
187
|
+
A,
|
|
188
|
+
B,
|
|
189
|
+
h,
|
|
190
|
+
b,
|
|
191
|
+
d,
|
|
192
|
+
_,
|
|
193
|
+
I,
|
|
194
|
+
s,
|
|
195
|
+
c,
|
|
196
|
+
u,
|
|
137
197
|
l,
|
|
138
|
-
f,
|
|
139
198
|
a,
|
|
140
|
-
|
|
199
|
+
S,
|
|
141
200
|
D,
|
|
142
|
-
|
|
143
|
-
|
|
201
|
+
w,
|
|
202
|
+
y,
|
|
144
203
|
m,
|
|
145
|
-
|
|
204
|
+
f,
|
|
146
205
|
o,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
U,
|
|
151
|
-
B,
|
|
152
|
-
M
|
|
206
|
+
j,
|
|
207
|
+
q,
|
|
208
|
+
v
|
|
153
209
|
];
|
|
154
210
|
}
|
|
155
|
-
class
|
|
156
|
-
constructor(
|
|
157
|
-
super(),
|
|
211
|
+
class be extends G {
|
|
212
|
+
constructor(t) {
|
|
213
|
+
super(), Y(
|
|
158
214
|
this,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
215
|
+
t,
|
|
216
|
+
re,
|
|
217
|
+
le,
|
|
218
|
+
Z,
|
|
163
219
|
{
|
|
164
220
|
content: 0,
|
|
165
|
-
five:
|
|
166
|
-
visible:
|
|
221
|
+
five: 14,
|
|
222
|
+
visible: 15,
|
|
167
223
|
opacity: 1,
|
|
168
224
|
zIndex: 2,
|
|
169
225
|
transform: 3,
|
|
170
226
|
onClick: 4,
|
|
171
227
|
rendererIfNeed: 5,
|
|
172
|
-
rendererData:
|
|
228
|
+
rendererData: 16,
|
|
229
|
+
fontSize: 17
|
|
173
230
|
},
|
|
174
|
-
|
|
231
|
+
oe
|
|
175
232
|
);
|
|
176
233
|
}
|
|
177
234
|
}
|
|
178
235
|
export {
|
|
179
|
-
|
|
236
|
+
be as LabelItem
|
|
180
237
|
};
|