@realsee/dnalogel 3.12.4 → 3.12.5
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/README.md +10 -11
- package/dist/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +65 -65
- package/dist/index.js +4729 -4557
- package/dist/index.umd.js +56 -56
- package/docs/assets/custom.css +0 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +32 -32
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +35 -35
- package/docs/classes/CSS3DRender.html +32 -32
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +41 -41
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/MoveController.html +28 -28
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +27 -27
- package/docs/classes/PanoMeasurePluginModel.html +27 -27
- package/docs/classes/PanoMeasurePluginPoint.html +11 -11
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -27
- package/docs/classes/PanoTagPluginController.html +51 -51
- package/docs/classes/Util.BetterTween.html +10 -10
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.LineSegments.html +8 -8
- package/docs/classes/Util.Magnifier.html +20 -20
- package/docs/classes/Util.Object3D.html +9 -9
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.PointSelectorHelper.html +16 -16
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/classes/WalkController.html +27 -27
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +21 -21
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/AreaMakerPlugin.html +5 -5
- package/docs/functions/CSS3DRenderPlugin.html +5 -5
- package/docs/functions/CameraMovementPlugin.html +5 -5
- package/docs/functions/CruisePlugin.html +5 -5
- package/docs/functions/CurrentPanoImagePlugin.html +5 -5
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +5 -5
- package/docs/functions/MapviewFloorplanPlugin.html +5 -5
- package/docs/functions/ModelChassisCompassPlugin.html +5 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
- package/docs/functions/ModelFloorplanPlugin.html +5 -5
- package/docs/functions/ModelItemLabelPlugin.html +5 -5
- package/docs/functions/ModelRoomLabelPlugin.html +5 -5
- package/docs/functions/ModelTVVideoPlugin.html +5 -5
- package/docs/functions/ModelViewPlugin.html +5 -5
- package/docs/functions/MovePlugin.html +5 -5
- package/docs/functions/Object3DHelperPlugin.html +5 -5
- package/docs/functions/PanoCompassPlugin.html +5 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
- package/docs/functions/PanoDoorLabelPlugin.html +5 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
- package/docs/functions/PanoMeasurePlugin.html +5 -5
- package/docs/functions/PanoRulerPlugin.html +5 -5
- package/docs/functions/PanoRulerProPlugin.html +5 -5
- package/docs/functions/PanoSpatialTagPlugin.html +5 -5
- package/docs/functions/PanoTagPlugin.html +5 -5
- package/docs/functions/PanoVideoPlugin.html +5 -5
- package/docs/functions/PipelinePlugin.html +5 -5
- package/docs/functions/TopviewFloorplanPlugin.html +5 -5
- package/docs/functions/Util.absoluteUrl.html +5 -5
- package/docs/functions/Util.checkFiveModelLoaded.html +5 -5
- package/docs/functions/Util.equal.html +5 -5
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isAbsoluteURL.html +5 -5
- package/docs/functions/Util.isModelLike.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.isPanoramaLike.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/Util.uuid.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +20 -21
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.Config.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +15 -15
- package/docs/interfaces/AreaMakerPluginType.Params.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +11 -11
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -9
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.State.html +8 -8
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -21
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +12 -12
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +8 -8
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -9
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +6 -6
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +11 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +16 -16
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +30 -30
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +12 -12
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/interfaces/Util.PointIntersection.html +8 -8
- package/docs/modules/AreaMakerPluginType.html +5 -5
- package/docs/modules/CruisePluginTypes.html +5 -5
- package/docs/modules/CurrentPanoImagePluginType.html +5 -5
- package/docs/modules/GuideLineItem.html +5 -5
- package/docs/modules/GuideLineModeItem.html +5 -5
- package/docs/modules/GuideLinePluginType.html +5 -5
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +5 -5
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +5 -5
- package/docs/types/AreaMakerPluginType.PluginData.html +5 -5
- package/docs/types/AreaMakerPluginType.ServerData.html +5 -5
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
- package/docs/types/CurrentPanoImagePluginExportType.html +5 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +5 -5
- package/docs/types/DeprecatedTagProperty.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/ElementRenderer.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -5
- package/docs/types/GuideLinePluginType.PathItem.html +5 -5
- package/docs/types/GuideLinePluginType.PluginData.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelId.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -5
- package/docs/types/PipelinePluginParameterType.html +5 -5
- package/docs/types/PipelinePluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagInstance.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagConfigByKey.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagContentTypeMapping.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagInstance.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TagRendererMap.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/defaultGlobalConfig.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/AreaMakerPlugin/Controller.js +54 -44
- package/libs/AreaMakerPlugin/index.js +13 -3
- package/libs/AreaMakerPlugin/utils/Item.js +13 -3
- package/libs/CruisePlugin/Work.js +19 -6
- package/libs/CruisePlugin/index.js +23 -10
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +46 -33
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +24 -11
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +72 -62
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +74 -63
- package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
- package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
- package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +33 -22
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +216 -198
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +155 -142
- package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
- package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +33 -18
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +32 -19
- package/libs/PanoTagPlugin/index.js +28 -15
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/AreaLabel/LabelItem.js +59 -54
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +41 -32
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +54 -49
- package/libs/floorplan/Components/Main.js +56 -47
- package/libs/floorplan/Components/MissingFloor.js +24 -21
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +24 -12
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +33 -21
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +138 -124
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/classnames/index.js +32 -32
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +11 -8
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
var b = Object.defineProperty;
|
|
2
2
|
var w = Object.getOwnPropertySymbols;
|
|
3
3
|
var T = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var p = (s,
|
|
5
|
-
for (var
|
|
6
|
-
T.call(
|
|
4
|
+
var p = (s, t, e) => t in s ? b(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, a = (s, t) => {
|
|
5
|
+
for (var e in t || (t = {}))
|
|
6
|
+
T.call(t, e) && p(s, e, t[e]);
|
|
7
7
|
if (w)
|
|
8
|
-
for (var
|
|
9
|
-
U.call(
|
|
8
|
+
for (var e of w(t))
|
|
9
|
+
U.call(t, e) && p(s, e, t[e]);
|
|
10
10
|
return s;
|
|
11
11
|
};
|
|
12
|
-
var i = (s,
|
|
12
|
+
var i = (s, t, e) => (p(s, typeof t != "symbol" ? t + "" : t, e), e);
|
|
13
13
|
import l from "./EditController.js";
|
|
14
14
|
import P from "./ViewController.js";
|
|
15
15
|
import v from "./WatchController.js";
|
|
16
|
-
import
|
|
16
|
+
import m from "./MixedController.js";
|
|
17
17
|
import { omit as k } from "../../shared-utils/filter.js";
|
|
18
18
|
import { Group as D } from "three";
|
|
19
19
|
import { Model as E } from "../Model/index.js";
|
|
@@ -98,19 +98,30 @@ import "../Modules/UIController/MainBtnController.js";
|
|
|
98
98
|
import "../Modules/UIController/mobileMainBtnController.js";
|
|
99
99
|
import "../Modules/UIController/Revoke/index.js";
|
|
100
100
|
import "../Components/Controller0.js";
|
|
101
|
-
import "../../vendor/svelte/internal/
|
|
101
|
+
import "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
102
|
+
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
103
|
+
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
104
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
105
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
106
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
107
|
+
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
108
|
+
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
109
|
+
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
110
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
111
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
102
112
|
import "../Components/Common/Switcher0.js";
|
|
113
|
+
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
103
114
|
import "../Components/Common/Exit.js";
|
|
104
115
|
import "../Components/Common/icons/index.js";
|
|
105
116
|
import "../Components/Controller1.js";
|
|
106
117
|
import "../Components/Common/Switcher1.js";
|
|
107
118
|
import "../Components/Common/CircleButton.js";
|
|
108
|
-
import "../../vendor/svelte/transition/index.js";
|
|
109
|
-
import "../../vendor/svelte/easing/index.js";
|
|
119
|
+
import "../../vendor/svelte/src/runtime/transition/index.js";
|
|
120
|
+
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
110
121
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
111
122
|
import "../Components/Tip.js";
|
|
112
|
-
class
|
|
113
|
-
constructor(
|
|
123
|
+
class He {
|
|
124
|
+
constructor(t, e) {
|
|
114
125
|
i(this, "hasOpen", !1);
|
|
115
126
|
i(this, "hook", new x());
|
|
116
127
|
i(this, "magnifier");
|
|
@@ -134,115 +145,115 @@ class Et {
|
|
|
134
145
|
* @description 还原点位展示和默认鼠标 UI
|
|
135
146
|
*/
|
|
136
147
|
i(this, "disable", () => {
|
|
137
|
-
var
|
|
138
|
-
this.hasOpen = !1, this.container.style.opacity = "0", (
|
|
148
|
+
var t, e, r, o;
|
|
149
|
+
this.hasOpen = !1, this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (r = this.useGuideController) == null || r.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
|
|
139
150
|
});
|
|
140
|
-
i(this, "getCurrentMode", () => this.controller instanceof l ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof
|
|
151
|
+
i(this, "getCurrentMode", () => this.controller instanceof l ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof m ? "Mixed" : this.controller instanceof P ? "View" : null);
|
|
141
152
|
/** 变更场景
|
|
142
153
|
* @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
|
|
143
154
|
*/
|
|
144
|
-
i(this, "changeMode", (
|
|
155
|
+
i(this, "changeMode", (t) => {
|
|
145
156
|
var o;
|
|
146
|
-
if (!this.hasOpen || this.getCurrentMode() ===
|
|
157
|
+
if (!this.hasOpen || this.getCurrentMode() === t)
|
|
147
158
|
return;
|
|
148
159
|
(o = this.controller) == null || o.dispose();
|
|
149
|
-
const
|
|
160
|
+
const e = {
|
|
150
161
|
View: P,
|
|
151
162
|
Watch: v,
|
|
152
163
|
Edit: l,
|
|
153
|
-
Mixed:
|
|
164
|
+
Mixed: m
|
|
154
165
|
};
|
|
155
|
-
if (!t
|
|
166
|
+
if (!e[t])
|
|
156
167
|
throw new Error("不存在的 Mode");
|
|
157
168
|
const r = this.createControllerParams();
|
|
158
|
-
this.controller = new t
|
|
169
|
+
this.controller = new e[t](r), this.hook.emit("modeChange", t);
|
|
159
170
|
});
|
|
160
171
|
/**
|
|
161
172
|
* @description: 切换测量的类型
|
|
162
173
|
*/
|
|
163
|
-
i(this, "changeMeasureType", (
|
|
164
|
-
this.currentMeasureType =
|
|
174
|
+
i(this, "changeMeasureType", (t) => {
|
|
175
|
+
this.currentMeasureType = t, this.hook.emit("measureTypeChange", t);
|
|
165
176
|
});
|
|
166
177
|
var n, c, u, d, f, g, M, y, C;
|
|
167
|
-
this.five =
|
|
168
|
-
const r = (y = (M =
|
|
178
|
+
this.five = t, this.params = e, this.config = k(e, ["openParams", "magnifierParams"]), this.model = new E(this.config), this.isMobile = (c = (n = e == null ? void 0 : e.openParams) == null ? void 0 : n.isMobile) != null ? c : !1, this.magnifier = new A(t, (u = e.magnifierParams) != null ? u : { width: 190, height: 190, scale: 2 }), this.allowMeasureType = Array.from(new Set((f = (d = e.editParams) == null ? void 0 : d.allowMeasureType) != null ? f : ["line"])), this.currentMeasureType = (g = this.allowMeasureType[0]) != null ? g : "line", this.group = new D(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
|
|
179
|
+
const r = (y = (M = e.editParams) == null ? void 0 : M.pointSelectorMode) != null ? y : B ? "fixed" : "cursor", o = (C = this.params.openParams) != null ? C : {};
|
|
169
180
|
if (this.params.useUIController !== !1) {
|
|
170
|
-
const
|
|
181
|
+
const h = a({
|
|
171
182
|
container: this.container,
|
|
172
183
|
openParams: o,
|
|
173
|
-
i18n:
|
|
184
|
+
i18n: e.i18n,
|
|
174
185
|
pointSelectorMode: r,
|
|
175
186
|
useNewUI: this.allowMeasureType.length > 1
|
|
176
187
|
}, I(this.params.useUIController));
|
|
177
|
-
this.useUIController = new S(this,
|
|
188
|
+
this.useUIController = new S(this, h);
|
|
178
189
|
}
|
|
179
190
|
if (this.params.useGuideController !== !1) {
|
|
180
|
-
const
|
|
191
|
+
const h = a({
|
|
181
192
|
container: this.container,
|
|
182
193
|
pointSelectorMode: r,
|
|
183
|
-
i18n:
|
|
194
|
+
i18n: e.i18n
|
|
184
195
|
}, I(this.params.useGuideController));
|
|
185
|
-
this.useGuideController = new L(this,
|
|
196
|
+
this.useGuideController = new L(this, h);
|
|
186
197
|
}
|
|
187
198
|
}
|
|
188
|
-
appendTo(
|
|
189
|
-
|
|
199
|
+
appendTo(t) {
|
|
200
|
+
t.append(this.container);
|
|
190
201
|
}
|
|
191
202
|
clear() {
|
|
192
203
|
this.model.clear();
|
|
193
204
|
}
|
|
194
205
|
dispose() {
|
|
195
|
-
var
|
|
196
|
-
this.disable(), this.clear(), (
|
|
206
|
+
var t, e;
|
|
207
|
+
this.disable(), this.clear(), (t = this.useUIController) == null || t.dispose(), (e = this.magnifier) == null || e.dispose(), this.five.needsRender = !0;
|
|
197
208
|
}
|
|
198
209
|
/** 加载数据
|
|
199
210
|
* @description 数据加载时会覆盖当前已保存的数据
|
|
200
211
|
* @description 如果当前正在编辑中,会自动退出并保存编辑
|
|
201
212
|
*/
|
|
202
|
-
load(
|
|
203
|
-
this.model.parse(
|
|
213
|
+
load(t) {
|
|
214
|
+
this.model.parse(t), this.save();
|
|
204
215
|
}
|
|
205
216
|
/** 插件功能入口
|
|
206
217
|
* @description 会隐藏鼠标的默认聚焦环
|
|
207
218
|
* @description 会隐藏当前 VR 内的点位展示
|
|
208
219
|
*/
|
|
209
|
-
enable(
|
|
210
|
-
var
|
|
211
|
-
this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.opacity = "1",
|
|
220
|
+
enable(t) {
|
|
221
|
+
var e;
|
|
222
|
+
this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (e = this.useUIController) == null || e.show(), this.shortcutKeyController = new O(this, this.five), this.hook.emit("enable", !0));
|
|
212
223
|
}
|
|
213
224
|
/** 进入编辑模式 */
|
|
214
|
-
edit(
|
|
215
|
-
|
|
216
|
-
const
|
|
217
|
-
this.changeMode(
|
|
225
|
+
edit(t) {
|
|
226
|
+
t && this.changeMeasureType(t);
|
|
227
|
+
const e = this.isMobile ? "Mixed" : "Edit";
|
|
228
|
+
this.changeMode(e);
|
|
218
229
|
}
|
|
219
230
|
/** 撤销编辑 */
|
|
220
231
|
revoke() {
|
|
221
232
|
this.controller instanceof l && this.controller.revoke();
|
|
222
233
|
}
|
|
223
|
-
removePolyline(
|
|
224
|
-
this.model.removePolyline(
|
|
234
|
+
removePolyline(t) {
|
|
235
|
+
this.model.removePolyline(t);
|
|
225
236
|
}
|
|
226
|
-
removeArea(
|
|
227
|
-
this.model.removeArea(
|
|
237
|
+
removeArea(t) {
|
|
238
|
+
this.model.removeArea(t);
|
|
228
239
|
}
|
|
229
|
-
removePolylineByID(
|
|
230
|
-
const
|
|
231
|
-
|
|
240
|
+
removePolylineByID(t) {
|
|
241
|
+
const e = this.model.getPolylineByID(t);
|
|
242
|
+
e && this.model.removePolyline(e);
|
|
232
243
|
}
|
|
233
|
-
getPolylineByID(
|
|
234
|
-
return this.model.getPolylineByID(
|
|
244
|
+
getPolylineByID(t) {
|
|
245
|
+
return this.model.getPolylineByID(t);
|
|
235
246
|
}
|
|
236
247
|
getEditedPolyline() {
|
|
237
248
|
}
|
|
238
249
|
/**
|
|
239
250
|
* 高亮当前线段
|
|
240
251
|
*/
|
|
241
|
-
highlightLine(
|
|
252
|
+
highlightLine(t) {
|
|
242
253
|
if (this.getCurrentMode() !== "Watch")
|
|
243
254
|
return !1;
|
|
244
|
-
const
|
|
245
|
-
return
|
|
255
|
+
const e = this.model.getLineByID(t);
|
|
256
|
+
return e ? (this.controller.highlightLine(e), !0) : !1;
|
|
246
257
|
}
|
|
247
258
|
clearHighlightLines() {
|
|
248
259
|
return this.getCurrentMode() !== "Watch" ? !1 : (this.controller.clearHighlightLines(), !0);
|
|
@@ -250,22 +261,22 @@ class Et {
|
|
|
250
261
|
/** 保存编辑
|
|
251
262
|
* @description 以下情况可能报错
|
|
252
263
|
*/
|
|
253
|
-
save(
|
|
264
|
+
save(t) {
|
|
254
265
|
var o;
|
|
255
|
-
if (!(this.controller instanceof l) && !(this.controller instanceof
|
|
266
|
+
if (!(this.controller instanceof l) && !(this.controller instanceof m))
|
|
256
267
|
return this;
|
|
257
|
-
const
|
|
268
|
+
const e = (o = t == null ? void 0 : t.mode) != null ? o : "View", r = this.controller.model.areas;
|
|
258
269
|
return this.controller instanceof l ? this.controller.complete() : r.forEach((n) => {
|
|
259
270
|
n.showArea(), this.model.addArea(n);
|
|
260
|
-
}), this.changeMode(
|
|
271
|
+
}), this.changeMode(e), this;
|
|
261
272
|
}
|
|
262
273
|
/** Mixed 模式才有用,添加起点 */
|
|
263
274
|
addStartPoint() {
|
|
264
|
-
this.controller instanceof
|
|
275
|
+
this.controller instanceof m && this.hook.emit("willChangeState", "watching", "editing");
|
|
265
276
|
}
|
|
266
277
|
/** Mixed 模式才有用,添加终点 */
|
|
267
278
|
addEndPoint() {
|
|
268
|
-
this.controller instanceof
|
|
279
|
+
this.controller instanceof m && this.hook.emit("willChangeState", "editing", "watching");
|
|
269
280
|
}
|
|
270
281
|
/** 导出数据 */
|
|
271
282
|
toJson() {
|
|
@@ -276,24 +287,24 @@ class Et {
|
|
|
276
287
|
* @description 改变插件的模式(pc端模式或移动端模式)
|
|
277
288
|
* @param isMobile true为移动端模式,false为pc端
|
|
278
289
|
*/
|
|
279
|
-
changeIsMobile(
|
|
290
|
+
changeIsMobile(t) {
|
|
280
291
|
}
|
|
281
|
-
changeConfigs(
|
|
282
|
-
var
|
|
283
|
-
Object.assign(this.config,
|
|
292
|
+
changeConfigs(t) {
|
|
293
|
+
var e, r;
|
|
294
|
+
Object.assign(this.config, t), (e = this.controller) == null || e.updateDistanceUI(), (r = this.controller) == null || r.updateAreaUI();
|
|
284
295
|
}
|
|
285
296
|
/** 设置线段的文本 */
|
|
286
|
-
setCustomText(
|
|
297
|
+
setCustomText(t, e) {
|
|
287
298
|
var o;
|
|
288
|
-
const r = this.model.getLineByID(
|
|
299
|
+
const r = this.model.getLineByID(t);
|
|
289
300
|
if (!r)
|
|
290
301
|
throw new Error("不存在的线段");
|
|
291
|
-
r.setText(
|
|
302
|
+
r.setText(e), (o = this.controller) == null || o.updateDistanceUI();
|
|
292
303
|
}
|
|
293
304
|
createControllerParams() {
|
|
294
305
|
var r, o;
|
|
295
|
-
const
|
|
296
|
-
return
|
|
306
|
+
const t = (r = this.params.openParams) != null ? r : {}, e = (o = this.params.editParams) != null ? o : {};
|
|
307
|
+
return t.isMobile = this.isMobile, {
|
|
297
308
|
five: this.five,
|
|
298
309
|
hook: this.hook,
|
|
299
310
|
group: this.group,
|
|
@@ -301,15 +312,15 @@ class Et {
|
|
|
301
312
|
config: this.config,
|
|
302
313
|
magnifier: this.magnifier,
|
|
303
314
|
container: this.container,
|
|
304
|
-
openParams:
|
|
305
|
-
editParams:
|
|
315
|
+
openParams: t,
|
|
316
|
+
editParams: e,
|
|
306
317
|
magnifierParams: this.params.magnifierParams,
|
|
307
318
|
getMeasureType: () => this.currentMeasureType,
|
|
308
|
-
mouseGroup: G(
|
|
319
|
+
mouseGroup: G(a({}, t.crossHairParameter)),
|
|
309
320
|
userDistanceItemCreator: this.params.userDistanceItemCreator
|
|
310
321
|
};
|
|
311
322
|
}
|
|
312
323
|
}
|
|
313
324
|
export {
|
|
314
|
-
|
|
325
|
+
He as default
|
|
315
326
|
};
|
|
@@ -1,12 +1,22 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (
|
|
4
|
-
import { objectAssignDeepExports as
|
|
1
|
+
var r = Object.defineProperty;
|
|
2
|
+
var p = (e, t, i) => t in e ? r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
|
|
3
|
+
var o = (e, t, i) => (p(e, typeof t != "symbol" ? t + "" : t, i), i);
|
|
4
|
+
import { objectAssignDeepExports as s } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
5
5
|
import l from "../Components/Tip.js";
|
|
6
|
-
import "../../vendor/svelte/internal/
|
|
7
|
-
import "../../vendor/svelte/
|
|
8
|
-
import "../../vendor/svelte/
|
|
9
|
-
|
|
6
|
+
import "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
7
|
+
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
8
|
+
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
9
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
10
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
11
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
12
|
+
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
13
|
+
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
14
|
+
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
15
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
16
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
17
|
+
import "../../vendor/svelte/src/runtime/transition/index.js";
|
|
18
|
+
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
19
|
+
const m = {
|
|
10
20
|
line: {
|
|
11
21
|
start: "选择一个合适的位置开始测量,点击【结束】或【鼠标右键】结束测量"
|
|
12
22
|
},
|
|
@@ -14,7 +24,7 @@ const n = {
|
|
|
14
24
|
start: "选择一个合适的位置开始绘制平面",
|
|
15
25
|
close: "选择3个点后将闭合平面,点击【结束】或【鼠标右键】将自动闭合"
|
|
16
26
|
}
|
|
17
|
-
},
|
|
27
|
+
}, n = {
|
|
18
28
|
line: {
|
|
19
29
|
start: ""
|
|
20
30
|
},
|
|
@@ -23,17 +33,17 @@ const n = {
|
|
|
23
33
|
close: "选择3个点后将闭合平面,点击结束自动闭合"
|
|
24
34
|
}
|
|
25
35
|
};
|
|
26
|
-
class
|
|
27
|
-
constructor(t,
|
|
36
|
+
class j {
|
|
37
|
+
constructor(t, i) {
|
|
28
38
|
o(this, "tipSvelteDom");
|
|
29
39
|
this.tipSvelteDom = new l({
|
|
30
|
-
target:
|
|
40
|
+
target: i.container,
|
|
31
41
|
props: {
|
|
32
42
|
measureController: t,
|
|
33
|
-
tips:
|
|
34
|
-
i18n:
|
|
43
|
+
tips: s({}, i.pointSelectorMode === "fixed" ? n : m, i.tips),
|
|
44
|
+
i18n: i.i18n,
|
|
35
45
|
visible: !0,
|
|
36
|
-
tipStyle:
|
|
46
|
+
tipStyle: i.tipStyle
|
|
37
47
|
}
|
|
38
48
|
});
|
|
39
49
|
}
|
|
@@ -51,5 +61,5 @@ class D {
|
|
|
51
61
|
}
|
|
52
62
|
}
|
|
53
63
|
export {
|
|
54
|
-
|
|
64
|
+
j as GuideController
|
|
55
65
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
2
|
var h = (r, o, t) => o in r ? a(r, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[o] = t;
|
|
3
|
-
var
|
|
3
|
+
var i = (r, o, t) => (h(r, typeof o != "symbol" ? o + "" : o, t), t);
|
|
4
4
|
import d from "./HTML.js";
|
|
5
5
|
import u from "./mobileHTML.js";
|
|
6
6
|
import { controllerBackgroundStyle as y, operatingSpaceStyle as f, uiWrapperStyle as v, textStyle as C, exitItemStyle as E, exitIconStyle as x } from "./style.js";
|
|
@@ -9,8 +9,19 @@ import { MobileMainBtnController as g } from "./mobileMainBtnController.js";
|
|
|
9
9
|
import w from "./Revoke/index.js";
|
|
10
10
|
import _ from "../../Components/Controller0.js";
|
|
11
11
|
import b from "../../Components/Controller1.js";
|
|
12
|
-
import "../../../vendor/svelte/internal/
|
|
12
|
+
import "../../../vendor/svelte/src/runtime/internal/utils.js";
|
|
13
|
+
import "../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
14
|
+
import "../../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
15
|
+
import "../../../vendor/svelte/src/runtime/internal/environment.js";
|
|
16
|
+
import "../../../vendor/svelte/src/runtime/internal/loop.js";
|
|
17
|
+
import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
18
|
+
import "../../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
19
|
+
import "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
20
|
+
import "../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
21
|
+
import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
22
|
+
import "../../../vendor/svelte/src/shared/version.js";
|
|
13
23
|
import "../../Components/Common/Switcher0.js";
|
|
24
|
+
import "../../../vendor/svelte/src/runtime/internal/each.js";
|
|
14
25
|
import "../../Components/Common/Exit.js";
|
|
15
26
|
import "../../Controller/EditController.js";
|
|
16
27
|
import "../../Model/line.js";
|
|
@@ -80,44 +91,44 @@ import "../../utils/math.js";
|
|
|
80
91
|
import "../../Components/Common/icons/index.js";
|
|
81
92
|
import "../../Components/Common/Switcher1.js";
|
|
82
93
|
import "../../Components/Common/CircleButton.js";
|
|
83
|
-
import "../../../vendor/svelte/transition/index.js";
|
|
84
|
-
import "../../../vendor/svelte/easing/index.js";
|
|
85
|
-
class
|
|
94
|
+
import "../../../vendor/svelte/src/runtime/transition/index.js";
|
|
95
|
+
import "../../../vendor/svelte/src/runtime/easing/index.js";
|
|
96
|
+
class ao {
|
|
86
97
|
constructor(o, t) {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
98
|
+
i(this, "revoke");
|
|
99
|
+
i(this, "container");
|
|
100
|
+
i(this, "mainController");
|
|
101
|
+
i(this, "disposers", []);
|
|
102
|
+
i(this, "measureController");
|
|
103
|
+
i(this, "mode");
|
|
104
|
+
i(this, "svelteDom");
|
|
105
|
+
i(this, "_params");
|
|
106
|
+
i(this, "handleExit", () => {
|
|
96
107
|
const o = this.container.querySelector(".fpm__exit-icon"), t = this.container.querySelector(".fpm__exit");
|
|
97
108
|
if (!t || !o)
|
|
98
109
|
throw new Error("cannot find dom");
|
|
99
110
|
this.mode === "pc" && (Object.assign(t.style, E), Object.assign(o == null ? void 0 : o.style, x));
|
|
100
|
-
const
|
|
111
|
+
const e = () => {
|
|
101
112
|
t.style.opacity = "1";
|
|
102
113
|
}, s = () => {
|
|
103
114
|
t.style.opacity = "0.85";
|
|
104
115
|
}, n = () => {
|
|
105
116
|
this.measureController.disable();
|
|
106
117
|
};
|
|
107
|
-
return t.addEventListener("click", n), t.addEventListener("mouseenter",
|
|
108
|
-
t.removeEventListener("click", n), t.removeEventListener("mouseenter",
|
|
118
|
+
return t.addEventListener("click", n), t.addEventListener("mouseenter", e), t.addEventListener("mouseleave", s), () => {
|
|
119
|
+
t.removeEventListener("click", n), t.removeEventListener("mouseenter", e), t.removeEventListener("mouseleave", s);
|
|
109
120
|
};
|
|
110
121
|
});
|
|
111
122
|
var s, n;
|
|
112
123
|
this._params = t, this.measureController = o, this.mode = (s = t.mode) != null ? s : "pc", this.container = document.createElement("div"), this.container.innerHTML = this.mode === "mobile" ? u : d, this.container.classList.add("fpm__ui-controller", this.mode), this.container.style.background = "rgba(0, 0, 0, 0.15)";
|
|
113
|
-
const
|
|
114
|
-
if (
|
|
124
|
+
const e = (n = t.useNewUI) != null ? n : !1;
|
|
125
|
+
if (e && (t.pointSelectorMode === "cursor" ? this.svelteDom = new _({
|
|
115
126
|
target: t.container,
|
|
116
127
|
props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
|
|
117
128
|
}) : t.pointSelectorMode === "fixed" && (this.svelteDom = new b({
|
|
118
129
|
target: t.container,
|
|
119
130
|
props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
|
|
120
|
-
}))), !
|
|
131
|
+
}))), !e) {
|
|
121
132
|
t.container.appendChild(this.container);
|
|
122
133
|
const l = this.container.querySelectorAll(".fpm__text"), m = this.container.querySelector(".fpm_ui-bg"), p = this.container.querySelector(".fpm_operating-space");
|
|
123
134
|
Object.assign(m == null ? void 0 : m.style, y), Object.assign(p == null ? void 0 : p.style, f), Object.assign(this.container.style, v), l.forEach((c) => Object.assign(c.style, C));
|
|
@@ -132,9 +143,9 @@ class to {
|
|
|
132
143
|
}
|
|
133
144
|
hide() {
|
|
134
145
|
var o, t;
|
|
135
|
-
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((
|
|
146
|
+
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((e) => e()), this.disposers = [], this;
|
|
136
147
|
}
|
|
137
148
|
}
|
|
138
149
|
export {
|
|
139
|
-
|
|
150
|
+
ao as UIController
|
|
140
151
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import t from "./Controller/index.js";
|
|
2
|
-
import { default as
|
|
3
|
-
import { Model as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { Polyline as
|
|
2
|
+
import { default as ar } from "./Modules/Magnifier.js";
|
|
3
|
+
import { Model as ur } from "./Model/index.js";
|
|
4
|
+
import { default as Pr } from "./Model/point.js";
|
|
5
|
+
import { default as fr } from "./Model/line.js";
|
|
6
|
+
import { Polyline as gr } from "./Model/polyline.js";
|
|
7
7
|
import "./Controller/EditController.js";
|
|
8
8
|
import "../shared-utils/throttle.js";
|
|
9
9
|
import "./Controller/BaseController.js";
|
|
@@ -85,29 +85,40 @@ import "./Modules/UIController/MainBtnController.js";
|
|
|
85
85
|
import "./Modules/UIController/mobileMainBtnController.js";
|
|
86
86
|
import "./Modules/UIController/Revoke/index.js";
|
|
87
87
|
import "./Components/Controller0.js";
|
|
88
|
-
import "../vendor/svelte/internal/
|
|
88
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
89
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
90
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
91
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
92
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
93
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
94
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
95
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
96
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
97
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
98
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
89
99
|
import "./Components/Common/Switcher0.js";
|
|
100
|
+
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
90
101
|
import "./Components/Common/Exit.js";
|
|
91
102
|
import "./Components/Common/icons/index.js";
|
|
92
103
|
import "./Components/Controller1.js";
|
|
93
104
|
import "./Components/Common/Switcher1.js";
|
|
94
105
|
import "./Components/Common/CircleButton.js";
|
|
95
|
-
import "../vendor/svelte/transition/index.js";
|
|
96
|
-
import "../vendor/svelte/easing/index.js";
|
|
106
|
+
import "../vendor/svelte/src/runtime/transition/index.js";
|
|
107
|
+
import "../vendor/svelte/src/runtime/easing/index.js";
|
|
97
108
|
import "./Modules/GuideController.js";
|
|
98
109
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
99
110
|
import "./Components/Tip.js";
|
|
100
111
|
import "./Controller/ShortcutKeyController.js";
|
|
101
112
|
import "../shared-utils/safeObj.js";
|
|
102
|
-
const
|
|
113
|
+
const mr = function(o, r) {
|
|
103
114
|
return new t(o, r);
|
|
104
115
|
};
|
|
105
116
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
117
|
+
ar as Magnifier,
|
|
118
|
+
mr as PanoMeasurePlugin,
|
|
119
|
+
fr as PanoMeasurePluginLine,
|
|
120
|
+
ur as PanoMeasurePluginModel,
|
|
121
|
+
Pr as PanoMeasurePluginPoint,
|
|
122
|
+
gr as PanoMeasurePluginPolyline,
|
|
123
|
+
mr as default
|
|
113
124
|
};
|