@realsee/dnalogel 2.27.0-dev.0 → 2.27.0-dev.1
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/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +1 -5
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/controller.d.ts +0 -2
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +8 -3
- package/dist/PanoTagPlugin/utils/index.d.ts +1 -1
- package/dist/index.cjs.js +10 -10
- package/dist/index.js +133 -138
- package/dist/index.umd.js +10 -10
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/Magnifier.html +3 -3
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +25 -25
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +3 -3
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/EventMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- 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 +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- 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 +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +11 -18
- package/docs/interfaces/TagConfig.html +9 -9
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/AudioTagTypeConfigKey.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/CSS3DRenderPlugin/Controller.js +1 -1
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +5 -5
- package/libs/CruisePlugin/Controller.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +1 -1
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/Model/area.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +1 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
- package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +26 -26
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +1 -5
- package/libs/PanoTagPlugin/controller/TagUtil.js +49 -53
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/index.js +8 -8
- package/libs/PanoTagPlugin/typings/controller.d.ts +0 -2
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +8 -3
- package/libs/PanoTagPlugin/utils/index.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/index.js +31 -34
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/PipelinePlugin/Controller.js +1 -1
- package/libs/PipelinePlugin/index.js +1 -1
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +1 -1
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +1 -1
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
- package/libs/index.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ import cl from "animejs";
|
|
|
39
39
|
import { GLTFLoader as Qf } from "@realsee/five/gltf-loader";
|
|
40
40
|
function Gf() {
|
|
41
41
|
console.debug(
|
|
42
|
-
"%c %c@realsee/dnalogel %cv2.27.0-dev.
|
|
42
|
+
"%c %c@realsee/dnalogel %cv2.27.0-dev.1",
|
|
43
43
|
[
|
|
44
44
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
45
45
|
"background-repeat: no-repeat",
|
|
@@ -1145,7 +1145,11 @@ const lE = (n, t) => {
|
|
|
1145
1145
|
enabled: e
|
|
1146
1146
|
});
|
|
1147
1147
|
return Object.assign(window, { camera: c }), n.on("modelLoaded", g), n.on("modelWillLoad", p), n.on("cameraDirectionUpdate", R), n.on("dispose", U), n.on("renderFrame", L), n.on("cameraPositionUpdate", R), { appendTo: I, refresh: k, changeConfigs: Y, enable: v, disable: y, getCurrentState: G };
|
|
1148
|
-
};
|
|
1148
|
+
}, im = ({ x: n, y: t, z: e }) => new ne(n, t, e), Mt = (n) => new ne().fromArray(n), cn = (n) => n instanceof ne ? n : Array.isArray(n) ? Mt(n) : im(n);
|
|
1149
|
+
function nm(n) {
|
|
1150
|
+
if (n)
|
|
1151
|
+
return Array.isArray(n) ? typeof n[0] == "number" ? cn(n) : n.map(cn) : cn(n);
|
|
1152
|
+
}
|
|
1149
1153
|
function ui(...n) {
|
|
1150
1154
|
const t = [];
|
|
1151
1155
|
return n.forEach((e) => {
|
|
@@ -1156,7 +1160,7 @@ function no(n, t) {
|
|
|
1156
1160
|
const e = Math.round(n);
|
|
1157
1161
|
return e % 2 === 0 ? e : e + (t != null && t.floor ? -1 : 1);
|
|
1158
1162
|
}
|
|
1159
|
-
function
|
|
1163
|
+
function sm(n, t, e = !0) {
|
|
1160
1164
|
if (!n)
|
|
1161
1165
|
return console.error("createResizeObserver: element is undefined"), { observe: () => {
|
|
1162
1166
|
}, unobserve: () => {
|
|
@@ -1192,7 +1196,7 @@ class ml extends Rf {
|
|
|
1192
1196
|
}
|
|
1193
1197
|
appendToElement(e) {
|
|
1194
1198
|
e.appendChild(this.domElement);
|
|
1195
|
-
const i = (r, a) => this.setSize(r, a), { observe: s, unobserve: o } =
|
|
1199
|
+
const i = (r, a) => this.setSize(r, a), { observe: s, unobserve: o } = sm(e, i, !0);
|
|
1196
1200
|
s(), this.resizeDisoper = o, this.wrapper = e;
|
|
1197
1201
|
}
|
|
1198
1202
|
renderEveryFrame(e, i) {
|
|
@@ -1211,14 +1215,14 @@ class ml extends Rf {
|
|
|
1211
1215
|
this.stopRender(), (e = this.resizeDisoper) == null || e.call(this), this.domElement.remove();
|
|
1212
1216
|
}
|
|
1213
1217
|
}
|
|
1214
|
-
function
|
|
1218
|
+
function om(n) {
|
|
1215
1219
|
return typeof Symbol == "undefined" ? `$Symbol<${n}>$` : Symbol(n);
|
|
1216
1220
|
}
|
|
1217
|
-
const as =
|
|
1221
|
+
const as = om("$$EVENT$$");
|
|
1218
1222
|
function Bs(n) {
|
|
1219
1223
|
return n[as] || (n[as] = {}), n[as];
|
|
1220
1224
|
}
|
|
1221
|
-
function
|
|
1225
|
+
function rm(n) {
|
|
1222
1226
|
n[as] || delete n[as];
|
|
1223
1227
|
}
|
|
1224
1228
|
class En {
|
|
@@ -1265,7 +1269,7 @@ class En {
|
|
|
1265
1269
|
*/
|
|
1266
1270
|
off(t, e) {
|
|
1267
1271
|
if (t === void 0) {
|
|
1268
|
-
|
|
1272
|
+
rm(this);
|
|
1269
1273
|
return;
|
|
1270
1274
|
}
|
|
1271
1275
|
const i = Bs(this);
|
|
@@ -1295,11 +1299,6 @@ class En {
|
|
|
1295
1299
|
return i;
|
|
1296
1300
|
}
|
|
1297
1301
|
}
|
|
1298
|
-
const om = ({ x: n, y: t, z: e }) => new ne(n, t, e), Mt = (n) => new ne().fromArray(n), cn = (n) => n instanceof ne ? n : Array.isArray(n) ? Mt(n) : om(n);
|
|
1299
|
-
function rm(n) {
|
|
1300
|
-
if (n)
|
|
1301
|
-
return Array.isArray(n) ? typeof n[0] == "number" ? cn(n) : n.map(cn) : cn(n);
|
|
1302
|
-
}
|
|
1303
1302
|
class am extends E.Mesh {
|
|
1304
1303
|
constructor(e, i) {
|
|
1305
1304
|
const s = new E.MeshBasicMaterial({ opacity: 0, color: 0, transparent: !1, side: E.DoubleSide }), o = new E.PlaneGeometry(e, i);
|
|
@@ -1495,7 +1494,7 @@ class gm extends Sh {
|
|
|
1495
1494
|
}
|
|
1496
1495
|
const pm = 3, $r = "CSS3DRenderer", is = `${$r}@${pm}`, Zi = () => {
|
|
1497
1496
|
console.error(`${is} is disposed`);
|
|
1498
|
-
},
|
|
1497
|
+
}, Ue = {
|
|
1499
1498
|
css3DObjects: [],
|
|
1500
1499
|
frontModeStore: {
|
|
1501
1500
|
css3DRenderer: new ml()
|
|
@@ -1505,13 +1504,13 @@ const pm = 3, $r = "CSS3DRenderer", is = `${$r}@${pm}`, Zi = () => {
|
|
|
1505
1504
|
}
|
|
1506
1505
|
};
|
|
1507
1506
|
function gl(n) {
|
|
1508
|
-
return
|
|
1507
|
+
return Ue.css3DObjects.find((t) => t.id === n);
|
|
1509
1508
|
}
|
|
1510
1509
|
function Am(n) {
|
|
1511
|
-
|
|
1510
|
+
Ue.frontModeStore.css3DRenderer.setWrapper(n);
|
|
1512
1511
|
}
|
|
1513
1512
|
function vm(n) {
|
|
1514
|
-
|
|
1513
|
+
Ue.behindModeStore.css3DRenderer.setWrapper(n);
|
|
1515
1514
|
}
|
|
1516
1515
|
class us {
|
|
1517
1516
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
@@ -1579,7 +1578,7 @@ class us {
|
|
|
1579
1578
|
const { ratio: r, devicePixelRatio: a, mode: l, autoRender: c, container: d, pointerEvents: h } = s;
|
|
1580
1579
|
let u = !1;
|
|
1581
1580
|
const m = this.createObject(o, { ratio: r, dpr: a, container: d, mode: l, pointerEvents: h });
|
|
1582
|
-
|
|
1581
|
+
Ue.css3DObjects.push(m), s.scene && this.setScene(s.scene);
|
|
1583
1582
|
const A = () => {
|
|
1584
1583
|
if (u)
|
|
1585
1584
|
return;
|
|
@@ -1587,7 +1586,7 @@ class us {
|
|
|
1587
1586
|
k && k.add(m);
|
|
1588
1587
|
}, p = () => {
|
|
1589
1588
|
u || (A(), this.render(t), this.hooks.emit("render"));
|
|
1590
|
-
}, g = (k) => this.setVisibleById(m.id, k), v = (k) => this.setEnabledById(m.id, k), y = () => (u = !0, m.removeFromParent(), !0), I = l === "front" ?
|
|
1589
|
+
}, g = (k) => this.setVisibleById(m.id, k), v = (k) => this.setEnabledById(m.id, k), y = () => (u = !0, m.removeFromParent(), !0), I = l === "front" ? Ue.frontModeStore.css3DRenderer : Ue.behindModeStore.css3DRenderer;
|
|
1591
1590
|
return c && p(), {
|
|
1592
1591
|
id: m.uuid,
|
|
1593
1592
|
container: d,
|
|
@@ -1624,16 +1623,16 @@ class us {
|
|
|
1624
1623
|
return this._scene || console.error("scene doesn't exist!, please call setScene(scene) first"), this._scene;
|
|
1625
1624
|
}
|
|
1626
1625
|
static get frontModeCSS3DRenderer() {
|
|
1627
|
-
return
|
|
1626
|
+
return Ue.frontModeStore.css3DRenderer;
|
|
1628
1627
|
}
|
|
1629
1628
|
static get behindModeCSS3DRenderer() {
|
|
1630
|
-
return
|
|
1629
|
+
return Ue.behindModeStore.css3DRenderer;
|
|
1631
1630
|
}
|
|
1632
1631
|
get frontModeCSS3DRenderer() {
|
|
1633
|
-
return
|
|
1632
|
+
return Ue.frontModeStore.css3DRenderer;
|
|
1634
1633
|
}
|
|
1635
1634
|
get behindModeCSS3DRenderer() {
|
|
1636
|
-
return
|
|
1635
|
+
return Ue.behindModeStore.css3DRenderer;
|
|
1637
1636
|
}
|
|
1638
1637
|
setScene(t) {
|
|
1639
1638
|
this._scene = t;
|
|
@@ -1676,30 +1675,30 @@ class us {
|
|
|
1676
1675
|
}
|
|
1677
1676
|
getFrontCSS3DScene({ createSceneIfNotExists: t = !1 } = {}) {
|
|
1678
1677
|
var i;
|
|
1679
|
-
const e = (i =
|
|
1678
|
+
const e = (i = Ue.frontModeStore) == null ? void 0 : i.css3DScene;
|
|
1680
1679
|
if (e)
|
|
1681
1680
|
return e;
|
|
1682
1681
|
if (t) {
|
|
1683
1682
|
const s = new um();
|
|
1684
|
-
|
|
1683
|
+
Ue.frontModeStore.css3DScene = s;
|
|
1685
1684
|
}
|
|
1686
|
-
return
|
|
1685
|
+
return Ue.frontModeStore.css3DScene;
|
|
1687
1686
|
}
|
|
1688
1687
|
getBehindCSS3DScene({ createSceneIfNotExists: t = !1 } = {}) {
|
|
1689
1688
|
var i, s;
|
|
1690
|
-
const e = (i =
|
|
1689
|
+
const e = (i = Ue.behindModeStore) == null ? void 0 : i.css3DScene;
|
|
1691
1690
|
if (e)
|
|
1692
1691
|
return e;
|
|
1693
1692
|
if (t) {
|
|
1694
|
-
const o = (s =
|
|
1693
|
+
const o = (s = Ue.behindModeStore.scene) != null ? s : this.scene;
|
|
1695
1694
|
if (!o) {
|
|
1696
1695
|
console.error(`${is}: scene is required when mode is behind`);
|
|
1697
1696
|
return;
|
|
1698
1697
|
}
|
|
1699
1698
|
const r = new fm(o);
|
|
1700
|
-
|
|
1699
|
+
Ue.behindModeStore.css3DScene = r, Ue.behindModeStore.scene = o;
|
|
1701
1700
|
}
|
|
1702
|
-
return
|
|
1701
|
+
return Ue.behindModeStore.css3DScene;
|
|
1703
1702
|
}
|
|
1704
1703
|
getFrontCSS3DObjectGroup({ addGroupIfNotExists: t = !0 } = {}) {
|
|
1705
1704
|
const e = this.getFrontCSS3DScene({ createSceneIfNotExists: t });
|
|
@@ -1720,13 +1719,13 @@ class us {
|
|
|
1720
1719
|
const s = this.getFrontCSS3DScene({ createSceneIfNotExists: !0 });
|
|
1721
1720
|
if (!s)
|
|
1722
1721
|
return console.error(`${is}: css3DScene is required when mode is front`);
|
|
1723
|
-
|
|
1722
|
+
Ue.frontModeStore.css3DRenderer.renderEveryFrame(s, t);
|
|
1724
1723
|
}
|
|
1725
1724
|
if (((i = (e = this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 })) == null ? void 0 : e.CSS3DObjectLength) != null ? i : 0) > 0) {
|
|
1726
1725
|
const s = this.getBehindCSS3DScene({ createSceneIfNotExists: !0 });
|
|
1727
1726
|
if (!s)
|
|
1728
1727
|
return console.error(`${is}: css3DScene is required when mode is behind`);
|
|
1729
|
-
|
|
1728
|
+
Ue.behindModeStore.css3DRenderer.renderEveryFrame(s, t);
|
|
1730
1729
|
}
|
|
1731
1730
|
}
|
|
1732
1731
|
handleShow() {
|
|
@@ -4609,13 +4608,13 @@ function np(n, t, e) {
|
|
|
4609
4608
|
return () => !1;
|
|
4610
4609
|
const V = N.path.map(({ x: Ce, y: pe }) => [Ce, pe]), _ = N.roomLabel.position, { x: Z, y: X } = _, { width: $, height: ce } = H, se = $ / 2, we = ce / 2;
|
|
4611
4610
|
return function(pe) {
|
|
4612
|
-
const Be = Z * pe, Ae = X * pe,
|
|
4611
|
+
const Be = Z * pe, Ae = X * pe, Fe = V.map(([ye, je]) => [ye * pe, je * pe]);
|
|
4613
4612
|
return [
|
|
4614
4613
|
[Be + se, Ae - we],
|
|
4615
4614
|
[Be - se, Ae - we],
|
|
4616
4615
|
[Be - se, Ae + we],
|
|
4617
4616
|
[Be + se, Ae + we]
|
|
4618
|
-
].every((ye) => ip(ye,
|
|
4617
|
+
].every((ye) => ip(ye, Fe));
|
|
4619
4618
|
};
|
|
4620
4619
|
}
|
|
4621
4620
|
const v = document.body.clientWidth, y = document.body.clientHeight, I = h.roomLabel, k = I.positionInImage.x * 100 + "%", D = I.positionInImage.y * 100 + "%", P = (v < 500 || y < 500 ? 10 : 14) + "px";
|
|
@@ -6990,7 +6989,7 @@ let As = class {
|
|
|
6990
6989
|
/**
|
|
6991
6990
|
* @realsee/dnalogel 版本号
|
|
6992
6991
|
*/
|
|
6993
|
-
f(this, "VERSION", "2.27.0-dev.
|
|
6992
|
+
f(this, "VERSION", "2.27.0-dev.1");
|
|
6994
6993
|
f(this, "five");
|
|
6995
6994
|
/**
|
|
6996
6995
|
* 插件事件钩子
|
|
@@ -9471,13 +9470,13 @@ const VA = `<style type="text/css">
|
|
|
9471
9470
|
N.style.display = "none";
|
|
9472
9471
|
continue;
|
|
9473
9472
|
}
|
|
9474
|
-
const we = H.clone().project(v), Ce = (we.x + 1) / 2 * P, pe = (-we.y + 1) / 2 * R, Be = V.clone().project(v), Ae = (Be.x + 1) / 2 * P,
|
|
9473
|
+
const we = H.clone().project(v), Ce = (we.x + 1) / 2 * P, pe = (-we.y + 1) / 2 * R, Be = V.clone().project(v), Ae = (Be.x + 1) / 2 * P, Fe = (-Be.y + 1) / 2 * R, fe = Math.sqrt(Math.pow(Ae - Ce, 2) + Math.pow(Fe - pe, 2));
|
|
9475
9474
|
let ye = fe, je = 50;
|
|
9476
9475
|
const me = c({ x: ~~Ce, y: ~~pe }, {
|
|
9477
9476
|
x: ~~Ae,
|
|
9478
|
-
y: ~~
|
|
9477
|
+
y: ~~Fe
|
|
9479
9478
|
}, P, R);
|
|
9480
|
-
if (me && me.length === 1 && (L === H ? (ye = Math.sqrt(Math.pow(me[0].x - Ce, 2) + Math.pow(me[0].y - pe, 2)), je = ye / fe * 50) : L === V && (ye = Math.sqrt(Math.pow(me[0].x - Ae, 2) + Math.pow(me[0].y -
|
|
9479
|
+
if (me && me.length === 1 && (L === H ? (ye = Math.sqrt(Math.pow(me[0].x - Ce, 2) + Math.pow(me[0].y - pe, 2)), je = ye / fe * 50) : L === V && (ye = Math.sqrt(Math.pow(me[0].x - Ae, 2) + Math.pow(me[0].y - Fe, 2)), je = 100 - ye / fe * 50)), me && me.length === 2) {
|
|
9481
9480
|
const re = {
|
|
9482
9481
|
x: (me[0].x + me[1].x) / 2,
|
|
9483
9482
|
y: (me[0].y + me[1].y) / 2
|
|
@@ -9486,7 +9485,7 @@ const VA = `<style type="text/css">
|
|
|
9486
9485
|
Math.pow(re.x - Ce, 2) + Math.pow(re.y - pe, 2)
|
|
9487
9486
|
) / fe * 100;
|
|
9488
9487
|
}
|
|
9489
|
-
const ht = (Math.PI / 2 - Math.atan2(Ae - Ce, pe -
|
|
9488
|
+
const ht = (Math.PI / 2 - Math.atan2(Ae - Ce, pe - Fe)) / Math.PI * 180, Me = _.querySelector(".PanoRulerPlugin-rule-label"), nt = Me.children[0].clientWidth;
|
|
9490
9489
|
nt >= fe || nt / 2 >= je / 100 * fe || nt / 2 >= (1 - je / 100) * fe ? _.style.display = "none" : (_.style.display = "block", _.style.width = fe + "px", _.style.left = Ce + "px", _.style.top = pe + "px", _.style.transform = `rotate(${-ht}deg)`, Me.style.left = `${je}%`);
|
|
9491
9490
|
}
|
|
9492
9491
|
}, h = () => vu(d), u = () => {
|
|
@@ -9868,7 +9867,7 @@ function XA(n, t, e) {
|
|
|
9868
9867
|
var Ce, pe;
|
|
9869
9868
|
const N = G.start, H = G.end, { startLeft: V, startTop: _, distance: Z, deg: X, visible: $, labelOffset: ce, ruleLength: se } = h(new ne(N[0], -N[1], -N[2]), new ne(H[0], -H[1], -H[2]), U), we = [];
|
|
9870
9869
|
return G.children && ((Ce = G.children) == null ? void 0 : Ce.length) > 0 && ((pe = G.children) == null || pe.forEach((Be) => {
|
|
9871
|
-
const Ae = Be.start,
|
|
9870
|
+
const Ae = Be.start, Fe = Be.end, { distance: fe } = d(new ne(Ae[0], -Ae[1], -Ae[2]), new ne(Fe[0], -Fe[1], -Fe[2]));
|
|
9872
9871
|
we.push({ width: fe, state: Be.state });
|
|
9873
9872
|
})), {
|
|
9874
9873
|
width: Z,
|
|
@@ -13587,12 +13586,12 @@ class w0 {
|
|
|
13587
13586
|
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((t = this.revoke) == null || t.dispose()), (e = this.mainController) == null || e.dispose(), this.disposers.forEach((i) => i()), this.disposers = [], this;
|
|
13588
13587
|
}
|
|
13589
13588
|
}
|
|
13590
|
-
var xt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {},
|
|
13589
|
+
var xt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, _e = {}, C0 = {
|
|
13591
13590
|
get exports() {
|
|
13592
|
-
return
|
|
13591
|
+
return _e;
|
|
13593
13592
|
},
|
|
13594
13593
|
set exports(n) {
|
|
13595
|
-
|
|
13594
|
+
_e = n;
|
|
13596
13595
|
}
|
|
13597
13596
|
};
|
|
13598
13597
|
function Ao(n) {
|
|
@@ -13640,10 +13639,10 @@ function Lo(n, t = [], e = {}) {
|
|
|
13640
13639
|
C0.exports = function(t, ...e) {
|
|
13641
13640
|
return Lo(t, e);
|
|
13642
13641
|
};
|
|
13643
|
-
|
|
13642
|
+
_e.noMutate = function(...t) {
|
|
13644
13643
|
return Lo({}, t);
|
|
13645
13644
|
};
|
|
13646
|
-
|
|
13645
|
+
_e.withOptions = function(t, e, i) {
|
|
13647
13646
|
return Lo(t, e, i);
|
|
13648
13647
|
};
|
|
13649
13648
|
function I0(n) {
|
|
@@ -13795,7 +13794,7 @@ class D0 {
|
|
|
13795
13794
|
target: e.container,
|
|
13796
13795
|
props: {
|
|
13797
13796
|
measureController: t,
|
|
13798
|
-
tips:
|
|
13797
|
+
tips: _e({}, e.pointSelectorMode === "fixed" ? x0 : M0, e.tips),
|
|
13799
13798
|
i18n: e.i18n,
|
|
13800
13799
|
visible: !0,
|
|
13801
13800
|
tipStyle: e.tipStyle
|
|
@@ -14652,7 +14651,7 @@ class F0 {
|
|
|
14652
14651
|
}
|
|
14653
14652
|
}
|
|
14654
14653
|
const jr = 1e-3, Vc = 0.01, Y0 = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", _E = (n, t) => {
|
|
14655
|
-
var ce, se, we, Ce, pe, Be, Ae,
|
|
14654
|
+
var ce, se, we, Ce, pe, Be, Ae, Fe;
|
|
14656
14655
|
let e = t == null ? void 0 : t.container, i = 1.4;
|
|
14657
14656
|
const s = (ce = t == null ? void 0 : t.wait) != null ? ce : 200, o = (se = t == null ? void 0 : t.maxNumberOnScreen) != null ? se : 3, r = (we = t == null ? void 0 : t.minRad) != null ? we : Math.PI / 4, a = (Ce = t == null ? void 0 : t.nearTolerance) != null ? Ce : 100, l = (pe = t == null ? void 0 : t.upsideHeight) != null ? pe : 1.6, c = (Be = t == null ? void 0 : t.minDistance) != null ? Be : 1.2, d = (Ae = t == null ? void 0 : t.maxDistance) != null ? Ae : 3.5, h = Po(n), u = document.createElement("div");
|
|
14658
14657
|
u.classList.add("PanoSpatialTagPlugin"), Object.assign(u.style, N0);
|
|
@@ -14874,7 +14873,7 @@ const jr = 1e-3, Vc = 0.01, Y0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
14874
14873
|
fe.app.$destroy(), fe = null;
|
|
14875
14874
|
}), p.origins = [], p.tags = [], n.off("modelLoaded", X), n.off("renderFrame", D), n.off("panoWillArrive", I), n.off("panoArrived", y), n.off("modeChange", k), n.off("cameraUpdate", v), n.off("dispose", $), window.removeEventListener("resize", Z, !1);
|
|
14876
14875
|
};
|
|
14877
|
-
return window.addEventListener("resize", Z, !1), (
|
|
14876
|
+
return window.addEventListener("resize", Z, !1), (Fe = n == null ? void 0 : n.model) != null && Fe.loaded ? X() : n.once("modelLoaded", X), n.on("dispose", $), {
|
|
14878
14877
|
load: L,
|
|
14879
14878
|
setIntersectObjects: U,
|
|
14880
14879
|
unfoldAll: N,
|
|
@@ -16603,7 +16602,7 @@ function i1(n, t) {
|
|
|
16603
16602
|
});
|
|
16604
16603
|
});
|
|
16605
16604
|
}
|
|
16606
|
-
const
|
|
16605
|
+
const We = (n) => n;
|
|
16607
16606
|
function Or(n) {
|
|
16608
16607
|
if (!n || n.length < 3)
|
|
16609
16608
|
return;
|
|
@@ -16639,7 +16638,7 @@ function Ru(n) {
|
|
|
16639
16638
|
} else
|
|
16640
16639
|
return n.position;
|
|
16641
16640
|
})();
|
|
16642
|
-
return
|
|
16641
|
+
return nm(t);
|
|
16643
16642
|
}
|
|
16644
16643
|
function ls(n) {
|
|
16645
16644
|
const t = Ru(n);
|
|
@@ -17601,14 +17600,14 @@ class D1 extends I1 {
|
|
|
17601
17600
|
}
|
|
17602
17601
|
}
|
|
17603
17602
|
});
|
|
17604
|
-
const o =
|
|
17603
|
+
const o = _e(
|
|
17605
17604
|
{},
|
|
17606
17605
|
v1,
|
|
17607
17606
|
this.config.globalConfig,
|
|
17608
17607
|
...Object.values(s),
|
|
17609
17608
|
e.config
|
|
17610
17609
|
);
|
|
17611
|
-
return typeof o.
|
|
17610
|
+
return typeof o.visibleConfig == "object" && o.visibleConfig.keep && (o.visibleConfig = { keep: o.visibleConfig.keep, visibleFiveMode: (l = o.visibleConfig) == null ? void 0 : l.visibleFiveMode }), typeof o.unfoldedConfig == "object" && (o.unfoldedConfig.disableFold && (o.unfoldedConfig = { keep: "unfolded" }), o.unfoldedConfig.disableUnfold && (o.unfoldedConfig = { keep: "folded" }), o.unfoldedConfig.keep && (o.unfoldedConfig = { keep: o.unfoldedConfig.keep })), o.isMerged = !0, o;
|
|
17612
17611
|
}
|
|
17613
17612
|
/**
|
|
17614
17613
|
* @description 获取标签当前状态
|
|
@@ -17619,10 +17618,12 @@ class D1 extends I1 {
|
|
|
17619
17618
|
loadVideoFirstFrame() {
|
|
17620
17619
|
P1 && this.hooks.emit("loadVideoFirstFrame");
|
|
17621
17620
|
}
|
|
17622
|
-
updateTagConfig(
|
|
17623
|
-
|
|
17624
|
-
const
|
|
17625
|
-
|
|
17621
|
+
updateTagConfig() {
|
|
17622
|
+
this.clearCache(), this.tags.forEach((e) => {
|
|
17623
|
+
const i = this.getTagConfig(e, { useCache: !1 });
|
|
17624
|
+
e.config = i;
|
|
17625
|
+
const s = JSON.parse(JSON.stringify(e.data));
|
|
17626
|
+
e.data = i.initialData.important ? _e(e.data, s, i.initialData) : _e(e.data, i.initialData, s);
|
|
17626
17627
|
});
|
|
17627
17628
|
}
|
|
17628
17629
|
can(e, i) {
|
|
@@ -17783,9 +17784,6 @@ class D1 extends I1 {
|
|
|
17783
17784
|
get filter2DPointTag() {
|
|
17784
17785
|
return this.tags.filter((e) => e.stickType === "2DPoint").filter((e) => e.position);
|
|
17785
17786
|
}
|
|
17786
|
-
get filter3DPointTag() {
|
|
17787
|
-
return this.tags.filter((e) => e.stickType === "3DPoint").filter((e) => e.position);
|
|
17788
|
-
}
|
|
17789
17787
|
get filterImagePlane() {
|
|
17790
17788
|
return this.tags.filter(
|
|
17791
17789
|
(e) => e.contentType === "MediaPlane" && e.stickType === "Plane" && this.getRenderType(e) === "Mesh"
|
|
@@ -17794,9 +17792,6 @@ class D1 extends I1 {
|
|
|
17794
17792
|
get filterMediaModel() {
|
|
17795
17793
|
return this.tags.filter((e) => e.stickType === "Model" && e.contentType === "MediaModel");
|
|
17796
17794
|
}
|
|
17797
|
-
get filterModelTag() {
|
|
17798
|
-
return this.tags.filter((e) => e.stickType === "Model");
|
|
17799
|
-
}
|
|
17800
17795
|
get filterCSS3DTag() {
|
|
17801
17796
|
return this.tags.filter(
|
|
17802
17797
|
(i) => i.stickType === "3DPoint" || i.stickType === "Plane" || i.stickType === "Model" && i.contentType === "MediaModel"
|
|
@@ -17887,7 +17882,7 @@ class L1 extends D1 {
|
|
|
17887
17882
|
if ($n(h, r.angleRange) === !1)
|
|
17888
17883
|
return { value: !1, reason: `angle is not in angleRange. angle: ${h}, angleRange: ${r.angleRange}` };
|
|
17889
17884
|
}
|
|
17890
|
-
return
|
|
17885
|
+
return {
|
|
17891
17886
|
value: !0,
|
|
17892
17887
|
reason: "all check passed"
|
|
17893
17888
|
};
|
|
@@ -20832,7 +20827,7 @@ var Xs = lC, bo = {}, cC = {
|
|
|
20832
20827
|
(function(n, t) {
|
|
20833
20828
|
var e = 200, i = "__lodash_hash_undefined__", s = 9007199254740991, o = "[object Arguments]", r = "[object Array]", a = "[object Boolean]", l = "[object Date]", c = "[object Error]", d = "[object Function]", h = "[object GeneratorFunction]", u = "[object Map]", m = "[object Number]", A = "[object Object]", p = "[object Promise]", g = "[object RegExp]", v = "[object Set]", y = "[object String]", I = "[object Symbol]", k = "[object WeakMap]", D = "[object ArrayBuffer]", P = "[object DataView]", R = "[object Float32Array]", L = "[object Float64Array]", U = "[object Int8Array]", Y = "[object Int16Array]", G = "[object Int32Array]", N = "[object Uint8Array]", H = "[object Uint8ClampedArray]", V = "[object Uint16Array]", _ = "[object Uint32Array]", Z = /[\\^$.*+?()[\]{}|]/g, X = /\w*$/, $ = /^\[object .+?Constructor\]$/, ce = /^(?:0|[1-9]\d*)$/, se = {};
|
|
20834
20829
|
se[o] = se[r] = se[D] = se[P] = se[a] = se[l] = se[R] = se[L] = se[U] = se[Y] = se[G] = se[u] = se[m] = se[A] = se[g] = se[v] = se[y] = se[I] = se[N] = se[H] = se[V] = se[_] = !0, se[c] = se[d] = se[k] = !1;
|
|
20835
|
-
var we = typeof xt == "object" && xt && xt.Object === Object && xt, Ce = typeof self == "object" && self && self.Object === Object && self, pe = we || Ce || Function("return this")(), Be = t && !t.nodeType && t, Ae = Be && !0 && n && !n.nodeType && n,
|
|
20830
|
+
var we = typeof xt == "object" && xt && xt.Object === Object && xt, Ce = typeof self == "object" && self && self.Object === Object && self, pe = we || Ce || Function("return this")(), Be = t && !t.nodeType && t, Ae = Be && !0 && n && !n.nodeType && n, Fe = Ae && Ae.exports === Be;
|
|
20836
20831
|
function fe(b, C) {
|
|
20837
20832
|
return b.set(C[0], C[1]), b;
|
|
20838
20833
|
}
|
|
@@ -20894,7 +20889,7 @@ var Xs = lC, bo = {}, cC = {
|
|
|
20894
20889
|
return b ? "Symbol(src)_1." + b : "";
|
|
20895
20890
|
}(), Ge = Ut.toString, Ze = Ct.hasOwnProperty, St = Ct.toString, On = RegExp(
|
|
20896
20891
|
"^" + Ge.call(Ze).replace(Z, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
20897
|
-
), Vt =
|
|
20892
|
+
), Vt = Fe ? pe.Buffer : void 0, oi = pe.Symbol, Ii = pe.Uint8Array, pt = ke(Object.getPrototypeOf, Object), Qi = Object.create, Gi = Ct.propertyIsEnumerable, Qo = gt.splice, Bn = Object.getOwnPropertySymbols, Ni = Vt ? Vt.isBuffer : void 0, bs = ke(Object.keys, Object), Hi = Lt(pe, "DataView"), Pi = Lt(pe, "Map"), Tt = Lt(pe, "Promise"), _i = Lt(pe, "Set"), Rn = Lt(pe, "WeakMap"), Ei = Lt(Object, "create"), Vn = ut(Hi), ki = ut(Pi), Qn = ut(Tt), Gn = ut(_i), Nn = ut(Rn), ri = oi ? oi.prototype : void 0, ys = ri ? ri.valueOf : void 0;
|
|
20898
20893
|
function Xt(b) {
|
|
20899
20894
|
var C = -1, T = b ? b.length : 0;
|
|
20900
20895
|
for (this.clear(); ++C < T; ) {
|
|
@@ -21032,8 +21027,8 @@ var Xs = lC, bo = {}, cC = {
|
|
|
21032
21027
|
return Te;
|
|
21033
21028
|
if (!Nt(b))
|
|
21034
21029
|
return b;
|
|
21035
|
-
var
|
|
21036
|
-
if (
|
|
21030
|
+
var Ye = Yn(b);
|
|
21031
|
+
if (Ye) {
|
|
21037
21032
|
if (Te = gr(b), !C)
|
|
21038
21033
|
return ur(b, Te);
|
|
21039
21034
|
} else {
|
|
@@ -21055,10 +21050,10 @@ var Xs = lC, bo = {}, cC = {
|
|
|
21055
21050
|
var vt = De.get(b);
|
|
21056
21051
|
if (vt)
|
|
21057
21052
|
return vt;
|
|
21058
|
-
if (De.set(b, Te), !
|
|
21059
|
-
var
|
|
21060
|
-
return je(
|
|
21061
|
-
|
|
21053
|
+
if (De.set(b, Te), !Ye)
|
|
21054
|
+
var Xe = T ? mr(b) : Xn(b);
|
|
21055
|
+
return je(Xe || b, function(rt, $e) {
|
|
21056
|
+
Xe && ($e = rt, rt = b[$e]), Cs(Te, $e, _n(rt, C, T, F, $e, b, De));
|
|
21062
21057
|
}), Te;
|
|
21063
21058
|
}
|
|
21064
21059
|
function sr(b) {
|
|
@@ -21285,7 +21280,7 @@ var yo = {}, hC = {
|
|
|
21285
21280
|
(function(n, t) {
|
|
21286
21281
|
var e = 200, i = "__lodash_hash_undefined__", s = 1, o = 2, r = 9007199254740991, a = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", h = "[object Date]", u = "[object Error]", m = "[object Function]", A = "[object GeneratorFunction]", p = "[object Map]", g = "[object Number]", v = "[object Null]", y = "[object Object]", I = "[object Promise]", k = "[object Proxy]", D = "[object RegExp]", P = "[object Set]", R = "[object String]", L = "[object Symbol]", U = "[object Undefined]", Y = "[object WeakMap]", G = "[object ArrayBuffer]", N = "[object DataView]", H = "[object Float32Array]", V = "[object Float64Array]", _ = "[object Int8Array]", Z = "[object Int16Array]", X = "[object Int32Array]", $ = "[object Uint8Array]", ce = "[object Uint8ClampedArray]", se = "[object Uint16Array]", we = "[object Uint32Array]", Ce = /[\\^$.*+?()[\]{}|]/g, pe = /^\[object .+?Constructor\]$/, Be = /^(?:0|[1-9]\d*)$/, Ae = {};
|
|
21287
21282
|
Ae[H] = Ae[V] = Ae[_] = Ae[Z] = Ae[X] = Ae[$] = Ae[ce] = Ae[se] = Ae[we] = !0, Ae[a] = Ae[l] = Ae[G] = Ae[d] = Ae[N] = Ae[h] = Ae[u] = Ae[m] = Ae[p] = Ae[g] = Ae[y] = Ae[D] = Ae[P] = Ae[R] = Ae[Y] = !1;
|
|
21288
|
-
var
|
|
21283
|
+
var Fe = typeof xt == "object" && xt && xt.Object === Object && xt, fe = typeof self == "object" && self && self.Object === Object && self, ye = Fe || fe || Function("return this")(), je = t && !t.nodeType && t, me = je && !0 && n && !n.nodeType && n, qe = me && me.exports === je, ht = qe && Fe.process, Me = function() {
|
|
21289
21284
|
try {
|
|
21290
21285
|
return ht && ht.binding && ht.binding("util");
|
|
21291
21286
|
} catch (b) {
|
|
@@ -21478,13 +21473,13 @@ var yo = {}, hC = {
|
|
|
21478
21473
|
}
|
|
21479
21474
|
Qt.prototype.clear = _n, Qt.prototype.delete = sr, Qt.prototype.get = or, Qt.prototype.has = rr, Qt.prototype.set = ar;
|
|
21480
21475
|
function lr(b, C) {
|
|
21481
|
-
var T = Ui(b), F = !T && Ms(b), Ie = !T && !F && Xi(b), ge = !T && !F && !Ie && Ss(b), De = T || F || Ie || ge, Te = De ? gt(b.length, String) : [],
|
|
21476
|
+
var T = Ui(b), F = !T && Ms(b), Ie = !T && !F && Xi(b), ge = !T && !F && !Ie && Ss(b), De = T || F || Ie || ge, Te = De ? gt(b.length, String) : [], Ye = Te.length;
|
|
21482
21477
|
for (var ze in b)
|
|
21483
21478
|
(C || pt.call(b, ze)) && !(De && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
21484
21479
|
(ze == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
21485
21480
|
Ie && (ze == "offset" || ze == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
21486
21481
|
ge && (ze == "buffer" || ze == "byteLength" || ze == "byteOffset") || // Skip index properties.
|
|
21487
|
-
pr(ze,
|
|
21482
|
+
pr(ze, Ye))) && Te.push(ze);
|
|
21488
21483
|
return Te;
|
|
21489
21484
|
}
|
|
21490
21485
|
function Yi(b, C) {
|
|
@@ -21507,16 +21502,16 @@ var yo = {}, hC = {
|
|
|
21507
21502
|
return b === C ? !0 : b == null || C == null || !Nt(b) && !Nt(C) ? b !== b && C !== C : cr(b, C, T, F, Ps, Ie);
|
|
21508
21503
|
}
|
|
21509
21504
|
function cr(b, C, T, F, Ie, ge) {
|
|
21510
|
-
var De = Ui(b), Te = Ui(C),
|
|
21511
|
-
|
|
21512
|
-
var ot =
|
|
21513
|
-
if (
|
|
21505
|
+
var De = Ui(b), Te = Ui(C), Ye = De ? l : Gt(b), ze = Te ? l : Gt(C);
|
|
21506
|
+
Ye = Ye == a ? y : Ye, ze = ze == a ? y : ze;
|
|
21507
|
+
var ot = Ye == y, vt = ze == y, Xe = Ye == ze;
|
|
21508
|
+
if (Xe && Xi(b)) {
|
|
21514
21509
|
if (!Xi(C))
|
|
21515
21510
|
return !1;
|
|
21516
21511
|
De = !0, ot = !1;
|
|
21517
21512
|
}
|
|
21518
|
-
if (
|
|
21519
|
-
return ge || (ge = new Qt()), De || Ss(b) ? Fn(b, C, T, F, Ie, ge) : fr(b, C,
|
|
21513
|
+
if (Xe && !ot)
|
|
21514
|
+
return ge || (ge = new Qt()), De || Ss(b) ? Fn(b, C, T, F, Ie, ge) : fr(b, C, Ye, T, F, Ie, ge);
|
|
21520
21515
|
if (!(T & s)) {
|
|
21521
21516
|
var rt = ot && pt.call(b, "__wrapped__"), $e = vt && pt.call(C, "__wrapped__");
|
|
21522
21517
|
if (rt || $e) {
|
|
@@ -21524,7 +21519,7 @@ var yo = {}, hC = {
|
|
|
21524
21519
|
return ge || (ge = new Qt()), Ie(ai, qt, T, F, ge);
|
|
21525
21520
|
}
|
|
21526
21521
|
}
|
|
21527
|
-
return
|
|
21522
|
+
return Xe ? (ge || (ge = new Qt()), mr(b, C, T, F, Ie, ge)) : !1;
|
|
21528
21523
|
}
|
|
21529
21524
|
function dr(b) {
|
|
21530
21525
|
if (!Ds(b) || vr(b))
|
|
@@ -21544,13 +21539,13 @@ var yo = {}, hC = {
|
|
|
21544
21539
|
return C;
|
|
21545
21540
|
}
|
|
21546
21541
|
function Fn(b, C, T, F, Ie, ge) {
|
|
21547
|
-
var De = T & s, Te = b.length,
|
|
21548
|
-
if (Te !=
|
|
21542
|
+
var De = T & s, Te = b.length, Ye = C.length;
|
|
21543
|
+
if (Te != Ye && !(De && Ye > Te))
|
|
21549
21544
|
return !1;
|
|
21550
21545
|
var ze = ge.get(b);
|
|
21551
21546
|
if (ze && ge.get(C))
|
|
21552
21547
|
return ze == C;
|
|
21553
|
-
var ot = -1, vt = !0,
|
|
21548
|
+
var ot = -1, vt = !0, Xe = T & o ? new Wi() : void 0;
|
|
21554
21549
|
for (ge.set(b, C), ge.set(C, b); ++ot < Te; ) {
|
|
21555
21550
|
var rt = b[ot], $e = C[ot];
|
|
21556
21551
|
if (F)
|
|
@@ -21561,10 +21556,10 @@ var yo = {}, hC = {
|
|
|
21561
21556
|
vt = !1;
|
|
21562
21557
|
break;
|
|
21563
21558
|
}
|
|
21564
|
-
if (
|
|
21559
|
+
if (Xe) {
|
|
21565
21560
|
if (!He(C, function(qt, Di) {
|
|
21566
|
-
if (!Ct(
|
|
21567
|
-
return
|
|
21561
|
+
if (!Ct(Xe, Di) && (rt === qt || Ie(rt, qt, T, F, ge)))
|
|
21562
|
+
return Xe.push(Di);
|
|
21568
21563
|
})) {
|
|
21569
21564
|
vt = !1;
|
|
21570
21565
|
break;
|
|
@@ -21596,8 +21591,8 @@ var yo = {}, hC = {
|
|
|
21596
21591
|
case p:
|
|
21597
21592
|
var Te = Re;
|
|
21598
21593
|
case P:
|
|
21599
|
-
var
|
|
21600
|
-
if (Te || (Te = Ze), b.size != C.size && !
|
|
21594
|
+
var Ye = F & s;
|
|
21595
|
+
if (Te || (Te = Ze), b.size != C.size && !Ye)
|
|
21601
21596
|
return !1;
|
|
21602
21597
|
var ze = De.get(b);
|
|
21603
21598
|
if (ze)
|
|
@@ -21612,12 +21607,12 @@ var yo = {}, hC = {
|
|
|
21612
21607
|
return !1;
|
|
21613
21608
|
}
|
|
21614
21609
|
function mr(b, C, T, F, Ie, ge) {
|
|
21615
|
-
var De = T & s, Te = xi(b),
|
|
21616
|
-
if (
|
|
21610
|
+
var De = T & s, Te = xi(b), Ye = Te.length, ze = xi(C), ot = ze.length;
|
|
21611
|
+
if (Ye != ot && !De)
|
|
21617
21612
|
return !1;
|
|
21618
|
-
for (var vt =
|
|
21619
|
-
var
|
|
21620
|
-
if (!(De ?
|
|
21613
|
+
for (var vt = Ye; vt--; ) {
|
|
21614
|
+
var Xe = Te[vt];
|
|
21615
|
+
if (!(De ? Xe in C : pt.call(C, Xe)))
|
|
21621
21616
|
return !1;
|
|
21622
21617
|
}
|
|
21623
21618
|
var rt = ge.get(b);
|
|
@@ -21625,16 +21620,16 @@ var yo = {}, hC = {
|
|
|
21625
21620
|
return rt == C;
|
|
21626
21621
|
var $e = !0;
|
|
21627
21622
|
ge.set(b, C), ge.set(C, b);
|
|
21628
|
-
for (var ai = De; ++vt <
|
|
21629
|
-
|
|
21630
|
-
var qt = b[
|
|
21623
|
+
for (var ai = De; ++vt < Ye; ) {
|
|
21624
|
+
Xe = Te[vt];
|
|
21625
|
+
var qt = b[Xe], Di = C[Xe];
|
|
21631
21626
|
if (F)
|
|
21632
|
-
var rl = De ? F(Di, qt,
|
|
21627
|
+
var rl = De ? F(Di, qt, Xe, C, b, ge) : F(qt, Di, Xe, b, C, ge);
|
|
21633
21628
|
if (!(rl === void 0 ? qt === Di || Ie(qt, Di, T, F, ge) : rl)) {
|
|
21634
21629
|
$e = !1;
|
|
21635
21630
|
break;
|
|
21636
21631
|
}
|
|
21637
|
-
ai || (ai =
|
|
21632
|
+
ai || (ai = Xe == "constructor");
|
|
21638
21633
|
}
|
|
21639
21634
|
if ($e && !ai) {
|
|
21640
21635
|
var Ts = b.constructor, Ls = C.constructor;
|
|
@@ -22743,7 +22738,7 @@ function zC(n, t, e) {
|
|
|
22743
22738
|
function Ae(re) {
|
|
22744
22739
|
G && (h.offset += re.detail.dx);
|
|
22745
22740
|
}
|
|
22746
|
-
function
|
|
22741
|
+
function Fe() {
|
|
22747
22742
|
G && m.showParticle(h.currentParticleIndex);
|
|
22748
22743
|
}
|
|
22749
22744
|
function fe() {
|
|
@@ -22805,7 +22800,7 @@ function zC(n, t, e) {
|
|
|
22805
22800
|
pe,
|
|
22806
22801
|
Be,
|
|
22807
22802
|
Ae,
|
|
22808
|
-
|
|
22803
|
+
Fe,
|
|
22809
22804
|
fe,
|
|
22810
22805
|
ye,
|
|
22811
22806
|
je,
|
|
@@ -25709,7 +25704,7 @@ function jI(n) {
|
|
|
25709
25704
|
};
|
|
25710
25705
|
return co(
|
|
25711
25706
|
e = /*getImage*/
|
|
25712
|
-
n[11](
|
|
25707
|
+
n[11](We({
|
|
25713
25708
|
url: (
|
|
25714
25709
|
/*iconUrl*/
|
|
25715
25710
|
n[7]
|
|
@@ -25730,7 +25725,7 @@ function jI(n) {
|
|
|
25730
25725
|
p(s, o) {
|
|
25731
25726
|
n = s, i.ctx = n, o & /*iconUrl, iconRatio*/
|
|
25732
25727
|
160 && e !== (e = /*getImage*/
|
|
25733
|
-
n[11](
|
|
25728
|
+
n[11](We({
|
|
25734
25729
|
url: (
|
|
25735
25730
|
/*iconUrl*/
|
|
25736
25731
|
n[7]
|
|
@@ -25759,7 +25754,7 @@ function zI(n) {
|
|
|
25759
25754
|
};
|
|
25760
25755
|
return co(
|
|
25761
25756
|
e = /*getKeyframe*/
|
|
25762
|
-
n[10](
|
|
25757
|
+
n[10](We({
|
|
25763
25758
|
url: (
|
|
25764
25759
|
/*iconUrl*/
|
|
25765
25760
|
n[7]
|
|
@@ -25788,7 +25783,7 @@ function zI(n) {
|
|
|
25788
25783
|
p(s, o) {
|
|
25789
25784
|
n = s, i.ctx = n, o & /*iconUrl, iconSteps, iconFps, iconRatio*/
|
|
25790
25785
|
228 && e !== (e = /*getKeyframe*/
|
|
25791
|
-
n[10](
|
|
25786
|
+
n[10](We({
|
|
25792
25787
|
url: (
|
|
25793
25788
|
/*iconUrl*/
|
|
25794
25789
|
n[7]
|
|
@@ -26044,7 +26039,7 @@ function HI(n, t, e) {
|
|
|
26044
26039
|
4096 && e(5, r = m == null ? void 0 : m.ratio), n.$$.dirty & /*icon*/
|
|
26045
26040
|
4096 && e(4, a = (k = m == null ? void 0 : m.scale) != null ? k : 1), n.$$.dirty & /*icon*/
|
|
26046
26041
|
4096 && e(3, l = m == null ? void 0 : m.width), n.$$.dirty & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
26047
|
-
252 && e(9, c =
|
|
26042
|
+
252 && e(9, c = We({
|
|
26048
26043
|
url: i,
|
|
26049
26044
|
steps: s,
|
|
26050
26045
|
fps: o,
|
|
@@ -26454,7 +26449,7 @@ function tP(n) {
|
|
|
26454
26449
|
let t, e, i, s, o, r, a;
|
|
26455
26450
|
return e = new qI({
|
|
26456
26451
|
props: {
|
|
26457
|
-
tag:
|
|
26452
|
+
tag: We(
|
|
26458
26453
|
/*tag*/
|
|
26459
26454
|
n[1]
|
|
26460
26455
|
),
|
|
@@ -26493,7 +26488,7 @@ function tP(n) {
|
|
|
26493
26488
|
p(l, c) {
|
|
26494
26489
|
const d = {};
|
|
26495
26490
|
c & /*tag*/
|
|
26496
|
-
2 && (d.tag =
|
|
26491
|
+
2 && (d.tag = We(
|
|
26497
26492
|
/*tag*/
|
|
26498
26493
|
l[1]
|
|
26499
26494
|
)), c & /*renderMap*/
|
|
@@ -26533,7 +26528,7 @@ function tP(n) {
|
|
|
26533
26528
|
function iP(n) {
|
|
26534
26529
|
let t, e;
|
|
26535
26530
|
return t = new DI({
|
|
26536
|
-
props: { tag:
|
|
26531
|
+
props: { tag: We(
|
|
26537
26532
|
/*tag*/
|
|
26538
26533
|
n[1]
|
|
26539
26534
|
) }
|
|
@@ -26547,7 +26542,7 @@ function iP(n) {
|
|
|
26547
26542
|
p(i, s) {
|
|
26548
26543
|
const o = {};
|
|
26549
26544
|
s & /*tag*/
|
|
26550
|
-
2 && (o.tag =
|
|
26545
|
+
2 && (o.tag = We(
|
|
26551
26546
|
/*tag*/
|
|
26552
26547
|
i[1]
|
|
26553
26548
|
)), t.$set(o);
|
|
@@ -26566,7 +26561,7 @@ function iP(n) {
|
|
|
26566
26561
|
function nP(n) {
|
|
26567
26562
|
let t, e;
|
|
26568
26563
|
return t = new YI({
|
|
26569
|
-
props: { tag:
|
|
26564
|
+
props: { tag: We(
|
|
26570
26565
|
/*tag*/
|
|
26571
26566
|
n[1]
|
|
26572
26567
|
) }
|
|
@@ -26580,7 +26575,7 @@ function nP(n) {
|
|
|
26580
26575
|
p(i, s) {
|
|
26581
26576
|
const o = {};
|
|
26582
26577
|
s & /*tag*/
|
|
26583
|
-
2 && (o.tag =
|
|
26578
|
+
2 && (o.tag = We(
|
|
26584
26579
|
/*tag*/
|
|
26585
26580
|
i[1]
|
|
26586
26581
|
)), t.$set(o);
|
|
@@ -26599,7 +26594,7 @@ function nP(n) {
|
|
|
26599
26594
|
function sP(n) {
|
|
26600
26595
|
let t, e;
|
|
26601
26596
|
return t = new iI({
|
|
26602
|
-
props: { tag:
|
|
26597
|
+
props: { tag: We(
|
|
26603
26598
|
/*tag*/
|
|
26604
26599
|
n[1]
|
|
26605
26600
|
) }
|
|
@@ -26613,7 +26608,7 @@ function sP(n) {
|
|
|
26613
26608
|
p(i, s) {
|
|
26614
26609
|
const o = {};
|
|
26615
26610
|
s & /*tag*/
|
|
26616
|
-
2 && (o.tag =
|
|
26611
|
+
2 && (o.tag = We(
|
|
26617
26612
|
/*tag*/
|
|
26618
26613
|
i[1]
|
|
26619
26614
|
)), t.$set(o);
|
|
@@ -26632,7 +26627,7 @@ function sP(n) {
|
|
|
26632
26627
|
function oP(n) {
|
|
26633
26628
|
let t, e;
|
|
26634
26629
|
return t = new EI({
|
|
26635
|
-
props: { tag:
|
|
26630
|
+
props: { tag: We(
|
|
26636
26631
|
/*tag*/
|
|
26637
26632
|
n[1]
|
|
26638
26633
|
) }
|
|
@@ -26646,7 +26641,7 @@ function oP(n) {
|
|
|
26646
26641
|
p(i, s) {
|
|
26647
26642
|
const o = {};
|
|
26648
26643
|
s & /*tag*/
|
|
26649
|
-
2 && (o.tag =
|
|
26644
|
+
2 && (o.tag = We(
|
|
26650
26645
|
/*tag*/
|
|
26651
26646
|
i[1]
|
|
26652
26647
|
)), t.$set(o);
|
|
@@ -26665,7 +26660,7 @@ function oP(n) {
|
|
|
26665
26660
|
function rP(n) {
|
|
26666
26661
|
let t, e;
|
|
26667
26662
|
return t = new KC({
|
|
26668
|
-
props: { tag:
|
|
26663
|
+
props: { tag: We(
|
|
26669
26664
|
/*tag*/
|
|
26670
26665
|
n[1]
|
|
26671
26666
|
) }
|
|
@@ -26679,7 +26674,7 @@ function rP(n) {
|
|
|
26679
26674
|
p(i, s) {
|
|
26680
26675
|
const o = {};
|
|
26681
26676
|
s & /*tag*/
|
|
26682
|
-
2 && (o.tag =
|
|
26677
|
+
2 && (o.tag = We(
|
|
26683
26678
|
/*tag*/
|
|
26684
26679
|
i[1]
|
|
26685
26680
|
)), t.$set(o);
|
|
@@ -26698,7 +26693,7 @@ function rP(n) {
|
|
|
26698
26693
|
function aP(n) {
|
|
26699
26694
|
let t, e;
|
|
26700
26695
|
return t = new Ay({
|
|
26701
|
-
props: { tag:
|
|
26696
|
+
props: { tag: We(
|
|
26702
26697
|
/*tag*/
|
|
26703
26698
|
n[1]
|
|
26704
26699
|
) }
|
|
@@ -26712,7 +26707,7 @@ function aP(n) {
|
|
|
26712
26707
|
p(i, s) {
|
|
26713
26708
|
const o = {};
|
|
26714
26709
|
s & /*tag*/
|
|
26715
|
-
2 && (o.tag =
|
|
26710
|
+
2 && (o.tag = We(
|
|
26716
26711
|
/*tag*/
|
|
26717
26712
|
i[1]
|
|
26718
26713
|
)), t.$set(o);
|
|
@@ -27083,7 +27078,7 @@ function vP(n) {
|
|
|
27083
27078
|
/*withAnimation*/
|
|
27084
27079
|
n[0]
|
|
27085
27080
|
),
|
|
27086
|
-
tag:
|
|
27081
|
+
tag: We(
|
|
27087
27082
|
/*tag*/
|
|
27088
27083
|
n[1]
|
|
27089
27084
|
),
|
|
@@ -27118,7 +27113,7 @@ function vP(n) {
|
|
|
27118
27113
|
i[2]), s & /*withAnimation*/
|
|
27119
27114
|
1 && (o.withAnimation = /*withAnimation*/
|
|
27120
27115
|
i[0]), s & /*tag*/
|
|
27121
|
-
2 && (o.tag =
|
|
27116
|
+
2 && (o.tag = We(
|
|
27122
27117
|
/*tag*/
|
|
27123
27118
|
i[1]
|
|
27124
27119
|
)), s & /*state*/
|
|
@@ -27887,7 +27882,7 @@ class pa extends SP {
|
|
|
27887
27882
|
f(this, "debug");
|
|
27888
27883
|
/** 更改 tag 模型 */
|
|
27889
27884
|
f(this, "changeTagModel", (e, i) => W(this, null, function* () {
|
|
27890
|
-
e.data =
|
|
27885
|
+
e.data = _e({}, e.data, i), yield this.loadModel(e), this.updateRenderAllTags();
|
|
27891
27886
|
}));
|
|
27892
27887
|
f(this, "handleFiveInitAnimationEnded", () => {
|
|
27893
27888
|
const e = this.five.getCurrentState().mode;
|
|
@@ -27903,7 +27898,7 @@ class pa extends SP {
|
|
|
27903
27898
|
typeof i == "object" && ((s = i.visibleFiveMode) != null && s.includes("Floorplan") || (o = i.visibleFiveMode) != null && o.includes("Mapview")) && (e.state.visible = this.getVisibleByFiveMode(e));
|
|
27904
27899
|
}), this.updateRenderAllTags();
|
|
27905
27900
|
});
|
|
27906
|
-
this.params =
|
|
27901
|
+
this.params = _e({}, { debug: !1, config: this.config }, Q({}, i)), this.debug = this.params.debug, this.config = this.params.config, p1(1, { namespace: Xa.PlayAudio });
|
|
27907
27902
|
try {
|
|
27908
27903
|
const s = window;
|
|
27909
27904
|
Array.isArray(s.__PANOTAGPLUGIN_DEBUG_LIST__) || (s.__PANOTAGPLUGIN_DEBUG_LIST__ = []), s.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), s.__PANOTAGPLUGIN_DEBUG__ = this;
|
|
@@ -27916,7 +27911,7 @@ class pa extends SP {
|
|
|
27916
27911
|
load(e, i) {
|
|
27917
27912
|
return W(this, null, function* () {
|
|
27918
27913
|
var o, r;
|
|
27919
|
-
this.clearTags(), console.debug(cf, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config =
|
|
27914
|
+
this.clearTags(), console.debug(cf, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = _e({}, this.config, {
|
|
27920
27915
|
globalConfig: (o = e.globalConfig) != null ? o : {},
|
|
27921
27916
|
contentTypeConfig: (r = e.contentTypeConfig) != null ? r : {}
|
|
27922
27917
|
});
|
|
@@ -27938,10 +27933,10 @@ class pa extends SP {
|
|
|
27938
27933
|
const o = (Array.isArray(e) ? e : [e]).map((r) => {
|
|
27939
27934
|
var d, h;
|
|
27940
27935
|
const a = this.getTagConfig(r), l = JSON.parse(JSON.stringify(r.data));
|
|
27941
|
-
return ve(Q({}, r), {
|
|
27936
|
+
return r.config = a, ve(Q({}, r), {
|
|
27942
27937
|
enabled: (d = r.enabled) != null ? d : !0,
|
|
27943
27938
|
id: (h = r.id) != null ? h : ct(),
|
|
27944
|
-
data:
|
|
27939
|
+
data: a.initialData.important ? _e(r.data, l, a.initialData) : _e(r.data, a.initialData, l),
|
|
27945
27940
|
state: Q({
|
|
27946
27941
|
visible: void 0,
|
|
27947
27942
|
unfolded: !this.can("fold", r)
|
|
@@ -27967,19 +27962,19 @@ class pa extends SP {
|
|
|
27967
27962
|
* @description: 改变配置
|
|
27968
27963
|
*/
|
|
27969
27964
|
changeConfig(e, i = !0) {
|
|
27970
|
-
i ? this.config =
|
|
27965
|
+
i ? this.config = _e({}, this.config, e) : this.config = e, this.updateTagConfig(), this.updateRenderAllTags();
|
|
27971
27966
|
}
|
|
27972
27967
|
/**
|
|
27973
27968
|
* @description: 改变全局配置
|
|
27974
27969
|
*/
|
|
27975
27970
|
changeGlobalConfig(e, i = !0) {
|
|
27976
|
-
i ? this.config.globalConfig =
|
|
27971
|
+
i ? this.config.globalConfig = _e({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.updateRenderAllTags();
|
|
27977
27972
|
}
|
|
27978
27973
|
/**
|
|
27979
27974
|
* @description: 改变类型配置
|
|
27980
27975
|
*/
|
|
27981
27976
|
changeContentTypeConfig(e, i, s = !0) {
|
|
27982
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), s ? this.config.contentTypeConfig[e] =
|
|
27977
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), s ? this.config.contentTypeConfig[e] = _e({}, this.config.contentTypeConfig[e], i) : this.config.contentTypeConfig[e] = i, this.updateTagConfig(), this.updateRenderAllTags();
|
|
27983
27978
|
}
|
|
27984
27979
|
show(e) {
|
|
27985
27980
|
return W(this, null, function* () {
|
|
@@ -28055,7 +28050,7 @@ class pa extends SP {
|
|
|
28055
28050
|
changeDataById(e, i, s = !0) {
|
|
28056
28051
|
const o = this.getTagById(e);
|
|
28057
28052
|
let r = !1;
|
|
28058
|
-
o && (o.data && (r = !0), s ? o.data =
|
|
28053
|
+
o && (o.data && (r = !0), s ? o.data = _e(o.data, i) : o.data = Q(Q({}, o.data), i), this.clearUnusedPanelTag(), this.updateRenderAllTags(), r && o.hooks.emit("dataChanged", o.data));
|
|
28059
28054
|
}
|
|
28060
28055
|
/**
|
|
28061
28056
|
* @description: 改变tag的stickType
|
|
@@ -28069,7 +28064,7 @@ class pa extends SP {
|
|
|
28069
28064
|
changeTagById(e, i, s = !0) {
|
|
28070
28065
|
const o = this.getTagById(e);
|
|
28071
28066
|
let r = !1;
|
|
28072
|
-
i && (i.data && (r = !0), s ?
|
|
28067
|
+
i && (i.data && (r = !0), s ? _e(o, i) : Object.assign(o, i), o != null && o.tag3DContentSvelte && (i != null && i.normal) && (o.tag3DContentSvelte.currentNormal = Mt(i.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), r && o.hooks.emit("dataChanged", o.data));
|
|
28073
28068
|
}
|
|
28074
28069
|
/**
|
|
28075
28070
|
* @description: 销毁tag
|
|
@@ -28159,9 +28154,9 @@ class pa extends SP {
|
|
|
28159
28154
|
}
|
|
28160
28155
|
handleFiveWantsMoveToPano(e) {
|
|
28161
28156
|
this.tags.forEach((i) => {
|
|
28162
|
-
|
|
28163
|
-
const
|
|
28164
|
-
typeof
|
|
28157
|
+
this.getVisible(i, { panoIndex: e }) && (i.state.visible = !0);
|
|
28158
|
+
const o = this.getTagConfig(i);
|
|
28159
|
+
typeof o.visibleConfig == "object" && (o.visibleConfig.keep ? i.temporaryState.visible = o.visibleConfig.keep === "visible" : i.temporaryState.visible = !!o.visibleConfig.alwaysShowWhenMovePano);
|
|
28165
28160
|
}), this.updateTagContainerVisible(), this.updateRenderImagePlane(), this.updateRenderVideoPlane();
|
|
28166
28161
|
}
|
|
28167
28162
|
/**
|
|
@@ -28769,7 +28764,7 @@ class Aa {
|
|
|
28769
28764
|
setTag(t, e) {
|
|
28770
28765
|
const i = t === "start" ? this.startTagContainer : this.endTagContainer;
|
|
28771
28766
|
e || i.plugin.clearTags();
|
|
28772
|
-
const o =
|
|
28767
|
+
const o = _e({}, {
|
|
28773
28768
|
contentType: "Custom",
|
|
28774
28769
|
stickType: "2DPoint",
|
|
28775
28770
|
config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
|
|
@@ -29541,8 +29536,8 @@ let UP = class extends Ci {
|
|
|
29541
29536
|
}
|
|
29542
29537
|
}, d = (v = (g = r.routes) == null ? void 0 : g.map((k) => {
|
|
29543
29538
|
var D;
|
|
29544
|
-
return
|
|
29545
|
-
})) != null ? v : [], h = (I = (y = r.lines) == null ? void 0 : y.map((k) =>
|
|
29539
|
+
return _e({}, c, { id: (D = k.id) != null ? D : Date.now(), pano_group: k.panoIndexList });
|
|
29540
|
+
})) != null ? v : [], h = (I = (y = r.lines) == null ? void 0 : y.map((k) => _e({}, c, k))) != null ? I : [], u = [...d, ...h];
|
|
29546
29541
|
yield this.waitFiveLoaded(), this.clear(), u.forEach((k) => {
|
|
29547
29542
|
this.addGuideLineItem(k);
|
|
29548
29543
|
}), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", r), console.debug(`${ph} loaded`, r);
|