@realsee/dnalogel 3.77.4-alpha.0 → 3.77.4
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 +838 -842
- package/dist/GuideLinePlugin/Controller.d.ts +2 -34
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +2 -7
- package/dist/Sculpt/Objects/Base/Editor.d.ts +9 -2
- package/dist/index.cjs.js +37 -37
- package/dist/index.js +1646 -1667
- package/dist/index.umd.js +37 -37
- package/libs/GuideLinePlugin/Components/Tag.js +163 -151
- package/libs/GuideLinePlugin/Controller.d.ts +2 -34
- package/libs/GuideLinePlugin/Controller.js +22 -56
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +69 -76
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +2 -7
- package/libs/Sculpt/Objects/Base/Editor.d.ts +9 -2
- package/libs/Sculpt/Objects/Base/Editor.js +72 -63
- package/libs/base/BasePlugin.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
- package/docs/.nojekyll +0 -1
- package/docs/assets/custom.css +0 -0
- package/docs/assets/highlight.css +0 -127
- package/docs/assets/icons.js +0 -18
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/main.js +0 -60
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1493
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -59
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -71
- package/docs/classes/CSS3DRender.html +0 -100
- package/docs/classes/GuideLineItem.GuideLineItem.html +0 -21
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -72
- package/docs/classes/ModelMakerPluginInstance.html +0 -116
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +0 -52
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +0 -52
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +0 -53
- package/docs/classes/ModelRoomLabelController.html +0 -19
- package/docs/classes/MoveController.html +0 -45
- package/docs/classes/Object3DHelperController.html +0 -45
- package/docs/classes/PaintBrush.html +0 -15
- package/docs/classes/PanoMeasurePluginLine.html +0 -24
- package/docs/classes/PanoMeasurePluginModel.html +0 -23
- package/docs/classes/PanoMeasurePluginPoint.html +0 -7
- package/docs/classes/PanoMeasurePluginPolyline.html +0 -27
- package/docs/classes/PanoTagPluginController.html +0 -111
- package/docs/classes/Sculpt.html +0 -77
- package/docs/classes/Util.BetterTween.html +0 -6
- package/docs/classes/Util.FiveDomEvents.html +0 -13
- package/docs/classes/Util.FivePuppet.html +0 -20
- package/docs/classes/Util.Interval.html +0 -11
- package/docs/classes/Util.LegacyPointHelper.html +0 -7
- package/docs/classes/Util.LightTag.html +0 -47
- package/docs/classes/Util.LineSegments.html +0 -4
- package/docs/classes/Util.Magnifier.html +0 -26
- package/docs/classes/Util.Object3D.html +0 -8
- package/docs/classes/Util.PointDomHelper.html +0 -8
- package/docs/classes/Util.PointHelper.html +0 -10
- package/docs/classes/Util.PointSelector.html +0 -66
- package/docs/classes/Util.PointSelectorHelper.html +0 -14
- package/docs/classes/Util.Rectangle.html +0 -12
- package/docs/classes/Util.sculpt.BaseEditor.html +0 -17
- package/docs/classes/Util.sculpt.BoxMesh.html +0 -48
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +0 -18
- package/docs/classes/Util.sculpt.CircleMesh.html +0 -26
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +0 -18
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +0 -26
- package/docs/classes/Util.sculpt.CylinderMesh.html +0 -25
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +0 -18
- package/docs/classes/Util.sculpt.LineMesh.html +0 -34
- package/docs/classes/Util.sculpt.PointMesh.html +0 -24
- package/docs/classes/Util.sculpt.PolygonMesh.html +0 -40
- package/docs/classes/Util.sculpt.PrismMesh.html +0 -48
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +0 -18
- package/docs/classes/Util.sculpt.RectangleMesh.html +0 -41
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +0 -18
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +0 -44
- package/docs/classes/WalkController.html +0 -42
- package/docs/enums/CameraMovementEffect.html +0 -4
- package/docs/enums/ContentType.html +0 -34
- package/docs/enums/DIRECTION.html +0 -5
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -5
- package/docs/enums/DimensionType.html +0 -4
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -4
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -5
- package/docs/enums/PaintBrushTypeEnum.html +0 -4
- package/docs/enums/PointType.html +0 -4
- package/docs/enums/Rotation.html +0 -5
- package/docs/functions/AreaMakerPlugin.html +0 -1
- package/docs/functions/CSS3DRenderPlugin.html +0 -1
- package/docs/functions/CameraMovementPlugin.html +0 -2
- package/docs/functions/CruisePlugin.html +0 -1
- package/docs/functions/CurrentPanoImagePlugin.html +0 -1
- package/docs/functions/FloorplanGuidePlugin.html +0 -1
- package/docs/functions/GuideLinePlugin.html +0 -1
- package/docs/functions/ItemLabelPlugin.html +0 -1
- package/docs/functions/MapviewFloorplanPlugin.html +0 -1
- package/docs/functions/MeasurePlugin.html +0 -1
- package/docs/functions/ModelChassisCompassPlugin.html +0 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -2
- package/docs/functions/ModelFloorplanPlugin.html +0 -1
- package/docs/functions/ModelItemLabelPlugin.html +0 -1
- package/docs/functions/ModelMakerPlugin.html +0 -1
- package/docs/functions/ModelRoomLabelPlugin.html +0 -1
- package/docs/functions/ModelTVVideoPlugin.html +0 -1
- package/docs/functions/ModelViewPlugin.html +0 -2
- package/docs/functions/MovePlugin.html +0 -1
- package/docs/functions/Object3DHelperPlugin.html +0 -1
- package/docs/functions/PanoCompassPlugin.html +0 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +0 -2
- package/docs/functions/PanoDoorLabelPlugin.html +0 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +0 -1
- package/docs/functions/PanoMeasurePlugin.html +0 -1
- package/docs/functions/PanoRulerPlugin.html +0 -2
- package/docs/functions/PanoRulerProPlugin.html +0 -2
- package/docs/functions/PanoSpatialTagPlugin.html +0 -2
- package/docs/functions/PanoTagPlugin.html +0 -1
- package/docs/functions/PanoVideoPlugin.html +0 -10
- package/docs/functions/PipelinePlugin.html +0 -1
- package/docs/functions/SculptPlugin.html +0 -2
- package/docs/functions/SculptPluginForFive.html +0 -2
- package/docs/functions/TopviewFloorplanPlugin.html +0 -1
- package/docs/functions/Util.awaitNextFrame.html +0 -1
- package/docs/functions/Util.blink.html +0 -13
- package/docs/functions/Util.blinkWithPreset.html +0 -6
- package/docs/functions/Util.bounding.html +0 -1
- package/docs/functions/Util.boundingBox.html +0 -1
- package/docs/functions/Util.boundingSphere.html +0 -1
- package/docs/functions/Util.boxVertex.html +0 -7
- package/docs/functions/Util.boxVertexes.html +0 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +0 -2
- package/docs/functions/Util.cleanup.html +0 -3
- package/docs/functions/Util.convexHull.html +0 -2
- package/docs/functions/Util.equal.html +0 -5
- package/docs/functions/Util.fiveModelIsLoaded.html +0 -2
- package/docs/functions/Util.generatePolygonGeometry.html +0 -2
- package/docs/functions/Util.getCoordsFromClient.html +0 -1
- package/docs/functions/Util.getCoordsFromElement.html +0 -1
- package/docs/functions/Util.getFrameTime.html +0 -3
- package/docs/functions/Util.getGeometryArea.html +0 -1
- package/docs/functions/Util.getGeometryInfo.html +0 -1
- package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -1
- package/docs/functions/Util.initialCSS3DRender.html +0 -1
- package/docs/functions/Util.inside.html +0 -1
- package/docs/functions/Util.isModelLike.html +0 -1
- package/docs/functions/Util.isNil.html +0 -2
- package/docs/functions/Util.isPanoramaLike.html +0 -1
- package/docs/functions/Util.lookObject.html +0 -7
- package/docs/functions/Util.lookPoint.html +0 -5
- package/docs/functions/Util.nextFrame.html +0 -1
- package/docs/functions/Util.notNil.html +0 -2
- package/docs/functions/Util.reblink.html +0 -13
- package/docs/functions/Util.replaceStaticPrefix.html +0 -8
- package/docs/functions/Util.requestAnimationFrameInterval.html +0 -5
- package/docs/functions/Util.sculpt.createBox.html +0 -1
- package/docs/functions/Util.sculpt.createCircle.html +0 -1
- package/docs/functions/Util.sculpt.createCylinder.html +0 -1
- package/docs/functions/Util.sculpt.createLine.html +0 -2
- package/docs/functions/Util.sculpt.createPoint.html +0 -1
- package/docs/functions/Util.sculpt.createPolygon.html +0 -1
- package/docs/functions/Util.sculpt.createPrism.html +0 -1
- package/docs/functions/Util.sculpt.createRectangle.html +0 -2
- package/docs/functions/Util.sculpt.transformUnit.html +0 -1
- package/docs/functions/Util.sculpt.transformUnitSquare.html +0 -1
- package/docs/functions/Util.tag.html +0 -1
- package/docs/functions/Util.triangleArea.html +0 -2
- package/docs/functions/Util.triangleCenter.html +0 -2
- package/docs/functions/Util.tweenProgress.html +0 -1
- package/docs/functions/Util.uuid.html +0 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +0 -2
- package/docs/functions/Util.worldBounding.html +0 -1
- package/docs/functions/Util.worldBoundingBox.html +0 -1
- package/docs/functions/Util.worldBoundingSphere.html +0 -1
- package/docs/functions/createPolyline.html +0 -2
- package/docs/functions/pluginFlag.html +0 -1
- package/docs/functions/validatePolygon.html +0 -1
- package/docs/hierarchy.html +0 -1
- package/docs/index.html +0 -70
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -4
- package/docs/interfaces/AreaMakerPluginType.Config.html +0 -8
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -25
- package/docs/interfaces/AreaMakerPluginType.Params.html +0 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -20
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -13
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -9
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +0 -8
- package/docs/interfaces/BoxAnimationConfig.html +0 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -9
- package/docs/interfaces/CSS3DRenderPluginState.html +0 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +0 -11
- package/docs/interfaces/ContentTypeMapInterface.html +0 -73
- package/docs/interfaces/CruisePluginTypes.Config.html +0 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -8
- package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -33
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -6
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -16
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -19
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -20
- package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -15
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -13
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -15
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -4
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -7
- package/docs/interfaces/FloorplanBounding.html +0 -9
- package/docs/interfaces/FloorplanData.html +0 -7
- package/docs/interfaces/FloorplanEntrance.html +0 -14
- package/docs/interfaces/FloorplanExtraObject.html +0 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +0 -5
- package/docs/interfaces/FloorplanFloorData.html +0 -9
- package/docs/interfaces/FloorplanImagePosition.html +0 -4
- package/docs/interfaces/FloorplanObserver.html +0 -8
- package/docs/interfaces/FloorplanOutlineItem.html +0 -6
- package/docs/interfaces/FloorplanPosition.html +0 -4
- package/docs/interfaces/FloorplanRoomItem.html +0 -24
- package/docs/interfaces/FloorplanRoomLabelItem.html +0 -6
- package/docs/interfaces/FloorplanServerBounding.html +0 -9
- package/docs/interfaces/FloorplanServerComputedData.html +0 -6
- package/docs/interfaces/FloorplanServerData.html +0 -4
- package/docs/interfaces/FloorplanServerDoorItem.html +0 -6
- package/docs/interfaces/FloorplanServerDoorPosition.html +0 -4
- package/docs/interfaces/FloorplanServerEntrance.html +0 -14
- package/docs/interfaces/FloorplanServerFloorData.html +0 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +0 -4
- package/docs/interfaces/FloorplanServerObserver.html +0 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +0 -6
- package/docs/interfaces/FloorplanServerPosition.html +0 -4
- package/docs/interfaces/FloorplanServerRoomItem.html +0 -27
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -4
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -7
- package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -13
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +0 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -32
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -4
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -5
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -42
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -57
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +0 -13
- package/docs/interfaces/HelperOffset.html +0 -4
- package/docs/interfaces/ImagePlaneGroup.html +0 -3
- package/docs/interfaces/ItemLabelPluginData.html +0 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -7
- package/docs/interfaces/ItemLabelPluginParametersType.html +0 -5
- package/docs/interfaces/MinMax.html +0 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +0 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -4
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -4
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -4
- package/docs/interfaces/ModelItemLabelPluginData.html +0 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -7
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -3
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +0 -17
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -18
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +0 -23
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -11
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -10
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -10
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -10
- package/docs/interfaces/ModelMakerPluginType.State.html +0 -8
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +0 -11
- package/docs/interfaces/ModelRoomLabelPluginData.html +0 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +0 -5
- package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -4
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -2
- package/docs/interfaces/ModelViewPluginExportType.html +0 -8
- package/docs/interfaces/Object3DHelperState.html +0 -4
- package/docs/interfaces/ObjectHelperControllers.html +0 -5
- package/docs/interfaces/PaintBrushAction.html +0 -14
- package/docs/interfaces/PaintBrushConfigs.html +0 -8
- package/docs/interfaces/PaintBrushState.html +0 -6
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -16
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -1
- package/docs/interfaces/PanoMeasureParameterType.html +0 -20
- package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -4
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -4
- package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +0 -6
- package/docs/interfaces/PanoRulerPluginOptions.html +0 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +0 -4
- package/docs/interfaces/PanoRulerProPluginExportType.html +0 -5
- package/docs/interfaces/PanoRulerProPluginOptions.html +0 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -3
- package/docs/interfaces/PanoRulerProPluginState.html +0 -4
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +0 -7
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -6
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -9
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -6
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -9
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -7
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -6
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -15
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -14
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -13
- package/docs/interfaces/PluginEventMap.html +0 -16
- package/docs/interfaces/Point.html +0 -4
- package/docs/interfaces/Room.html +0 -5
- package/docs/interfaces/RoomInfo.html +0 -3
- package/docs/interfaces/RoomLabel.html +0 -16
- package/docs/interfaces/RoomRules.html +0 -1
- package/docs/interfaces/Rooms.html +0 -1
- package/docs/interfaces/Scissor.html +0 -13
- package/docs/interfaces/SculptConfig.html +0 -19
- package/docs/interfaces/State.html +0 -7
- package/docs/interfaces/TagCacheInterface.html +0 -9
- package/docs/interfaces/TagConfig.html +0 -174
- package/docs/interfaces/TagGLTFObjectGroup.html +0 -3
- package/docs/interfaces/TagIconAnimationConfig.html +0 -7
- package/docs/interfaces/TagIconUrl.html +0 -22
- package/docs/interfaces/TagObjectGroup.html +0 -3
- package/docs/interfaces/TagState.html +0 -3
- package/docs/interfaces/TagStyle.html +0 -5
- package/docs/interfaces/Tags.html +0 -8
- package/docs/interfaces/TemporaryState.html +0 -2
- package/docs/interfaces/Util.AnimeInstance.html +0 -14
- package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -21
- package/docs/interfaces/Util.EventHandlerConfig.html +0 -21
- package/docs/interfaces/Util.FiveDomEvent.html +0 -7
- package/docs/interfaces/Util.FiveDomEventMap.html +0 -20
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +0 -4
- package/docs/interfaces/Util.MagnifierParameter.html +0 -13
- package/docs/interfaces/Util.MouseGroupParameter.html +0 -4
- package/docs/interfaces/Util.ObjectInitialState.html +0 -9
- package/docs/interfaces/Util.PointIntersection.html +0 -21
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +0 -6
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -27
- package/docs/modules/AreaMakerPluginType.html +0 -17
- package/docs/modules/CruisePluginTypes.html +0 -14
- package/docs/modules/CurrentPanoImagePluginType.html +0 -6
- package/docs/modules/GuideLineItem.html +0 -2
- package/docs/modules/GuideLineModeItem.html +0 -3
- package/docs/modules/GuideLinePluginType.html +0 -25
- package/docs/modules/ModelMakerPluginType.html +0 -19
- package/docs/modules/PanoVideoPluginType.html +0 -8
- package/docs/modules/SculptData.html +0 -9
- package/docs/modules/SculptType.html +0 -2
- package/docs/modules/Util.html +0 -91
- package/docs/modules/Util.sculpt.html +0 -27
- package/docs/modules.html +0 -281
- package/docs/types/AddObject3DHelperConfig.html +0 -19
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -7
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +0 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +0 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +0 -2
- package/docs/types/ArrayPosition.html +0 -1
- package/docs/types/AudioAppearance.html +0 -1
- package/docs/types/CSS3DRenderExportType.html +0 -1
- package/docs/types/CSS3DRenderPluginExportType.html +0 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +0 -1
- package/docs/types/ClassFunctionParameters.html +0 -1
- package/docs/types/Color.html +0 -1
- package/docs/types/ContentTypeConfigKey.html +0 -1
- package/docs/types/ContentTypeConfigKeySplit.html +0 -1
- package/docs/types/ContentTypeMap.html +0 -1
- package/docs/types/Create3DDomContainerReturnType.html +0 -1
- package/docs/types/Create3DElementReturnType.html +0 -1
- package/docs/types/CruisePluginExportType.html +0 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +0 -6
- package/docs/types/CruisePluginTypes.MoveEffect.html +0 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +0 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +0 -3
- package/docs/types/DeprecatedTagProperty.html +0 -3
- package/docs/types/Direction-1.html +0 -1
- package/docs/types/Direction4.html +0 -1
- package/docs/types/ElementRenderer.html +0 -2
- package/docs/types/FloorplanGuidePluginParameterType.html +0 -1
- package/docs/types/FloorplanGuidePluginReturnType.html +0 -1
- package/docs/types/FloorplanRuleLabels.html +0 -2
- package/docs/types/FloorplanServerRuleLabels.html +0 -1
- package/docs/types/GuideLinePluginExportType.html +0 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -2
- package/docs/types/GuideLinePluginType.PathItem.html +0 -2
- package/docs/types/GuideLinePluginType.PluginData.html +0 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +0 -4
- package/docs/types/HelperEventMap.html +0 -1
- package/docs/types/InternalHelperEventMap.html +0 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +0 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +0 -1
- package/docs/types/MeasureEndReason.html +0 -1
- package/docs/types/MeasurePluginConfig.html +0 -5
- package/docs/types/MeasurePluginEventMap.html +0 -1
- package/docs/types/MediaData.html +0 -2
- package/docs/types/MediaStore.html +0 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +0 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +0 -1
- package/docs/types/ModelId.html +0 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +0 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +0 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +0 -2
- package/docs/types/ModelRoomLabelPluginParameters.html +0 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +0 -1
- package/docs/types/MoveArgs.html +0 -2
- package/docs/types/MoveOpts.html +0 -2
- package/docs/types/Object3DHelperEventMap.html +0 -1
- package/docs/types/ObjectFit.html +0 -1
- package/docs/types/PaintBrushEventMap.html +0 -1
- package/docs/types/PanoCompassPluginData.html +0 -1
- package/docs/types/PanoCompassPluginExportType.html +0 -1
- package/docs/types/PanoCompassPluginParameterType.html +0 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -1
- package/docs/types/PanoIndex.html +0 -1
- package/docs/types/PanoMeasurePluginEvent.html +0 -1
- package/docs/types/PanoMeasureReturnType.html +0 -1
- package/docs/types/PanoSpatialTagPluginId.html +0 -1
- package/docs/types/PanoTagPluginExportInterface.html +0 -1
- package/docs/types/PanoTagPluginParamsInterface.html +0 -1
- package/docs/types/PanoVideoPluginParameterType.html +0 -1
- package/docs/types/PanoVideoPluginReturnType.html +0 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -2
- package/docs/types/PipelinePluginParameterType.html +0 -1
- package/docs/types/PipelinePluginReturnType.html +0 -1
- package/docs/types/PlaneTag.html +0 -2
- package/docs/types/Point2DTag.html +0 -2
- package/docs/types/Point3DTag.html +0 -2
- package/docs/types/PointTagInstance.html +0 -1
- package/docs/types/Position.html +0 -1
- package/docs/types/PositionFrom.html +0 -1
- package/docs/types/RotateArgs.html +0 -2
- package/docs/types/RotateOpts.html +0 -2
- package/docs/types/RuleLabelsKey.html +0 -1
- package/docs/types/RuleLabelsValue.html +0 -1
- package/docs/types/ScaleCallback.html +0 -1
- package/docs/types/ScalePosition.html +0 -3
- package/docs/types/SculptData.BoxData.html +0 -1
- package/docs/types/SculptData.CircleData.html +0 -1
- package/docs/types/SculptData.CylinderData.html +0 -1
- package/docs/types/SculptData.PointData.html +0 -1
- package/docs/types/SculptData.PolygonData.html +0 -1
- package/docs/types/SculptData.PolylineData.html +0 -1
- package/docs/types/SculptData.PrismData.html +0 -1
- package/docs/types/SculptData.RectangleData.html +0 -1
- package/docs/types/SculptType.Theme.html +0 -10
- package/docs/types/StickType.html +0 -1
- package/docs/types/Tag.html +0 -17
- package/docs/types/Tag2D.html +0 -2
- package/docs/types/Tag3D.html +0 -2
- package/docs/types/TagClickParams.html +0 -1
- package/docs/types/TagConfigByKey.html +0 -1
- package/docs/types/TagContentType.html +0 -1
- package/docs/types/TagContentTypeMapping.html +0 -1
- package/docs/types/TagDimensionType.html +0 -1
- package/docs/types/TagElement.html +0 -2
- package/docs/types/TagEvents.html +0 -1
- package/docs/types/TagGLTFObject.html +0 -1
- package/docs/types/TagHooks.html +0 -1
- package/docs/types/TagId.html +0 -1
- package/docs/types/TagInstance.html +0 -1
- package/docs/types/TagPlacement.html +0 -5
- package/docs/types/TagPointType.html +0 -2
- package/docs/types/TagRendererMap.html +0 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +0 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +0 -1
- package/docs/types/Util.ActionIfNoIntersection.html +0 -1
- package/docs/types/Util.AdherePoint.html +0 -2
- package/docs/types/Util.PointSelectorConfig.html +0 -1
- package/docs/types/Util.SupportedTarget.html +0 -2
- package/docs/types/Util.Target.html +0 -2
- package/docs/types/Util.ThreeObject.html +0 -2
- package/docs/types/WorkCode.html +0 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +0 -2
- package/docs/variables/PLUGIN.html +0 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -2
- package/docs/variables/ROOM_TYPE_MAP.html +0 -2
- package/docs/variables/Util.ANIME_PRESETS.html +0 -2
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +0 -2
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +0 -2
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +0 -2
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +0 -2
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +0 -2
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +0 -2
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +0 -2
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +0 -2
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +0 -2
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +0 -2
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +0 -2
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +0 -2
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +0 -2
- package/docs/variables/defaultGlobalConfig.html +0 -1
- package/docs/variables/itemLabelPluginServerParams.html +0 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +0 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +0 -1
|
@@ -1,293 +1,305 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { FONT_SIZE_MAP as
|
|
3
|
-
import { px2rem as
|
|
4
|
-
function
|
|
5
|
-
|
|
1
|
+
import { SvelteComponent as w, init as F, safe_not_equal as K, append_styles as O, element as p, space as T, attr as A, set_style as a, insert as I, append as r, noop as D, detach as _, text as N, set_data as E } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { FONT_SIZE_MAP as B } from "../../shared-utils/fontSize.js";
|
|
3
|
+
import { px2rem as y } from "../../shared-utils/px2rem.js";
|
|
4
|
+
function V(t) {
|
|
5
|
+
O(t, "svelte-f09cfl", ".guide-line__tag.svelte-f09cfl.svelte-f09cfl{position:relative}.text-with-distance.svelte-f09cfl.svelte-f09cfl{display:flex;flex-direction:column;position:relative;padding:0.125rem 0.25rem;border-radius:0.125rem;background:linear-gradient(to top, rgba(147, 147, 147, 0.3), rgba(74, 74, 74, 0.3));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2)}.text-with-distance.svelte-f09cfl .border.svelte-f09cfl{position:absolute;top:-50%;right:-50%;bottom:-50%;left:-50%;padding:0.0625rem;border-radius:0.25rem;background:linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;transform:scale(0.5)}.distance-and-name.svelte-f09cfl.svelte-f09cfl{display:flex;gap:0.1875rem}.distance.svelte-f09cfl.svelte-f09cfl{white-space:nowrap;font-size:0.625rem;line-height:0.875rem;color:#66afff}.name.svelte-f09cfl.svelte-f09cfl{opacity:0.6;font-size:0.625rem;line-height:0.875rem;white-space:nowrap;color:#ffffff}.line-name.svelte-f09cfl.svelte-f09cfl{color:#fff;white-space:nowrap;font-size:0.625rem;line-height:0.875rem}.guide-line__tag-point.svelte-f09cfl.svelte-f09cfl{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-f09cfl.svelte-f09cfl{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-f09cfl.svelte-f09cfl{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex;justify-content:center;align-items:center}.guide-line__tag-icon.svelte-f09cfl.svelte-f09cfl{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-f09cfl.svelte-f09cfl{box-sizing:content-box;width:-moz-max-content;width:max-content;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-slice:6 25 6 18 fill;color:#fff;display:flex;align-items:center;justify-content:center}");
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
let e,
|
|
7
|
+
function G(t) {
|
|
8
|
+
let e, l;
|
|
9
9
|
return {
|
|
10
10
|
c() {
|
|
11
|
-
e =
|
|
11
|
+
e = p("div"), l = N(
|
|
12
12
|
/*text*/
|
|
13
13
|
t[0]
|
|
14
|
-
),
|
|
14
|
+
), A(e, "class", "guide-line__tag-text svelte-f09cfl"), a(
|
|
15
15
|
e,
|
|
16
16
|
"font-size",
|
|
17
17
|
/*nameSize*/
|
|
18
|
-
t[
|
|
19
|
-
),
|
|
18
|
+
t[9]
|
|
19
|
+
), a(
|
|
20
20
|
e,
|
|
21
21
|
"padding",
|
|
22
22
|
/*paddingStyle*/
|
|
23
|
-
t[
|
|
24
|
-
),
|
|
25
|
-
t[
|
|
23
|
+
t[8]
|
|
24
|
+
), a(e, "border-image-source", `url(${/*text_background_url*/
|
|
25
|
+
t[10]})`);
|
|
26
26
|
},
|
|
27
|
-
m(i,
|
|
28
|
-
|
|
27
|
+
m(i, f) {
|
|
28
|
+
I(i, e, f), r(e, l);
|
|
29
29
|
},
|
|
30
|
-
p(i,
|
|
31
|
-
|
|
32
|
-
1 &&
|
|
33
|
-
|
|
30
|
+
p(i, f) {
|
|
31
|
+
f & /*text*/
|
|
32
|
+
1 && E(
|
|
33
|
+
l,
|
|
34
34
|
/*text*/
|
|
35
35
|
i[0]
|
|
36
|
-
),
|
|
37
|
-
|
|
36
|
+
), f & /*nameSize*/
|
|
37
|
+
512 && a(
|
|
38
38
|
e,
|
|
39
39
|
"font-size",
|
|
40
40
|
/*nameSize*/
|
|
41
|
-
i[
|
|
42
|
-
),
|
|
43
|
-
|
|
41
|
+
i[9]
|
|
42
|
+
), f & /*paddingStyle*/
|
|
43
|
+
256 && a(
|
|
44
44
|
e,
|
|
45
45
|
"padding",
|
|
46
46
|
/*paddingStyle*/
|
|
47
|
-
i[
|
|
47
|
+
i[8]
|
|
48
48
|
);
|
|
49
49
|
},
|
|
50
50
|
d(i) {
|
|
51
|
-
i &&
|
|
51
|
+
i && _(e);
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
function
|
|
56
|
-
let e,
|
|
55
|
+
function X(t) {
|
|
56
|
+
let e, l, i, f, b = (
|
|
57
|
+
/*i18n*/
|
|
58
|
+
t[5]("全程") + ""
|
|
59
|
+
), m, v, k = (
|
|
60
|
+
/*i18n*/
|
|
61
|
+
t[5]("米") + ""
|
|
62
|
+
), z, s, n, o, h, q, g = (
|
|
57
63
|
/*name*/
|
|
58
|
-
t[4] &&
|
|
64
|
+
t[4] && Z(t)
|
|
59
65
|
);
|
|
60
66
|
return {
|
|
61
67
|
c() {
|
|
62
|
-
e =
|
|
68
|
+
e = p("div"), g && g.c(), l = T(), i = p("div"), f = p("span"), m = N(b), v = N(
|
|
63
69
|
/*distance*/
|
|
64
70
|
t[2]
|
|
65
|
-
),
|
|
71
|
+
), z = N(k), s = T(), n = p("span"), o = N(
|
|
66
72
|
/*text*/
|
|
67
73
|
t[0]
|
|
68
|
-
),
|
|
69
|
-
|
|
74
|
+
), h = T(), q = p("div"), A(f, "class", "distance svelte-f09cfl"), a(
|
|
75
|
+
f,
|
|
70
76
|
"line-height",
|
|
71
77
|
/*lineHeightStyle*/
|
|
72
|
-
t[
|
|
73
|
-
),
|
|
74
|
-
|
|
78
|
+
t[6]
|
|
79
|
+
), a(
|
|
80
|
+
f,
|
|
75
81
|
"font-size",
|
|
76
82
|
/*nameSize*/
|
|
77
|
-
t[
|
|
78
|
-
),
|
|
79
|
-
|
|
83
|
+
t[9]
|
|
84
|
+
), A(n, "class", "name svelte-f09cfl"), a(
|
|
85
|
+
n,
|
|
80
86
|
"line-height",
|
|
81
87
|
/*lineHeightStyle*/
|
|
82
|
-
t[
|
|
83
|
-
),
|
|
84
|
-
|
|
88
|
+
t[6]
|
|
89
|
+
), a(
|
|
90
|
+
n,
|
|
85
91
|
"font-size",
|
|
86
92
|
/*nameSize*/
|
|
87
|
-
t[
|
|
88
|
-
),
|
|
93
|
+
t[9]
|
|
94
|
+
), A(i, "class", "distance-and-name svelte-f09cfl"), A(q, "class", "border svelte-f09cfl"), A(e, "class", "text-with-distance svelte-f09cfl"), a(
|
|
89
95
|
e,
|
|
90
96
|
"padding",
|
|
91
97
|
/*distancePaddingStyle*/
|
|
92
|
-
t[
|
|
98
|
+
t[7]
|
|
93
99
|
);
|
|
94
100
|
},
|
|
95
|
-
m(
|
|
96
|
-
|
|
101
|
+
m(c, u) {
|
|
102
|
+
I(c, e, u), g && g.m(e, null), r(e, l), r(e, i), r(i, f), r(f, m), r(f, v), r(f, z), r(i, s), r(i, n), r(n, o), r(e, h), r(e, q);
|
|
97
103
|
},
|
|
98
|
-
p(
|
|
104
|
+
p(c, u) {
|
|
99
105
|
/*name*/
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
106
|
+
c[4] ? g ? g.p(c, u) : (g = Z(c), g.c(), g.m(e, l)) : g && (g.d(1), g = null), u & /*i18n*/
|
|
107
|
+
32 && b !== (b = /*i18n*/
|
|
108
|
+
c[5]("全程") + "") && E(m, b), u & /*distance*/
|
|
109
|
+
4 && E(
|
|
110
|
+
v,
|
|
103
111
|
/*distance*/
|
|
104
|
-
|
|
105
|
-
),
|
|
106
|
-
32 &&
|
|
107
|
-
|
|
112
|
+
c[2]
|
|
113
|
+
), u & /*i18n*/
|
|
114
|
+
32 && k !== (k = /*i18n*/
|
|
115
|
+
c[5]("米") + "") && E(z, k), u & /*lineHeightStyle*/
|
|
116
|
+
64 && a(
|
|
117
|
+
f,
|
|
108
118
|
"line-height",
|
|
109
119
|
/*lineHeightStyle*/
|
|
110
|
-
|
|
111
|
-
),
|
|
112
|
-
|
|
113
|
-
|
|
120
|
+
c[6]
|
|
121
|
+
), u & /*nameSize*/
|
|
122
|
+
512 && a(
|
|
123
|
+
f,
|
|
114
124
|
"font-size",
|
|
115
125
|
/*nameSize*/
|
|
116
|
-
|
|
117
|
-
),
|
|
118
|
-
1 &&
|
|
119
|
-
|
|
126
|
+
c[9]
|
|
127
|
+
), u & /*text*/
|
|
128
|
+
1 && E(
|
|
129
|
+
o,
|
|
120
130
|
/*text*/
|
|
121
|
-
|
|
122
|
-
),
|
|
123
|
-
|
|
124
|
-
|
|
131
|
+
c[0]
|
|
132
|
+
), u & /*lineHeightStyle*/
|
|
133
|
+
64 && a(
|
|
134
|
+
n,
|
|
125
135
|
"line-height",
|
|
126
136
|
/*lineHeightStyle*/
|
|
127
|
-
|
|
128
|
-
),
|
|
129
|
-
|
|
130
|
-
|
|
137
|
+
c[6]
|
|
138
|
+
), u & /*nameSize*/
|
|
139
|
+
512 && a(
|
|
140
|
+
n,
|
|
131
141
|
"font-size",
|
|
132
142
|
/*nameSize*/
|
|
133
|
-
|
|
134
|
-
),
|
|
135
|
-
|
|
143
|
+
c[9]
|
|
144
|
+
), u & /*distancePaddingStyle*/
|
|
145
|
+
128 && a(
|
|
136
146
|
e,
|
|
137
147
|
"padding",
|
|
138
148
|
/*distancePaddingStyle*/
|
|
139
|
-
|
|
149
|
+
c[7]
|
|
140
150
|
);
|
|
141
151
|
},
|
|
142
|
-
d(
|
|
143
|
-
|
|
152
|
+
d(c) {
|
|
153
|
+
c && _(e), g && g.d();
|
|
144
154
|
}
|
|
145
155
|
};
|
|
146
156
|
}
|
|
147
|
-
function
|
|
148
|
-
let e,
|
|
157
|
+
function Z(t) {
|
|
158
|
+
let e, l;
|
|
149
159
|
return {
|
|
150
160
|
c() {
|
|
151
|
-
e =
|
|
161
|
+
e = p("span"), l = N(
|
|
152
162
|
/*name*/
|
|
153
163
|
t[4]
|
|
154
|
-
),
|
|
164
|
+
), A(e, "class", "line-name svelte-f09cfl"), a(
|
|
155
165
|
e,
|
|
156
166
|
"line-height",
|
|
157
167
|
/*lineHeightStyle*/
|
|
158
|
-
t[
|
|
159
|
-
),
|
|
168
|
+
t[6]
|
|
169
|
+
), a(
|
|
160
170
|
e,
|
|
161
171
|
"font-size",
|
|
162
172
|
/*nameSize*/
|
|
163
|
-
t[
|
|
173
|
+
t[9]
|
|
164
174
|
);
|
|
165
175
|
},
|
|
166
|
-
m(i,
|
|
167
|
-
|
|
176
|
+
m(i, f) {
|
|
177
|
+
I(i, e, f), r(e, l);
|
|
168
178
|
},
|
|
169
|
-
p(i,
|
|
170
|
-
|
|
171
|
-
16 &&
|
|
172
|
-
|
|
179
|
+
p(i, f) {
|
|
180
|
+
f & /*name*/
|
|
181
|
+
16 && E(
|
|
182
|
+
l,
|
|
173
183
|
/*name*/
|
|
174
184
|
i[4]
|
|
175
|
-
),
|
|
176
|
-
|
|
185
|
+
), f & /*lineHeightStyle*/
|
|
186
|
+
64 && a(
|
|
177
187
|
e,
|
|
178
188
|
"line-height",
|
|
179
189
|
/*lineHeightStyle*/
|
|
180
|
-
i[
|
|
181
|
-
),
|
|
182
|
-
|
|
190
|
+
i[6]
|
|
191
|
+
), f & /*nameSize*/
|
|
192
|
+
512 && a(
|
|
183
193
|
e,
|
|
184
194
|
"font-size",
|
|
185
195
|
/*nameSize*/
|
|
186
|
-
i[
|
|
196
|
+
i[9]
|
|
187
197
|
);
|
|
188
198
|
},
|
|
189
199
|
d(i) {
|
|
190
|
-
i &&
|
|
200
|
+
i && _(e);
|
|
191
201
|
}
|
|
192
202
|
};
|
|
193
203
|
}
|
|
194
|
-
function
|
|
195
|
-
let e,
|
|
204
|
+
function Y(t) {
|
|
205
|
+
let e, l, i, f, b, m, v, k, z, s = (
|
|
196
206
|
/*text*/
|
|
197
207
|
t[0] && !/*distance*/
|
|
198
|
-
t[2] && D(t)
|
|
199
|
-
), l = (
|
|
200
|
-
/*distance*/
|
|
201
208
|
t[2] && G(t)
|
|
209
|
+
), n = (
|
|
210
|
+
/*distance*/
|
|
211
|
+
t[2] && X(t)
|
|
202
212
|
);
|
|
203
213
|
return {
|
|
204
214
|
c() {
|
|
205
|
-
e =
|
|
206
|
-
t[1]})`),
|
|
215
|
+
e = p("div"), l = p("div"), i = T(), f = p("div"), b = T(), m = p("div"), v = p("div"), k = T(), s && s.c(), z = T(), n && n.c(), A(l, "class", "guide-line__tag-point svelte-f09cfl"), A(f, "class", "guide-line__tag-line svelte-f09cfl"), A(v, "class", "guide-line__tag-icon svelte-f09cfl"), a(v, "background-image", `url(${/*icon_url*/
|
|
216
|
+
t[1]})`), A(m, "class", "guide-line__tag-content svelte-f09cfl"), A(e, "class", "guide-line__tag svelte-f09cfl"), a(
|
|
207
217
|
e,
|
|
208
218
|
"opacity",
|
|
209
219
|
/*opacity*/
|
|
210
220
|
t[3]
|
|
211
221
|
);
|
|
212
222
|
},
|
|
213
|
-
m(
|
|
214
|
-
|
|
223
|
+
m(o, h) {
|
|
224
|
+
I(o, e, h), r(e, l), r(e, i), r(e, f), r(e, b), r(e, m), r(m, v), r(m, k), s && s.m(m, null), r(m, z), n && n.m(m, null);
|
|
215
225
|
},
|
|
216
|
-
p(
|
|
217
|
-
|
|
218
|
-
2 &&
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
8 &&
|
|
226
|
+
p(o, [h]) {
|
|
227
|
+
h & /*icon_url*/
|
|
228
|
+
2 && a(v, "background-image", `url(${/*icon_url*/
|
|
229
|
+
o[1]})`), /*text*/
|
|
230
|
+
o[0] && !/*distance*/
|
|
231
|
+
o[2] ? s ? s.p(o, h) : (s = G(o), s.c(), s.m(m, z)) : s && (s.d(1), s = null), /*distance*/
|
|
232
|
+
o[2] ? n ? n.p(o, h) : (n = X(o), n.c(), n.m(m, null)) : n && (n.d(1), n = null), h & /*opacity*/
|
|
233
|
+
8 && a(
|
|
224
234
|
e,
|
|
225
235
|
"opacity",
|
|
226
236
|
/*opacity*/
|
|
227
|
-
|
|
237
|
+
o[3]
|
|
228
238
|
);
|
|
229
239
|
},
|
|
230
|
-
i:
|
|
231
|
-
o:
|
|
232
|
-
d(
|
|
233
|
-
|
|
240
|
+
i: D,
|
|
241
|
+
o: D,
|
|
242
|
+
d(o) {
|
|
243
|
+
o && _(e), s && s.d(), n && n.d();
|
|
234
244
|
}
|
|
235
245
|
};
|
|
236
246
|
}
|
|
237
|
-
function
|
|
238
|
-
let i,
|
|
239
|
-
const
|
|
240
|
-
return t.$$set = (
|
|
241
|
-
"text" in
|
|
247
|
+
function U(t, e, l) {
|
|
248
|
+
let i, f, b, m, v, k, z, s, { text: n = "" } = e, { icon_url: o = "" } = e, { distance: h = 0 } = e, { opacity: q = 1 } = e, { name: g = "" } = e, { i18n: c = (d) => d } = e, { fontSize: u = "md" } = e;
|
|
249
|
+
const S = "data:image/png;base64,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";
|
|
250
|
+
return t.$$set = (d) => {
|
|
251
|
+
"text" in d && l(0, n = d.text), "icon_url" in d && l(1, o = d.icon_url), "distance" in d && l(2, h = d.distance), "opacity" in d && l(3, q = d.opacity), "name" in d && l(4, g = d.name), "i18n" in d && l(5, c = d.i18n), "fontSize" in d && l(11, u = d.fontSize);
|
|
242
252
|
}, t.$$.update = () => {
|
|
243
|
-
var
|
|
253
|
+
var d, P;
|
|
244
254
|
t.$$.dirty & /*fontSize*/
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
255
|
+
2048 && l(13, i = B[u]), t.$$.dirty & /*fontConfig*/
|
|
256
|
+
8192 && l(9, f = y((i == null ? void 0 : i.name) || 12)), t.$$.dirty & /*fontConfig*/
|
|
257
|
+
8192 && l(15, b = ((d = i == null ? void 0 : i.padding) == null ? void 0 : d.guide) || [8, 2]), t.$$.dirty & /*padding*/
|
|
258
|
+
32768 && l(8, m = `${y(b[1])} ${y(b[0])}`), t.$$.dirty & /*fontConfig*/
|
|
259
|
+
8192 && l(14, v = ((P = i == null ? void 0 : i.padding) == null ? void 0 : P.distance) || [4, 2]), t.$$.dirty & /*distancePadding*/
|
|
260
|
+
16384 && l(7, k = `${y(v[1])} ${y(v[0])}`), t.$$.dirty & /*fontConfig*/
|
|
261
|
+
8192 && l(12, z = (i == null ? void 0 : i.lineHeight) || 14), t.$$.dirty & /*lineHeight*/
|
|
262
|
+
4096 && l(6, s = y(z));
|
|
253
263
|
}, [
|
|
254
|
-
|
|
255
|
-
f,
|
|
264
|
+
n,
|
|
256
265
|
o,
|
|
257
|
-
E,
|
|
258
|
-
I,
|
|
259
|
-
s,
|
|
260
266
|
h,
|
|
267
|
+
q,
|
|
268
|
+
g,
|
|
269
|
+
c,
|
|
270
|
+
s,
|
|
271
|
+
k,
|
|
261
272
|
m,
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
273
|
+
f,
|
|
274
|
+
S,
|
|
275
|
+
u,
|
|
276
|
+
z,
|
|
266
277
|
i,
|
|
267
|
-
|
|
278
|
+
v,
|
|
268
279
|
b
|
|
269
280
|
];
|
|
270
281
|
}
|
|
271
|
-
class
|
|
282
|
+
class j extends w {
|
|
272
283
|
constructor(e) {
|
|
273
|
-
super(),
|
|
284
|
+
super(), F(
|
|
274
285
|
this,
|
|
275
286
|
e,
|
|
287
|
+
U,
|
|
276
288
|
Y,
|
|
277
|
-
|
|
278
|
-
F,
|
|
289
|
+
K,
|
|
279
290
|
{
|
|
280
291
|
text: 0,
|
|
281
292
|
icon_url: 1,
|
|
282
293
|
distance: 2,
|
|
283
294
|
opacity: 3,
|
|
284
295
|
name: 4,
|
|
285
|
-
|
|
296
|
+
i18n: 5,
|
|
297
|
+
fontSize: 11
|
|
286
298
|
},
|
|
287
|
-
|
|
299
|
+
V
|
|
288
300
|
);
|
|
289
301
|
}
|
|
290
302
|
}
|
|
291
303
|
export {
|
|
292
|
-
|
|
304
|
+
j as default
|
|
293
305
|
};
|
|
@@ -6,20 +6,13 @@ import type { Config as BaseConfig } from '../base/BasePlugin';
|
|
|
6
6
|
import { GuideLineItem } from './GuideLineItem';
|
|
7
7
|
import CruisePluginController from '../CruisePlugin/Work';
|
|
8
8
|
export declare const pluginFlag: (name: string) => string;
|
|
9
|
-
type Config = BaseConfig
|
|
10
|
-
/**
|
|
11
|
-
* @description 格式化距离函数,用于将米转换为显示文本(包含单位)
|
|
12
|
-
* @param distanceInMeter 距离(单位:米)
|
|
13
|
-
* @returns 格式化后的距离字符串,例如 "10m" 或 "32'10""
|
|
14
|
-
*/
|
|
15
|
-
formatDistance?: (distanceInMeter: number) => string;
|
|
16
|
-
};
|
|
9
|
+
type Config = BaseConfig;
|
|
17
10
|
export default class Controller extends BasePluginWithData.Controller<PluginState, EventMap, PluginServerData, PluginData> {
|
|
18
11
|
readonly name = "GuideLinePlugin";
|
|
19
12
|
readonly cruisePlugin: CruisePluginController;
|
|
20
13
|
/** GuideLineItem 索引 */
|
|
21
14
|
readonly itemMap: Map<string | number, GuideLineItem>;
|
|
22
|
-
get config():
|
|
15
|
+
get config(): BaseConfig;
|
|
23
16
|
state: {
|
|
24
17
|
visible: boolean;
|
|
25
18
|
enabled: boolean;
|
|
@@ -61,31 +54,6 @@ export default class Controller extends BasePluginWithData.Controller<PluginStat
|
|
|
61
54
|
getGuideLineItemByID(id: string | number): GuideLineItem;
|
|
62
55
|
/** 移除一个 GuideLineItem */
|
|
63
56
|
removeGuideLineItem(item: GuideLineItem): void;
|
|
64
|
-
/**
|
|
65
|
-
* 动态更新距离格式化函数,立即刷新所有路线标签的距离显示。
|
|
66
|
-
* 不传参时恢复为默认格式(i18n('全程') + 距离 + i18n('米'))。
|
|
67
|
-
* @param fn 格式化函数,输入米数,返回带单位的完整字符串
|
|
68
|
-
* @example
|
|
69
|
-
* // 室内英制:英尺 + 英寸(如 "5'10"")
|
|
70
|
-
* plugin.setDistanceFormatter((m) => {
|
|
71
|
-
* const totalInches = Math.round(m * 39.3701)
|
|
72
|
-
* const feet = Math.floor(totalInches / 12)
|
|
73
|
-
* const inches = totalInches % 12
|
|
74
|
-
* return `${feet}'${inches}"`
|
|
75
|
-
* })
|
|
76
|
-
* // 室外英制:英里(如 "1.24 mi")
|
|
77
|
-
* plugin.setDistanceFormatter((m) => `${(m * 0.000621371).toFixed(2)} mi`)
|
|
78
|
-
* // 自动切换:近距离用英尺,远距离用英里
|
|
79
|
-
* plugin.setDistanceFormatter((m) => {
|
|
80
|
-
* if (m < 300) return `${Math.round(m * 3.28084)} ft`
|
|
81
|
-
* return `${(m * 0.000621371).toFixed(2)} mi`
|
|
82
|
-
* })
|
|
83
|
-
* // 恢复默认(i18n '米')
|
|
84
|
-
* plugin.setDistanceFormatter()
|
|
85
|
-
*/
|
|
86
|
-
setDistanceFormatter(fn?: (distanceInMeter: number) => string): void;
|
|
87
|
-
/** 更新所有 tag 的距离显示(当 formatDistance 函数改变时调用) */
|
|
88
|
-
private updateTagDistances;
|
|
89
57
|
/** 全量更新 tag */
|
|
90
58
|
updateTagsEnable(): void;
|
|
91
59
|
/** 清空所有 GuideLineItem */
|