@realsee/dnalogel 2.27.0-dev.0 → 2.27.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +13 -5
- package/dist/PanoTagPlugin/utils/index.d.ts +1 -1
- package/dist/index.cjs.js +10 -10
- package/dist/index.js +136 -140
- 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 +11 -11
- 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 +50 -53
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/index.js +37 -37
- package/libs/PanoTagPlugin/typings/controller.d.ts +0 -2
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +13 -5
- 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.2",
|
|
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.2");
|
|
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,13 @@ class D1 extends I1 {
|
|
|
17619
17618
|
loadVideoFirstFrame() {
|
|
17620
17619
|
P1 && this.hooks.emit("loadVideoFirstFrame");
|
|
17621
17620
|
}
|
|
17622
|
-
updateTagConfig(
|
|
17623
|
-
|
|
17624
|
-
|
|
17625
|
-
i
|
|
17621
|
+
updateTagConfig() {
|
|
17622
|
+
this.clearCache(), this.tags.forEach((e) => {
|
|
17623
|
+
var o;
|
|
17624
|
+
const i = this.getTagConfig(e, { useCache: !1 });
|
|
17625
|
+
e.config = i;
|
|
17626
|
+
const s = JSON.parse(JSON.stringify(e.data));
|
|
17627
|
+
e.data = (o = i.initialData) != null && o.important ? _e(e.data, s, i.initialData) : _e(e.data, i.initialData, s);
|
|
17626
17628
|
});
|
|
17627
17629
|
}
|
|
17628
17630
|
can(e, i) {
|
|
@@ -17783,9 +17785,6 @@ class D1 extends I1 {
|
|
|
17783
17785
|
get filter2DPointTag() {
|
|
17784
17786
|
return this.tags.filter((e) => e.stickType === "2DPoint").filter((e) => e.position);
|
|
17785
17787
|
}
|
|
17786
|
-
get filter3DPointTag() {
|
|
17787
|
-
return this.tags.filter((e) => e.stickType === "3DPoint").filter((e) => e.position);
|
|
17788
|
-
}
|
|
17789
17788
|
get filterImagePlane() {
|
|
17790
17789
|
return this.tags.filter(
|
|
17791
17790
|
(e) => e.contentType === "MediaPlane" && e.stickType === "Plane" && this.getRenderType(e) === "Mesh"
|
|
@@ -17794,9 +17793,6 @@ class D1 extends I1 {
|
|
|
17794
17793
|
get filterMediaModel() {
|
|
17795
17794
|
return this.tags.filter((e) => e.stickType === "Model" && e.contentType === "MediaModel");
|
|
17796
17795
|
}
|
|
17797
|
-
get filterModelTag() {
|
|
17798
|
-
return this.tags.filter((e) => e.stickType === "Model");
|
|
17799
|
-
}
|
|
17800
17796
|
get filterCSS3DTag() {
|
|
17801
17797
|
return this.tags.filter(
|
|
17802
17798
|
(i) => i.stickType === "3DPoint" || i.stickType === "Plane" || i.stickType === "Model" && i.contentType === "MediaModel"
|
|
@@ -17887,7 +17883,7 @@ class L1 extends D1 {
|
|
|
17887
17883
|
if ($n(h, r.angleRange) === !1)
|
|
17888
17884
|
return { value: !1, reason: `angle is not in angleRange. angle: ${h}, angleRange: ${r.angleRange}` };
|
|
17889
17885
|
}
|
|
17890
|
-
return
|
|
17886
|
+
return {
|
|
17891
17887
|
value: !0,
|
|
17892
17888
|
reason: "all check passed"
|
|
17893
17889
|
};
|
|
@@ -20832,7 +20828,7 @@ var Xs = lC, bo = {}, cC = {
|
|
|
20832
20828
|
(function(n, t) {
|
|
20833
20829
|
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
20830
|
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,
|
|
20831
|
+
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
20832
|
function fe(b, C) {
|
|
20837
20833
|
return b.set(C[0], C[1]), b;
|
|
20838
20834
|
}
|
|
@@ -20894,7 +20890,7 @@ var Xs = lC, bo = {}, cC = {
|
|
|
20894
20890
|
return b ? "Symbol(src)_1." + b : "";
|
|
20895
20891
|
}(), Ge = Ut.toString, Ze = Ct.hasOwnProperty, St = Ct.toString, On = RegExp(
|
|
20896
20892
|
"^" + Ge.call(Ze).replace(Z, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
20897
|
-
), Vt =
|
|
20893
|
+
), 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
20894
|
function Xt(b) {
|
|
20899
20895
|
var C = -1, T = b ? b.length : 0;
|
|
20900
20896
|
for (this.clear(); ++C < T; ) {
|
|
@@ -21032,8 +21028,8 @@ var Xs = lC, bo = {}, cC = {
|
|
|
21032
21028
|
return Te;
|
|
21033
21029
|
if (!Nt(b))
|
|
21034
21030
|
return b;
|
|
21035
|
-
var
|
|
21036
|
-
if (
|
|
21031
|
+
var Ye = Yn(b);
|
|
21032
|
+
if (Ye) {
|
|
21037
21033
|
if (Te = gr(b), !C)
|
|
21038
21034
|
return ur(b, Te);
|
|
21039
21035
|
} else {
|
|
@@ -21055,10 +21051,10 @@ var Xs = lC, bo = {}, cC = {
|
|
|
21055
21051
|
var vt = De.get(b);
|
|
21056
21052
|
if (vt)
|
|
21057
21053
|
return vt;
|
|
21058
|
-
if (De.set(b, Te), !
|
|
21059
|
-
var
|
|
21060
|
-
return je(
|
|
21061
|
-
|
|
21054
|
+
if (De.set(b, Te), !Ye)
|
|
21055
|
+
var Xe = T ? mr(b) : Xn(b);
|
|
21056
|
+
return je(Xe || b, function(rt, $e) {
|
|
21057
|
+
Xe && ($e = rt, rt = b[$e]), Cs(Te, $e, _n(rt, C, T, F, $e, b, De));
|
|
21062
21058
|
}), Te;
|
|
21063
21059
|
}
|
|
21064
21060
|
function sr(b) {
|
|
@@ -21285,7 +21281,7 @@ var yo = {}, hC = {
|
|
|
21285
21281
|
(function(n, t) {
|
|
21286
21282
|
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
21283
|
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
|
|
21284
|
+
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
21285
|
try {
|
|
21290
21286
|
return ht && ht.binding && ht.binding("util");
|
|
21291
21287
|
} catch (b) {
|
|
@@ -21478,13 +21474,13 @@ var yo = {}, hC = {
|
|
|
21478
21474
|
}
|
|
21479
21475
|
Qt.prototype.clear = _n, Qt.prototype.delete = sr, Qt.prototype.get = or, Qt.prototype.has = rr, Qt.prototype.set = ar;
|
|
21480
21476
|
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) : [],
|
|
21477
|
+
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
21478
|
for (var ze in b)
|
|
21483
21479
|
(C || pt.call(b, ze)) && !(De && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
21484
21480
|
(ze == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
21485
21481
|
Ie && (ze == "offset" || ze == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
21486
21482
|
ge && (ze == "buffer" || ze == "byteLength" || ze == "byteOffset") || // Skip index properties.
|
|
21487
|
-
pr(ze,
|
|
21483
|
+
pr(ze, Ye))) && Te.push(ze);
|
|
21488
21484
|
return Te;
|
|
21489
21485
|
}
|
|
21490
21486
|
function Yi(b, C) {
|
|
@@ -21507,16 +21503,16 @@ var yo = {}, hC = {
|
|
|
21507
21503
|
return b === C ? !0 : b == null || C == null || !Nt(b) && !Nt(C) ? b !== b && C !== C : cr(b, C, T, F, Ps, Ie);
|
|
21508
21504
|
}
|
|
21509
21505
|
function cr(b, C, T, F, Ie, ge) {
|
|
21510
|
-
var De = Ui(b), Te = Ui(C),
|
|
21511
|
-
|
|
21512
|
-
var ot =
|
|
21513
|
-
if (
|
|
21506
|
+
var De = Ui(b), Te = Ui(C), Ye = De ? l : Gt(b), ze = Te ? l : Gt(C);
|
|
21507
|
+
Ye = Ye == a ? y : Ye, ze = ze == a ? y : ze;
|
|
21508
|
+
var ot = Ye == y, vt = ze == y, Xe = Ye == ze;
|
|
21509
|
+
if (Xe && Xi(b)) {
|
|
21514
21510
|
if (!Xi(C))
|
|
21515
21511
|
return !1;
|
|
21516
21512
|
De = !0, ot = !1;
|
|
21517
21513
|
}
|
|
21518
|
-
if (
|
|
21519
|
-
return ge || (ge = new Qt()), De || Ss(b) ? Fn(b, C, T, F, Ie, ge) : fr(b, C,
|
|
21514
|
+
if (Xe && !ot)
|
|
21515
|
+
return ge || (ge = new Qt()), De || Ss(b) ? Fn(b, C, T, F, Ie, ge) : fr(b, C, Ye, T, F, Ie, ge);
|
|
21520
21516
|
if (!(T & s)) {
|
|
21521
21517
|
var rt = ot && pt.call(b, "__wrapped__"), $e = vt && pt.call(C, "__wrapped__");
|
|
21522
21518
|
if (rt || $e) {
|
|
@@ -21524,7 +21520,7 @@ var yo = {}, hC = {
|
|
|
21524
21520
|
return ge || (ge = new Qt()), Ie(ai, qt, T, F, ge);
|
|
21525
21521
|
}
|
|
21526
21522
|
}
|
|
21527
|
-
return
|
|
21523
|
+
return Xe ? (ge || (ge = new Qt()), mr(b, C, T, F, Ie, ge)) : !1;
|
|
21528
21524
|
}
|
|
21529
21525
|
function dr(b) {
|
|
21530
21526
|
if (!Ds(b) || vr(b))
|
|
@@ -21544,13 +21540,13 @@ var yo = {}, hC = {
|
|
|
21544
21540
|
return C;
|
|
21545
21541
|
}
|
|
21546
21542
|
function Fn(b, C, T, F, Ie, ge) {
|
|
21547
|
-
var De = T & s, Te = b.length,
|
|
21548
|
-
if (Te !=
|
|
21543
|
+
var De = T & s, Te = b.length, Ye = C.length;
|
|
21544
|
+
if (Te != Ye && !(De && Ye > Te))
|
|
21549
21545
|
return !1;
|
|
21550
21546
|
var ze = ge.get(b);
|
|
21551
21547
|
if (ze && ge.get(C))
|
|
21552
21548
|
return ze == C;
|
|
21553
|
-
var ot = -1, vt = !0,
|
|
21549
|
+
var ot = -1, vt = !0, Xe = T & o ? new Wi() : void 0;
|
|
21554
21550
|
for (ge.set(b, C), ge.set(C, b); ++ot < Te; ) {
|
|
21555
21551
|
var rt = b[ot], $e = C[ot];
|
|
21556
21552
|
if (F)
|
|
@@ -21561,10 +21557,10 @@ var yo = {}, hC = {
|
|
|
21561
21557
|
vt = !1;
|
|
21562
21558
|
break;
|
|
21563
21559
|
}
|
|
21564
|
-
if (
|
|
21560
|
+
if (Xe) {
|
|
21565
21561
|
if (!He(C, function(qt, Di) {
|
|
21566
|
-
if (!Ct(
|
|
21567
|
-
return
|
|
21562
|
+
if (!Ct(Xe, Di) && (rt === qt || Ie(rt, qt, T, F, ge)))
|
|
21563
|
+
return Xe.push(Di);
|
|
21568
21564
|
})) {
|
|
21569
21565
|
vt = !1;
|
|
21570
21566
|
break;
|
|
@@ -21596,8 +21592,8 @@ var yo = {}, hC = {
|
|
|
21596
21592
|
case p:
|
|
21597
21593
|
var Te = Re;
|
|
21598
21594
|
case P:
|
|
21599
|
-
var
|
|
21600
|
-
if (Te || (Te = Ze), b.size != C.size && !
|
|
21595
|
+
var Ye = F & s;
|
|
21596
|
+
if (Te || (Te = Ze), b.size != C.size && !Ye)
|
|
21601
21597
|
return !1;
|
|
21602
21598
|
var ze = De.get(b);
|
|
21603
21599
|
if (ze)
|
|
@@ -21612,12 +21608,12 @@ var yo = {}, hC = {
|
|
|
21612
21608
|
return !1;
|
|
21613
21609
|
}
|
|
21614
21610
|
function mr(b, C, T, F, Ie, ge) {
|
|
21615
|
-
var De = T & s, Te = xi(b),
|
|
21616
|
-
if (
|
|
21611
|
+
var De = T & s, Te = xi(b), Ye = Te.length, ze = xi(C), ot = ze.length;
|
|
21612
|
+
if (Ye != ot && !De)
|
|
21617
21613
|
return !1;
|
|
21618
|
-
for (var vt =
|
|
21619
|
-
var
|
|
21620
|
-
if (!(De ?
|
|
21614
|
+
for (var vt = Ye; vt--; ) {
|
|
21615
|
+
var Xe = Te[vt];
|
|
21616
|
+
if (!(De ? Xe in C : pt.call(C, Xe)))
|
|
21621
21617
|
return !1;
|
|
21622
21618
|
}
|
|
21623
21619
|
var rt = ge.get(b);
|
|
@@ -21625,16 +21621,16 @@ var yo = {}, hC = {
|
|
|
21625
21621
|
return rt == C;
|
|
21626
21622
|
var $e = !0;
|
|
21627
21623
|
ge.set(b, C), ge.set(C, b);
|
|
21628
|
-
for (var ai = De; ++vt <
|
|
21629
|
-
|
|
21630
|
-
var qt = b[
|
|
21624
|
+
for (var ai = De; ++vt < Ye; ) {
|
|
21625
|
+
Xe = Te[vt];
|
|
21626
|
+
var qt = b[Xe], Di = C[Xe];
|
|
21631
21627
|
if (F)
|
|
21632
|
-
var rl = De ? F(Di, qt,
|
|
21628
|
+
var rl = De ? F(Di, qt, Xe, C, b, ge) : F(qt, Di, Xe, b, C, ge);
|
|
21633
21629
|
if (!(rl === void 0 ? qt === Di || Ie(qt, Di, T, F, ge) : rl)) {
|
|
21634
21630
|
$e = !1;
|
|
21635
21631
|
break;
|
|
21636
21632
|
}
|
|
21637
|
-
ai || (ai =
|
|
21633
|
+
ai || (ai = Xe == "constructor");
|
|
21638
21634
|
}
|
|
21639
21635
|
if ($e && !ai) {
|
|
21640
21636
|
var Ts = b.constructor, Ls = C.constructor;
|
|
@@ -22743,7 +22739,7 @@ function zC(n, t, e) {
|
|
|
22743
22739
|
function Ae(re) {
|
|
22744
22740
|
G && (h.offset += re.detail.dx);
|
|
22745
22741
|
}
|
|
22746
|
-
function
|
|
22742
|
+
function Fe() {
|
|
22747
22743
|
G && m.showParticle(h.currentParticleIndex);
|
|
22748
22744
|
}
|
|
22749
22745
|
function fe() {
|
|
@@ -22805,7 +22801,7 @@ function zC(n, t, e) {
|
|
|
22805
22801
|
pe,
|
|
22806
22802
|
Be,
|
|
22807
22803
|
Ae,
|
|
22808
|
-
|
|
22804
|
+
Fe,
|
|
22809
22805
|
fe,
|
|
22810
22806
|
ye,
|
|
22811
22807
|
je,
|
|
@@ -25709,7 +25705,7 @@ function jI(n) {
|
|
|
25709
25705
|
};
|
|
25710
25706
|
return co(
|
|
25711
25707
|
e = /*getImage*/
|
|
25712
|
-
n[11](
|
|
25708
|
+
n[11](We({
|
|
25713
25709
|
url: (
|
|
25714
25710
|
/*iconUrl*/
|
|
25715
25711
|
n[7]
|
|
@@ -25730,7 +25726,7 @@ function jI(n) {
|
|
|
25730
25726
|
p(s, o) {
|
|
25731
25727
|
n = s, i.ctx = n, o & /*iconUrl, iconRatio*/
|
|
25732
25728
|
160 && e !== (e = /*getImage*/
|
|
25733
|
-
n[11](
|
|
25729
|
+
n[11](We({
|
|
25734
25730
|
url: (
|
|
25735
25731
|
/*iconUrl*/
|
|
25736
25732
|
n[7]
|
|
@@ -25759,7 +25755,7 @@ function zI(n) {
|
|
|
25759
25755
|
};
|
|
25760
25756
|
return co(
|
|
25761
25757
|
e = /*getKeyframe*/
|
|
25762
|
-
n[10](
|
|
25758
|
+
n[10](We({
|
|
25763
25759
|
url: (
|
|
25764
25760
|
/*iconUrl*/
|
|
25765
25761
|
n[7]
|
|
@@ -25788,7 +25784,7 @@ function zI(n) {
|
|
|
25788
25784
|
p(s, o) {
|
|
25789
25785
|
n = s, i.ctx = n, o & /*iconUrl, iconSteps, iconFps, iconRatio*/
|
|
25790
25786
|
228 && e !== (e = /*getKeyframe*/
|
|
25791
|
-
n[10](
|
|
25787
|
+
n[10](We({
|
|
25792
25788
|
url: (
|
|
25793
25789
|
/*iconUrl*/
|
|
25794
25790
|
n[7]
|
|
@@ -26044,7 +26040,7 @@ function HI(n, t, e) {
|
|
|
26044
26040
|
4096 && e(5, r = m == null ? void 0 : m.ratio), n.$$.dirty & /*icon*/
|
|
26045
26041
|
4096 && e(4, a = (k = m == null ? void 0 : m.scale) != null ? k : 1), n.$$.dirty & /*icon*/
|
|
26046
26042
|
4096 && e(3, l = m == null ? void 0 : m.width), n.$$.dirty & /*iconUrl, iconSteps, iconFps, iconRatio, iconScale, iconWidth*/
|
|
26047
|
-
252 && e(9, c =
|
|
26043
|
+
252 && e(9, c = We({
|
|
26048
26044
|
url: i,
|
|
26049
26045
|
steps: s,
|
|
26050
26046
|
fps: o,
|
|
@@ -26454,7 +26450,7 @@ function tP(n) {
|
|
|
26454
26450
|
let t, e, i, s, o, r, a;
|
|
26455
26451
|
return e = new qI({
|
|
26456
26452
|
props: {
|
|
26457
|
-
tag:
|
|
26453
|
+
tag: We(
|
|
26458
26454
|
/*tag*/
|
|
26459
26455
|
n[1]
|
|
26460
26456
|
),
|
|
@@ -26493,7 +26489,7 @@ function tP(n) {
|
|
|
26493
26489
|
p(l, c) {
|
|
26494
26490
|
const d = {};
|
|
26495
26491
|
c & /*tag*/
|
|
26496
|
-
2 && (d.tag =
|
|
26492
|
+
2 && (d.tag = We(
|
|
26497
26493
|
/*tag*/
|
|
26498
26494
|
l[1]
|
|
26499
26495
|
)), c & /*renderMap*/
|
|
@@ -26533,7 +26529,7 @@ function tP(n) {
|
|
|
26533
26529
|
function iP(n) {
|
|
26534
26530
|
let t, e;
|
|
26535
26531
|
return t = new DI({
|
|
26536
|
-
props: { tag:
|
|
26532
|
+
props: { tag: We(
|
|
26537
26533
|
/*tag*/
|
|
26538
26534
|
n[1]
|
|
26539
26535
|
) }
|
|
@@ -26547,7 +26543,7 @@ function iP(n) {
|
|
|
26547
26543
|
p(i, s) {
|
|
26548
26544
|
const o = {};
|
|
26549
26545
|
s & /*tag*/
|
|
26550
|
-
2 && (o.tag =
|
|
26546
|
+
2 && (o.tag = We(
|
|
26551
26547
|
/*tag*/
|
|
26552
26548
|
i[1]
|
|
26553
26549
|
)), t.$set(o);
|
|
@@ -26566,7 +26562,7 @@ function iP(n) {
|
|
|
26566
26562
|
function nP(n) {
|
|
26567
26563
|
let t, e;
|
|
26568
26564
|
return t = new YI({
|
|
26569
|
-
props: { tag:
|
|
26565
|
+
props: { tag: We(
|
|
26570
26566
|
/*tag*/
|
|
26571
26567
|
n[1]
|
|
26572
26568
|
) }
|
|
@@ -26580,7 +26576,7 @@ function nP(n) {
|
|
|
26580
26576
|
p(i, s) {
|
|
26581
26577
|
const o = {};
|
|
26582
26578
|
s & /*tag*/
|
|
26583
|
-
2 && (o.tag =
|
|
26579
|
+
2 && (o.tag = We(
|
|
26584
26580
|
/*tag*/
|
|
26585
26581
|
i[1]
|
|
26586
26582
|
)), t.$set(o);
|
|
@@ -26599,7 +26595,7 @@ function nP(n) {
|
|
|
26599
26595
|
function sP(n) {
|
|
26600
26596
|
let t, e;
|
|
26601
26597
|
return t = new iI({
|
|
26602
|
-
props: { tag:
|
|
26598
|
+
props: { tag: We(
|
|
26603
26599
|
/*tag*/
|
|
26604
26600
|
n[1]
|
|
26605
26601
|
) }
|
|
@@ -26613,7 +26609,7 @@ function sP(n) {
|
|
|
26613
26609
|
p(i, s) {
|
|
26614
26610
|
const o = {};
|
|
26615
26611
|
s & /*tag*/
|
|
26616
|
-
2 && (o.tag =
|
|
26612
|
+
2 && (o.tag = We(
|
|
26617
26613
|
/*tag*/
|
|
26618
26614
|
i[1]
|
|
26619
26615
|
)), t.$set(o);
|
|
@@ -26632,7 +26628,7 @@ function sP(n) {
|
|
|
26632
26628
|
function oP(n) {
|
|
26633
26629
|
let t, e;
|
|
26634
26630
|
return t = new EI({
|
|
26635
|
-
props: { tag:
|
|
26631
|
+
props: { tag: We(
|
|
26636
26632
|
/*tag*/
|
|
26637
26633
|
n[1]
|
|
26638
26634
|
) }
|
|
@@ -26646,7 +26642,7 @@ function oP(n) {
|
|
|
26646
26642
|
p(i, s) {
|
|
26647
26643
|
const o = {};
|
|
26648
26644
|
s & /*tag*/
|
|
26649
|
-
2 && (o.tag =
|
|
26645
|
+
2 && (o.tag = We(
|
|
26650
26646
|
/*tag*/
|
|
26651
26647
|
i[1]
|
|
26652
26648
|
)), t.$set(o);
|
|
@@ -26665,7 +26661,7 @@ function oP(n) {
|
|
|
26665
26661
|
function rP(n) {
|
|
26666
26662
|
let t, e;
|
|
26667
26663
|
return t = new KC({
|
|
26668
|
-
props: { tag:
|
|
26664
|
+
props: { tag: We(
|
|
26669
26665
|
/*tag*/
|
|
26670
26666
|
n[1]
|
|
26671
26667
|
) }
|
|
@@ -26679,7 +26675,7 @@ function rP(n) {
|
|
|
26679
26675
|
p(i, s) {
|
|
26680
26676
|
const o = {};
|
|
26681
26677
|
s & /*tag*/
|
|
26682
|
-
2 && (o.tag =
|
|
26678
|
+
2 && (o.tag = We(
|
|
26683
26679
|
/*tag*/
|
|
26684
26680
|
i[1]
|
|
26685
26681
|
)), t.$set(o);
|
|
@@ -26698,7 +26694,7 @@ function rP(n) {
|
|
|
26698
26694
|
function aP(n) {
|
|
26699
26695
|
let t, e;
|
|
26700
26696
|
return t = new Ay({
|
|
26701
|
-
props: { tag:
|
|
26697
|
+
props: { tag: We(
|
|
26702
26698
|
/*tag*/
|
|
26703
26699
|
n[1]
|
|
26704
26700
|
) }
|
|
@@ -26712,7 +26708,7 @@ function aP(n) {
|
|
|
26712
26708
|
p(i, s) {
|
|
26713
26709
|
const o = {};
|
|
26714
26710
|
s & /*tag*/
|
|
26715
|
-
2 && (o.tag =
|
|
26711
|
+
2 && (o.tag = We(
|
|
26716
26712
|
/*tag*/
|
|
26717
26713
|
i[1]
|
|
26718
26714
|
)), t.$set(o);
|
|
@@ -27083,7 +27079,7 @@ function vP(n) {
|
|
|
27083
27079
|
/*withAnimation*/
|
|
27084
27080
|
n[0]
|
|
27085
27081
|
),
|
|
27086
|
-
tag:
|
|
27082
|
+
tag: We(
|
|
27087
27083
|
/*tag*/
|
|
27088
27084
|
n[1]
|
|
27089
27085
|
),
|
|
@@ -27118,7 +27114,7 @@ function vP(n) {
|
|
|
27118
27114
|
i[2]), s & /*withAnimation*/
|
|
27119
27115
|
1 && (o.withAnimation = /*withAnimation*/
|
|
27120
27116
|
i[0]), s & /*tag*/
|
|
27121
|
-
2 && (o.tag =
|
|
27117
|
+
2 && (o.tag = We(
|
|
27122
27118
|
/*tag*/
|
|
27123
27119
|
i[1]
|
|
27124
27120
|
)), s & /*state*/
|
|
@@ -27887,7 +27883,7 @@ class pa extends SP {
|
|
|
27887
27883
|
f(this, "debug");
|
|
27888
27884
|
/** 更改 tag 模型 */
|
|
27889
27885
|
f(this, "changeTagModel", (e, i) => W(this, null, function* () {
|
|
27890
|
-
e.data =
|
|
27886
|
+
e.data = _e({}, e.data, i), yield this.loadModel(e), this.updateRenderAllTags();
|
|
27891
27887
|
}));
|
|
27892
27888
|
f(this, "handleFiveInitAnimationEnded", () => {
|
|
27893
27889
|
const e = this.five.getCurrentState().mode;
|
|
@@ -27903,7 +27899,7 @@ class pa extends SP {
|
|
|
27903
27899
|
typeof i == "object" && ((s = i.visibleFiveMode) != null && s.includes("Floorplan") || (o = i.visibleFiveMode) != null && o.includes("Mapview")) && (e.state.visible = this.getVisibleByFiveMode(e));
|
|
27904
27900
|
}), this.updateRenderAllTags();
|
|
27905
27901
|
});
|
|
27906
|
-
this.params =
|
|
27902
|
+
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
27903
|
try {
|
|
27908
27904
|
const s = window;
|
|
27909
27905
|
Array.isArray(s.__PANOTAGPLUGIN_DEBUG_LIST__) || (s.__PANOTAGPLUGIN_DEBUG_LIST__ = []), s.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), s.__PANOTAGPLUGIN_DEBUG__ = this;
|
|
@@ -27916,7 +27912,7 @@ class pa extends SP {
|
|
|
27916
27912
|
load(e, i) {
|
|
27917
27913
|
return W(this, null, function* () {
|
|
27918
27914
|
var o, r;
|
|
27919
|
-
this.clearTags(), console.debug(cf, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config =
|
|
27915
|
+
this.clearTags(), console.debug(cf, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = _e({}, this.config, {
|
|
27920
27916
|
globalConfig: (o = e.globalConfig) != null ? o : {},
|
|
27921
27917
|
contentTypeConfig: (r = e.contentTypeConfig) != null ? r : {}
|
|
27922
27918
|
});
|
|
@@ -27936,12 +27932,12 @@ class pa extends SP {
|
|
|
27936
27932
|
addTag(e, i) {
|
|
27937
27933
|
return W(this, null, function* () {
|
|
27938
27934
|
const o = (Array.isArray(e) ? e : [e]).map((r) => {
|
|
27939
|
-
var d, h;
|
|
27935
|
+
var d, h, u;
|
|
27940
27936
|
const a = this.getTagConfig(r), l = JSON.parse(JSON.stringify(r.data));
|
|
27941
|
-
return ve(Q({}, r), {
|
|
27937
|
+
return r.config = a, ve(Q({}, r), {
|
|
27942
27938
|
enabled: (d = r.enabled) != null ? d : !0,
|
|
27943
27939
|
id: (h = r.id) != null ? h : ct(),
|
|
27944
|
-
data:
|
|
27940
|
+
data: (u = a.initialData) != null && u.important ? _e(r.data, l, a.initialData) : _e(r.data, a.initialData, l),
|
|
27945
27941
|
state: Q({
|
|
27946
27942
|
visible: void 0,
|
|
27947
27943
|
unfolded: !this.can("fold", r)
|
|
@@ -27954,7 +27950,7 @@ class pa extends SP {
|
|
|
27954
27950
|
enable: () => this.changeEnabledById(r.id, !0),
|
|
27955
27951
|
disable: () => this.changeEnabledById(r.id, !1),
|
|
27956
27952
|
destroy: () => this.destroyTagById(r.id),
|
|
27957
|
-
changeData: (
|
|
27953
|
+
changeData: (m) => this.changeDataById(r.id, m)
|
|
27958
27954
|
});
|
|
27959
27955
|
}).filter((r) => r.position);
|
|
27960
27956
|
return o.forEach(m1), this.tags.push(...o), c1(this.five).then(() => W(this, null, function* () {
|
|
@@ -27967,19 +27963,19 @@ class pa extends SP {
|
|
|
27967
27963
|
* @description: 改变配置
|
|
27968
27964
|
*/
|
|
27969
27965
|
changeConfig(e, i = !0) {
|
|
27970
|
-
i ? this.config =
|
|
27966
|
+
i ? this.config = _e({}, this.config, e) : this.config = e, this.updateTagConfig(), this.updateRenderAllTags();
|
|
27971
27967
|
}
|
|
27972
27968
|
/**
|
|
27973
27969
|
* @description: 改变全局配置
|
|
27974
27970
|
*/
|
|
27975
27971
|
changeGlobalConfig(e, i = !0) {
|
|
27976
|
-
i ? this.config.globalConfig =
|
|
27972
|
+
i ? this.config.globalConfig = _e({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.updateRenderAllTags();
|
|
27977
27973
|
}
|
|
27978
27974
|
/**
|
|
27979
27975
|
* @description: 改变类型配置
|
|
27980
27976
|
*/
|
|
27981
27977
|
changeContentTypeConfig(e, i, s = !0) {
|
|
27982
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), s ? this.config.contentTypeConfig[e] =
|
|
27978
|
+
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
27979
|
}
|
|
27984
27980
|
show(e) {
|
|
27985
27981
|
return W(this, null, function* () {
|
|
@@ -28055,7 +28051,7 @@ class pa extends SP {
|
|
|
28055
28051
|
changeDataById(e, i, s = !0) {
|
|
28056
28052
|
const o = this.getTagById(e);
|
|
28057
28053
|
let r = !1;
|
|
28058
|
-
o && (o.data && (r = !0), s ? o.data =
|
|
28054
|
+
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
28055
|
}
|
|
28060
28056
|
/**
|
|
28061
28057
|
* @description: 改变tag的stickType
|
|
@@ -28069,7 +28065,7 @@ class pa extends SP {
|
|
|
28069
28065
|
changeTagById(e, i, s = !0) {
|
|
28070
28066
|
const o = this.getTagById(e);
|
|
28071
28067
|
let r = !1;
|
|
28072
|
-
i && (i.data && (r = !0), s ?
|
|
28068
|
+
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
28069
|
}
|
|
28074
28070
|
/**
|
|
28075
28071
|
* @description: 销毁tag
|
|
@@ -28159,9 +28155,9 @@ class pa extends SP {
|
|
|
28159
28155
|
}
|
|
28160
28156
|
handleFiveWantsMoveToPano(e) {
|
|
28161
28157
|
this.tags.forEach((i) => {
|
|
28162
|
-
|
|
28163
|
-
const
|
|
28164
|
-
typeof
|
|
28158
|
+
this.getVisible(i, { panoIndex: e }) && (i.state.visible = !0);
|
|
28159
|
+
const o = this.getTagConfig(i);
|
|
28160
|
+
typeof o.visibleConfig == "object" && (o.visibleConfig.keep ? i.temporaryState.visible = o.visibleConfig.keep === "visible" : i.temporaryState.visible = !!o.visibleConfig.alwaysShowWhenMovePano);
|
|
28165
28161
|
}), this.updateTagContainerVisible(), this.updateRenderImagePlane(), this.updateRenderVideoPlane();
|
|
28166
28162
|
}
|
|
28167
28163
|
/**
|
|
@@ -28769,7 +28765,7 @@ class Aa {
|
|
|
28769
28765
|
setTag(t, e) {
|
|
28770
28766
|
const i = t === "start" ? this.startTagContainer : this.endTagContainer;
|
|
28771
28767
|
e || i.plugin.clearTags();
|
|
28772
|
-
const o =
|
|
28768
|
+
const o = _e({}, {
|
|
28773
28769
|
contentType: "Custom",
|
|
28774
28770
|
stickType: "2DPoint",
|
|
28775
28771
|
config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
|
|
@@ -29541,8 +29537,8 @@ let UP = class extends Ci {
|
|
|
29541
29537
|
}
|
|
29542
29538
|
}, d = (v = (g = r.routes) == null ? void 0 : g.map((k) => {
|
|
29543
29539
|
var D;
|
|
29544
|
-
return
|
|
29545
|
-
})) != null ? v : [], h = (I = (y = r.lines) == null ? void 0 : y.map((k) =>
|
|
29540
|
+
return _e({}, c, { id: (D = k.id) != null ? D : Date.now(), pano_group: k.panoIndexList });
|
|
29541
|
+
})) != null ? v : [], h = (I = (y = r.lines) == null ? void 0 : y.map((k) => _e({}, c, k))) != null ? I : [], u = [...d, ...h];
|
|
29546
29542
|
yield this.waitFiveLoaded(), this.clear(), u.forEach((k) => {
|
|
29547
29543
|
this.addGuideLineItem(k);
|
|
29548
29544
|
}), 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);
|