@realsee/dnalogel 3.61.7-alpha.0 → 3.61.7
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/Sculpt/Objects/Rectangle/index.d.ts +1 -1
- package/dist/index.cjs.js +41 -41
- package/dist/index.js +1800 -1817
- package/dist/index.umd.js +34 -34
- package/dist/shared-utils/three/PointSelector/index.d.ts +4 -6
- package/dist/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +0 -8
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
- package/docs/classes/ModelMakerPluginInstance.html +15 -15
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/classes/MoveController.html +17 -17
- package/docs/classes/Object3DHelperController.html +15 -15
- package/docs/classes/PaintBrush.html +5 -5
- 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 +4 -4
- package/docs/classes/PanoTagPluginController.html +34 -34
- package/docs/classes/Sculpt.html +23 -23
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +4 -4
- package/docs/classes/Util.FivePuppet.html +3 -3
- package/docs/classes/Util.Interval.html +5 -5
- package/docs/classes/Util.LightTag.html +14 -14
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +6 -6
- package/docs/classes/Util.Object3D.html +4 -4
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +11 -14
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +5 -5
- package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
- package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
- package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.LineMesh.html +5 -5
- package/docs/classes/Util.sculpt.PointMesh.html +5 -5
- package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
- package/docs/classes/WalkController.html +18 -18
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +3 -3
- 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 +3 -3
- package/docs/enums/Rotation.html +3 -3
- 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/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.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 +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +15 -15
- package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +5 -5
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +8 -8
- package/docs/interfaces/FloorplanExtraObject.html +5 -5
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +8 -8
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +5 -5
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +8 -8
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/GuideLinePluginType.RouteConfig.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.EventMap.html +10 -10
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
- 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 +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +6 -6
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- 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 +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
- package/docs/interfaces/PluginEventMap.html +4 -4
- 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 +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +6 -6
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +7 -7
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +4 -4
- 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 +4 -4
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
- package/docs/interfaces/Util.MagnifierParameter.html +5 -5
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +4 -8
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- 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/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/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/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 +1 -1
- 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/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/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.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/PanoMeasurePlugin/Controller/EditController.js +54 -54
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +36 -36
- package/libs/PanoTagPlugin/Components/TagContainer.js +20 -20
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +1 -1
- package/libs/Sculpt/Objects/Rectangle/index.js +115 -116
- package/libs/base/BasePlugin.js +5 -5
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.d.ts +4 -6
- package/libs/shared-utils/three/PointSelector/index.js +84 -102
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +0 -8
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.61.7
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.61.7</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.61.7</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="itemLabelPluginServerParams.html">itemLabelPluginServerParams</a></li></ul><h1>Variable itemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in src/ItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.61.7</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.61.7
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.61.7</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.61.7</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul><h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in src/ModelItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.61.7</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.61.7
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.61.7</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.61.7</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul><h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in src/ModelRoomLabelPlugin/index.ts:9</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.61.7</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -10,7 +10,7 @@ var w = (d, a, e) => a in d ? x(d, a, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
O.call(a, e) && w(d, e, a[e]);
|
|
11
11
|
return d;
|
|
12
12
|
}, M = (d, a) => j(d, G(a));
|
|
13
|
-
var
|
|
13
|
+
var o = (d, a, e) => (w(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
14
|
import $ from "../Model/line.js";
|
|
15
15
|
import I from "../Model/point.js";
|
|
16
16
|
import { throttle as q } from "../../shared-utils/throttle.js";
|
|
@@ -22,7 +22,7 @@ import { PointSelector as F } from "../../shared-utils/three/PointSelector/index
|
|
|
22
22
|
import N from "../Modules/DeleteDom/index.js";
|
|
23
23
|
import * as f from "three";
|
|
24
24
|
import { Vector2 as T } from "three";
|
|
25
|
-
import
|
|
25
|
+
import U from "../utils/isNDCPointInScreen.js";
|
|
26
26
|
import { closestPointOnLine as Q } from "../utils/math.js";
|
|
27
27
|
import { getFiveModel as X } from "../../shared-utils/five/getFiveModel.js";
|
|
28
28
|
import "../../shared-utils/tag.js";
|
|
@@ -95,32 +95,32 @@ import "../../shared-utils/three/PointSelector/utils/contents.js";
|
|
|
95
95
|
import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
96
96
|
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
97
97
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
98
|
-
const
|
|
98
|
+
const b = () => !1;
|
|
99
99
|
class Tt extends z {
|
|
100
100
|
constructor(e) {
|
|
101
101
|
super(e);
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
102
|
+
o(this, "type", "edit");
|
|
103
|
+
o(this, "polyline");
|
|
104
|
+
o(this, "area");
|
|
105
|
+
o(this, "hasAppendDashed", !1);
|
|
106
106
|
// private deleteDom: DeleteDom
|
|
107
|
-
|
|
107
|
+
o(this, "fiveElement");
|
|
108
108
|
/** 上一个端点位置 */
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
o(this, "lastPoint", null);
|
|
110
|
+
o(this, "pointSelector");
|
|
111
|
+
o(this, "deleteDom");
|
|
112
112
|
/** 根据 intersection 更新放大镜和吸附点 */
|
|
113
|
-
|
|
114
|
-
this.currentMeasureType === "area" && typeof
|
|
113
|
+
o(this, "onIntersectionUpdate", q((e, t) => {
|
|
114
|
+
this.currentMeasureType === "area" && typeof t == "boolean" && (t ? this.hook.emit("readyComplete") : this.hook.emit("notReadyComplete")), this.updateDashed();
|
|
115
115
|
}, 20));
|
|
116
116
|
/** 撤销编辑 */
|
|
117
|
-
|
|
117
|
+
o(this, "revoke", () => {
|
|
118
118
|
this.currentMeasureType === "area" ? this.revokeArea() : this.currentMeasureType === "line" && this.revokeLine();
|
|
119
119
|
});
|
|
120
120
|
/**
|
|
121
121
|
* @description: 测面积的撤销功能
|
|
122
122
|
*/
|
|
123
|
-
|
|
123
|
+
o(this, "revokeArea", () => {
|
|
124
124
|
if (this.area.points.length !== 0) {
|
|
125
125
|
if (this.area.popPoint(), this.hook.emit("pointsChange", this.area.points), this.area.points.length === 0) {
|
|
126
126
|
this.lastPoint = null, this.hasAppendDashed = !1, this.dashed.remove(), this.five.needsRender = !0, this.hook.emit("revoke", { isEmpty: !0 });
|
|
@@ -133,7 +133,7 @@ class Tt extends z {
|
|
|
133
133
|
/**
|
|
134
134
|
* @description: 测距的撤销功能
|
|
135
135
|
*/
|
|
136
|
-
|
|
136
|
+
o(this, "revokeLine", (e) => {
|
|
137
137
|
const t = e || this.polyline;
|
|
138
138
|
if (t.lines.length === 0 && this.lastPoint) {
|
|
139
139
|
this.lastPoint = null, this.hasAppendDashed = !1, this.pointSelector.setAdherePoints(null), this.dashed.remove(), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.needsRender = !0, this.hook.emit("pointsChange", []);
|
|
@@ -144,21 +144,21 @@ class Tt extends z {
|
|
|
144
144
|
const i = t.lines[t.lines.length - 1], n = i.findAnotherPoint(this.lastPoint);
|
|
145
145
|
n && (this.lastPoint = n, this.hook.emit("anchorChange", n.position), this.group.remove(i.mesh), t.removeLine(i), i.distanceItem.remove(), this.updateDashed(), this.five.needsRender = !0);
|
|
146
146
|
});
|
|
147
|
-
|
|
147
|
+
o(this, "checkMouseLeave", (e) => {
|
|
148
148
|
e || (this.dashed.hide(), this.perpendicularDashed.hide(), this.area.hideArea());
|
|
149
149
|
});
|
|
150
150
|
/** 编辑线条发生改变时通知外部 */
|
|
151
|
-
|
|
151
|
+
o(this, "onLineChanged", () => {
|
|
152
152
|
this.hook.emit("editedPolylineChange", this.polyline);
|
|
153
153
|
});
|
|
154
|
-
|
|
154
|
+
o(this, "onWantsSelect", () => {
|
|
155
155
|
if (this.currentMeasureType === "area") {
|
|
156
156
|
const e = this.area.polygon.isBlank || this.area.polygon.visible === !1;
|
|
157
157
|
if (this.area.points.length >= 3 && e)
|
|
158
158
|
return !1;
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
|
-
|
|
161
|
+
o(this, "wantsMoveToPano", () => {
|
|
162
162
|
if (this.lastPoint)
|
|
163
163
|
return !1;
|
|
164
164
|
});
|
|
@@ -167,13 +167,13 @@ class Tt extends z {
|
|
|
167
167
|
* 2. 把上一个点的位置更新为当前点的位置
|
|
168
168
|
* 3. 清除 pointSelector
|
|
169
169
|
*/
|
|
170
|
-
|
|
170
|
+
o(this, "onSelect", () => {
|
|
171
171
|
var l, c, u, y;
|
|
172
172
|
this.hasAppendDashed || (this.dashed.distanceItem.appendTo(this.container), this.group.add(this.dashed.mesh), this.currentMeasureType === "area" && this.group.add(this.perpendicularDashed.mesh)), this.hasAppendDashed = !0;
|
|
173
173
|
const e = (() => {
|
|
174
|
-
var
|
|
174
|
+
var s, h;
|
|
175
175
|
if (this.currentMeasureType === "area")
|
|
176
|
-
return this.area.projectPoint((
|
|
176
|
+
return this.area.projectPoint((s = this.pointSelector.position) == null ? void 0 : s.point);
|
|
177
177
|
if (this.currentMeasureType === "line")
|
|
178
178
|
return (h = this.pointSelector.position) == null ? void 0 : h.point;
|
|
179
179
|
})();
|
|
@@ -183,12 +183,12 @@ class Tt extends z {
|
|
|
183
183
|
if (i != null && i.position && t.position.equals(i == null ? void 0 : i.position))
|
|
184
184
|
return;
|
|
185
185
|
this.lastPoint = t;
|
|
186
|
-
const n = (
|
|
186
|
+
const n = (s) => {
|
|
187
187
|
if (!this.lastPoint)
|
|
188
188
|
return [];
|
|
189
|
-
const { intersection: h, pointSelectorInstance: L } =
|
|
189
|
+
const { intersection: h, pointSelectorInstance: L } = s, g = L.pointSelectorHelper.pointHelper, m = new f.Vector3(0, 0, 1).applyQuaternion(g.quaternion);
|
|
190
190
|
if (m.x > 0.9999 || m.y > 0.9999 || m.z > 0.9999 || m.x < -0.9999 || m.y < -0.9999 || m.z < -0.9999) {
|
|
191
|
-
const
|
|
191
|
+
const S = h.point, v = this.lastPoint.position.clone().sub(S);
|
|
192
192
|
L.pointSelectorHelper.updateWithIntersect(h, { emitEvent: !1 });
|
|
193
193
|
const r = new f.Line3(
|
|
194
194
|
g.localToWorld(new f.Vector3(1, 0, 0)).add(v),
|
|
@@ -196,8 +196,8 @@ class Tt extends z {
|
|
|
196
196
|
), p = new f.Line3(
|
|
197
197
|
g.localToWorld(new f.Vector3(0, 1, 0)).add(v),
|
|
198
198
|
g.localToWorld(new f.Vector3(0, -1, 0)).add(v)
|
|
199
|
-
),
|
|
200
|
-
return [
|
|
199
|
+
), A = r.closestPointToPoint(S, !1, new f.Vector3()), P = p.closestPointToPoint(S, !1, new f.Vector3());
|
|
200
|
+
return [A, P];
|
|
201
201
|
}
|
|
202
202
|
return [];
|
|
203
203
|
};
|
|
@@ -206,8 +206,8 @@ class Tt extends z {
|
|
|
206
206
|
const h = new $(i, t, this.model);
|
|
207
207
|
h.distanceItem.setCanSelect(!1), h.distanceItem.appendTo(this.container), this.polyline.addLine(h), this.group.add(h.mesh), h.distanceItem.update(this.five);
|
|
208
208
|
}
|
|
209
|
-
const
|
|
210
|
-
typeof
|
|
209
|
+
const s = (c = (l = this.editParams) == null ? void 0 : l.autoEndConfig) == null ? void 0 : c.line;
|
|
210
|
+
typeof s == "number" && (this.polyline.getPointLength() >= s ? this.complete() : this.polyline.getPointLength() === s - 1 && this.hook.emit("readyComplete")), this.hook.emit("pointsChange", this.polyline.points);
|
|
211
211
|
} else if (this.currentMeasureType === "area") {
|
|
212
212
|
if (this.area.addPoints(t.position), this.area.isClosed) {
|
|
213
213
|
this.complete();
|
|
@@ -217,17 +217,17 @@ class Tt extends z {
|
|
|
217
217
|
var L;
|
|
218
218
|
return [this.area.points[0], ...(L = n(...h)) != null ? L : []].filter(Y);
|
|
219
219
|
});
|
|
220
|
-
const
|
|
221
|
-
typeof
|
|
220
|
+
const s = (y = (u = this.editParams) == null ? void 0 : u.autoEndConfig) == null ? void 0 : y.area;
|
|
221
|
+
typeof s == "number" && (this.area.points.length >= s ? this.complete() : this.area.points.length === s - 1 && this.hook.emit("readyComplete")), this.hook.emit("pointsChange", this.area.points);
|
|
222
222
|
}
|
|
223
223
|
this.updateDashed(), this.five.needsRender = !0, this.hook.emit("anchorChange", t.position);
|
|
224
224
|
});
|
|
225
225
|
/** 移动全景时更新 distanceItem 在屏幕上的位置 */
|
|
226
|
-
|
|
226
|
+
o(this, "onCameraUpdate", () => {
|
|
227
227
|
this.updateDistanceUI();
|
|
228
228
|
});
|
|
229
229
|
/** 更新虚线 */
|
|
230
|
-
|
|
230
|
+
o(this, "updateDashed", () => {
|
|
231
231
|
var i;
|
|
232
232
|
if (!this.lastPoint)
|
|
233
233
|
return;
|
|
@@ -246,17 +246,17 @@ class Tt extends z {
|
|
|
246
246
|
if (this.area.areaItem.setCanSelect(!1), this.area.points.length >= 2) {
|
|
247
247
|
const n = (i = this.pointSelector.position) == null ? void 0 : i.point;
|
|
248
248
|
if (n) {
|
|
249
|
-
const
|
|
250
|
-
this.perpendicularDashed.setPoints(
|
|
249
|
+
const s = n, h = t;
|
|
250
|
+
this.perpendicularDashed.setPoints(s, h), this.perpendicularDashed.show();
|
|
251
251
|
} else
|
|
252
252
|
this.perpendicularDashed.hide();
|
|
253
|
-
const l = this.area.polyline.lines.map((
|
|
253
|
+
const l = this.area.polyline.lines.map((s) => ({ start: s.points[0].position, end: s.points[1].position })), c = H({ start: e, end: t }, l), u = H({ start: t, end: this.area.points[0] }, l);
|
|
254
254
|
if (c || u)
|
|
255
255
|
this.area.hideArea(), this.hook.emit("allowAddPointStateChange", "forbid");
|
|
256
256
|
else {
|
|
257
257
|
this.area.showArea();
|
|
258
|
-
const
|
|
259
|
-
this.area.polygon.updatePoints(
|
|
258
|
+
const s = [...this.area.points, t];
|
|
259
|
+
this.area.polygon.updatePoints(s), this.area.areaItem.updateArea(this.five), this.hook.emit("allowAddPointStateChange", "allow");
|
|
260
260
|
}
|
|
261
261
|
} else
|
|
262
262
|
this.area.hideArea(), this.perpendicularDashed.hide();
|
|
@@ -264,24 +264,24 @@ class Tt extends z {
|
|
|
264
264
|
});
|
|
265
265
|
// ====================================================================================================================================
|
|
266
266
|
// 下面一堆高亮相关
|
|
267
|
-
|
|
268
|
-
var
|
|
267
|
+
o(this, "wantsTapGesture", (e) => {
|
|
268
|
+
var S, v;
|
|
269
269
|
if (this.editParams.pointSelectorMode === "cursor" || this.lastPoint)
|
|
270
270
|
return !1;
|
|
271
|
-
const t = this.model.areas.map((r) => e.intersectObject(r.polygon, !0)[0]).sort((r, p) => r.distance - p.distance), i = (v = (
|
|
271
|
+
const t = this.model.areas.map((r) => e.intersectObject(r.polygon, !0)[0]).sort((r, p) => r.distance - p.distance), i = (v = (S = t[0]) == null ? void 0 : S.object) == null ? void 0 : v.parent;
|
|
272
272
|
if (i != null && i.isPolygonMesh) {
|
|
273
273
|
const r = this.model.areas.find((p) => p.polygon === i);
|
|
274
274
|
if (r) {
|
|
275
|
-
const { x: p, y:
|
|
275
|
+
const { x: p, y: A } = t[0].point.clone().project(this.five.camera), P = `${(p + 1) / 2 * 100}%`, C = `${(-A + 1) / 2 * 100}%`;
|
|
276
276
|
return this.chooseArea(r, { left: P, top: C }), !1;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
const [n] = X(this.five).intersectRaycaster(e);
|
|
280
280
|
if (!n)
|
|
281
281
|
return;
|
|
282
|
-
const l = this.five.camera, c = n.point.clone().project(l), u = this.container.clientWidth, y = this.container.clientHeight,
|
|
283
|
-
const [p,
|
|
284
|
-
if (!
|
|
282
|
+
const l = this.five.camera, c = n.point.clone().project(l), u = this.container.clientWidth, y = this.container.clientHeight, s = new T(c.x * u, c.y * y), h = this.model.getAllLines().map((r) => {
|
|
283
|
+
const [p, A] = r.points, P = p.position.clone().project(l), C = A.position.clone().project(l);
|
|
284
|
+
if (!U(P) && !U(C))
|
|
285
285
|
return null;
|
|
286
286
|
const V = new T(P.x * u, P.y * y), W = new T(C.x * u, C.y * y);
|
|
287
287
|
return { id: r.id, points: [V, W] };
|
|
@@ -289,8 +289,8 @@ class Tt extends z {
|
|
|
289
289
|
if (h.length === 0)
|
|
290
290
|
return;
|
|
291
291
|
const g = h.map((r) => {
|
|
292
|
-
const p = Q(
|
|
293
|
-
return { id: r.id, distance: p.distanceTo(
|
|
292
|
+
const p = Q(s, r.points);
|
|
293
|
+
return { id: r.id, distance: p.distanceTo(s) };
|
|
294
294
|
}).sort((r, p) => r.distance - p.distance)[0];
|
|
295
295
|
if (g.distance > 20)
|
|
296
296
|
return;
|
|
@@ -298,17 +298,17 @@ class Tt extends z {
|
|
|
298
298
|
if (m)
|
|
299
299
|
return this.chooseLine(m), !1;
|
|
300
300
|
});
|
|
301
|
-
|
|
301
|
+
o(this, "chooseLine", (e) => {
|
|
302
302
|
const t = e.getPolyline().lines;
|
|
303
303
|
this.deleteDom.setTarget(t).setLines(t).updatePosition().show(), this.highlightLines(t), this.hook.emit("selectedChange", t);
|
|
304
304
|
});
|
|
305
|
-
|
|
305
|
+
o(this, "chooseArea", (e, t) => {
|
|
306
306
|
this.deleteDom.setTarget(e).updatePosition(t.left, `calc(${t.top} - 1.5rem)`).show(), this.highlightArea(e);
|
|
307
307
|
});
|
|
308
|
-
|
|
308
|
+
o(this, "deleteArea", (e) => {
|
|
309
309
|
this.unHighlightArea(e), e.dispose(), this.deleteDom.hide();
|
|
310
310
|
});
|
|
311
|
-
|
|
311
|
+
o(this, "deleteLine", (e) => {
|
|
312
312
|
const t = e[0], i = this.model.getPolylineByLine(t);
|
|
313
313
|
i && (this.model.removePolyline(i), i.lines.forEach((n) => this.removeLine(n)), this.deleteDom.setLines([]).hide());
|
|
314
314
|
});
|
|
@@ -339,12 +339,12 @@ class Tt extends z {
|
|
|
339
339
|
t.areaItem.appendTo(this.container), t.areaItem.updateDomPosition(this.five), t.areaItem.setCanSelect(!0), t.hook.on("selected", this.chooseArea), this.group.add(t.polygon), t.polyline.lines.forEach((i) => {
|
|
340
340
|
i.distanceItem.appendTo(this.container), i.distanceItem.update(this.five), this.group.add(i.mesh);
|
|
341
341
|
});
|
|
342
|
-
}), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsMoveToPano", this.wantsMoveToPano), this.five.on("wantsChangeMode",
|
|
342
|
+
}), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsMoveToPano", this.wantsMoveToPano), this.five.on("wantsChangeMode", b), this.pointSelector.on("intersectionUpdate", this.onIntersectionUpdate), this.pointSelector.on("intersectionUpdate", this.checkMouseLeave), this.pointSelector.on("select", this.onSelect), this.pointSelector.on("wantsSelect", this.onWantsSelect), this.polyline.hook.on("lineAdded", this.onLineChanged), this.polyline.hook.on("lineRemoved", this.onLineChanged), this.five.helperVisible = !1, this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.refresh();
|
|
343
343
|
}
|
|
344
344
|
dispose() {
|
|
345
345
|
super.dispose(), this.model.areas.forEach((e) => {
|
|
346
346
|
(e.points.length < 2 || e.polygon.isBlank) && this.model.removeArea(e);
|
|
347
|
-
}), this.five.helperVisible = !0, this.pointSelector.disable(), this.dashed.remove(), this.perpendicularDashed.remove(), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsTapGesture", this.wantsTapGesture), this.five.off("wantsMoveToPano", this.wantsMoveToPano), this.five.off("wantsChangeMode",
|
|
347
|
+
}), this.five.helperVisible = !0, this.pointSelector.disable(), this.dashed.remove(), this.perpendicularDashed.remove(), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsTapGesture", this.wantsTapGesture), this.five.off("wantsMoveToPano", this.wantsMoveToPano), this.five.off("wantsChangeMode", b), this.pointSelector.off("intersectionUpdate", this.onIntersectionUpdate), this.pointSelector.off("intersectionUpdate", this.checkMouseLeave), this.pointSelector.off("select", this.onSelect), this.pointSelector.off("wantsSelect", this.onWantsSelect), this.polyline.hook.off("lineAdded", this.onLineChanged), this.polyline.hook.off("lineRemoved", this.onLineChanged), this.magnifier.dispose(), this.deleteDom.dispose(), this.dashed.distanceItem.remove(), this.five.needsRender = !0;
|
|
348
348
|
}
|
|
349
349
|
getEditingLines() {
|
|
350
350
|
return this.polyline.lines;
|
|
@@ -11,27 +11,27 @@ var F = (e, i, o) => i in e ? Q(e, i, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return e;
|
|
12
12
|
}, L = (e, i) => V(e, X(i));
|
|
13
13
|
var K = (e, i, o) => new Promise((t, n) => {
|
|
14
|
-
var r = (
|
|
14
|
+
var r = (a) => {
|
|
15
15
|
try {
|
|
16
|
-
u(o.next(
|
|
16
|
+
u(o.next(a));
|
|
17
17
|
} catch (d) {
|
|
18
18
|
n(d);
|
|
19
19
|
}
|
|
20
|
-
}, m = (
|
|
20
|
+
}, m = (a) => {
|
|
21
21
|
try {
|
|
22
|
-
u(o.throw(
|
|
22
|
+
u(o.throw(a));
|
|
23
23
|
} catch (d) {
|
|
24
24
|
n(d);
|
|
25
25
|
}
|
|
26
|
-
}, u = (
|
|
26
|
+
}, u = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(r, m);
|
|
27
27
|
u((o = o.apply(e, i)).next());
|
|
28
28
|
});
|
|
29
|
-
import { SvelteComponent as $, init as x, safe_not_equal as ee, append_styles as ie, empty as N, insert as w, transition_in as _, transition_out as y, check_outros as B, detach as b, createEventDispatcher as ne, onMount as te, element as R, space as oe, attr as p, set_style as f, append as re, group_outros as G, create_component as
|
|
29
|
+
import { SvelteComponent as $, init as x, safe_not_equal as ee, append_styles as ie, empty as N, insert as w, transition_in as _, transition_out as y, check_outros as B, detach as b, createEventDispatcher as ne, onMount as te, element as R, space as oe, attr as p, set_style as f, append as re, group_outros as G, create_component as ae, mount_component as le, destroy_component as ue, handle_promise as q, update_await_block_branch as J, noop as s, src_url_equal as M } from "../../../../vendor/svelte/internal/index.js";
|
|
30
30
|
import "three";
|
|
31
31
|
import { noTypecheck as W } from "../../../utils/noTypecheck.js";
|
|
32
|
-
import { getKeyframeInfo as se, getImageInfo as
|
|
32
|
+
import { getKeyframeInfo as se, getImageInfo as fe } from "../../../utils/getImageInfo.js";
|
|
33
33
|
import g from "../../../utils/px2rem.js";
|
|
34
|
-
import
|
|
34
|
+
import ce from "../Shadow.js";
|
|
35
35
|
import "../../../../vendor/svelte/transition/index.js";
|
|
36
36
|
import "../../../../vendor/svelte/easing/index.js";
|
|
37
37
|
function de(e) {
|
|
@@ -48,10 +48,10 @@ function j(e) {
|
|
|
48
48
|
/*shadow*/
|
|
49
49
|
e[0] && A()
|
|
50
50
|
);
|
|
51
|
-
function r(
|
|
51
|
+
function r(a, d) {
|
|
52
52
|
return (
|
|
53
53
|
/*isKeyframe*/
|
|
54
|
-
|
|
54
|
+
a[8] ? he : me
|
|
55
55
|
);
|
|
56
56
|
}
|
|
57
57
|
let m = r(e), u = m(e);
|
|
@@ -64,36 +64,36 @@ function j(e) {
|
|
|
64
64
|
e[1]
|
|
65
65
|
);
|
|
66
66
|
},
|
|
67
|
-
m(
|
|
68
|
-
w(
|
|
67
|
+
m(a, d) {
|
|
68
|
+
w(a, i, d), n && n.m(i, null), re(i, o), u.m(i, null), t = !0;
|
|
69
69
|
},
|
|
70
|
-
p(
|
|
70
|
+
p(a, d) {
|
|
71
71
|
/*shadow*/
|
|
72
|
-
|
|
72
|
+
a[0] ? n ? d & /*shadow*/
|
|
73
73
|
1 && _(n, 1) : (n = A(), n.c(), _(n, 1), n.m(i, o)) : n && (G(), y(n, 1, 1, () => {
|
|
74
74
|
n = null;
|
|
75
|
-
}), B()), m === (m = r(
|
|
75
|
+
}), B()), m === (m = r(a)) && u ? u.p(a, d) : (u.d(1), u = m(a), u && (u.c(), u.m(i, null))), d & /*width*/
|
|
76
76
|
2 && f(
|
|
77
77
|
i,
|
|
78
78
|
"width",
|
|
79
79
|
/*width*/
|
|
80
|
-
|
|
80
|
+
a[1]
|
|
81
81
|
);
|
|
82
82
|
},
|
|
83
|
-
i(
|
|
83
|
+
i(a) {
|
|
84
84
|
t || (_(n), t = !0);
|
|
85
85
|
},
|
|
86
|
-
o(
|
|
86
|
+
o(a) {
|
|
87
87
|
y(n), t = !1;
|
|
88
88
|
},
|
|
89
|
-
d(
|
|
90
|
-
|
|
89
|
+
d(a) {
|
|
90
|
+
a && b(i), n && n.d(), u.d();
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
function A(e) {
|
|
95
95
|
let i, o;
|
|
96
|
-
return i = new
|
|
96
|
+
return i = new ce({
|
|
97
97
|
props: {
|
|
98
98
|
center: !0,
|
|
99
99
|
blurRadius: 24,
|
|
@@ -101,10 +101,10 @@ function A(e) {
|
|
|
101
101
|
}
|
|
102
102
|
}), {
|
|
103
103
|
c() {
|
|
104
|
-
|
|
104
|
+
ae(i.$$.fragment);
|
|
105
105
|
},
|
|
106
106
|
m(t, n) {
|
|
107
|
-
|
|
107
|
+
le(i, t, n), o = !0;
|
|
108
108
|
},
|
|
109
109
|
i(t) {
|
|
110
110
|
o || (_(i.$$.fragment, t), o = !0);
|
|
@@ -433,7 +433,7 @@ function k(e) {
|
|
|
433
433
|
return L(C({}, e), { width: r, height: m });
|
|
434
434
|
}
|
|
435
435
|
function We(e, i, o) {
|
|
436
|
-
let t, n, r, m, u,
|
|
436
|
+
let t, n, r, m, u, a, d, v, I, { width: H = null } = i, { icon: l = null } = i, { shadow: z = !1 } = i;
|
|
437
437
|
const S = ne();
|
|
438
438
|
function O(c) {
|
|
439
439
|
return K(this, null, function* () {
|
|
@@ -445,8 +445,8 @@ function We(e, i, o) {
|
|
|
445
445
|
return K(this, null, function* () {
|
|
446
446
|
if (typeof I == "number")
|
|
447
447
|
return L(C({}, c), { width: I });
|
|
448
|
-
const h = yield
|
|
449
|
-
return
|
|
448
|
+
const h = yield fe(c);
|
|
449
|
+
return S("iconLoaded", h), h;
|
|
450
450
|
});
|
|
451
451
|
}
|
|
452
452
|
function D() {
|
|
@@ -455,23 +455,23 @@ function We(e, i, o) {
|
|
|
455
455
|
return te(() => {
|
|
456
456
|
D();
|
|
457
457
|
}), e.$$set = (c) => {
|
|
458
|
-
"width" in c && o(1, H = c.width), "icon" in c && o(12,
|
|
458
|
+
"width" in c && o(1, H = c.width), "icon" in c && o(12, l = c.icon), "shadow" in c && o(0, z = c.shadow);
|
|
459
459
|
}, e.$$.update = () => {
|
|
460
460
|
var c, h;
|
|
461
461
|
e.$$.dirty & /*icon*/
|
|
462
|
-
4096 && o(7, t =
|
|
463
|
-
4096 && o(2, n = (c =
|
|
464
|
-
4096 && o(6, r =
|
|
465
|
-
4096 && o(5, m =
|
|
466
|
-
4096 && o(4, u = (h =
|
|
467
|
-
4096 && o(3,
|
|
462
|
+
4096 && o(7, t = l == null ? void 0 : l.url), e.$$.dirty & /*icon*/
|
|
463
|
+
4096 && o(2, n = (c = l == null ? void 0 : l.steps) != null ? c : 1), e.$$.dirty & /*icon*/
|
|
464
|
+
4096 && o(6, r = l == null ? void 0 : l.fps), e.$$.dirty & /*icon*/
|
|
465
|
+
4096 && o(5, m = l == null ? void 0 : l.ratio), e.$$.dirty & /*icon*/
|
|
466
|
+
4096 && o(4, u = (h = l == null ? void 0 : l.scale) != null ? h : 1), e.$$.dirty & /*icon*/
|
|
467
|
+
4096 && o(3, a = l == null ? void 0 : l.width), e.$$.dirty & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
468
468
|
252 && o(9, d = W({
|
|
469
469
|
url: t,
|
|
470
470
|
steps: n,
|
|
471
471
|
fps: r,
|
|
472
472
|
ratio: m,
|
|
473
473
|
scale: u,
|
|
474
|
-
width:
|
|
474
|
+
width: a
|
|
475
475
|
})), e.$$.dirty & /*iconSteps*/
|
|
476
476
|
4 && o(8, v = n > 1), e.$$.dirty & /*width*/
|
|
477
477
|
2 && (I = H);
|
|
@@ -479,7 +479,7 @@ function We(e, i, o) {
|
|
|
479
479
|
z,
|
|
480
480
|
H,
|
|
481
481
|
n,
|
|
482
|
-
|
|
482
|
+
a,
|
|
483
483
|
u,
|
|
484
484
|
m,
|
|
485
485
|
r,
|
|
@@ -488,7 +488,7 @@ function We(e, i, o) {
|
|
|
488
488
|
d,
|
|
489
489
|
O,
|
|
490
490
|
P,
|
|
491
|
-
|
|
491
|
+
l
|
|
492
492
|
];
|
|
493
493
|
}
|
|
494
494
|
class Re extends $ {
|