@realsee/dnalogel 3.5.0-tag-dev.1 → 3.5.0-tag-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/PanoTagPlugin/controller/TagUtil.d.ts +3 -1
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -1
- package/dist/PanoTagPlugin/utils/tag/adaptConfig.d.ts +1 -1
- package/dist/index.cjs.js +23 -23
- package/dist/index.js +963 -958
- package/dist/index.umd.js +26 -26
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
- package/docs/classes/CSS3DRender.html +3 -3
- 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 +21 -21
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.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/AreaMakerPlugin.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/CurrentPanoImagePlugin.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.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.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 +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- 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/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- 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.GuideLineMeshStyle.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 +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- 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 +3 -3
- 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/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.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/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- 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/CurrentPanoImagePluginExportType.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 +3 -3
- 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 +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.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 +3 -3
- 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/TagContentTypeMapping.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +7 -5
- 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 +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +3 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +62 -58
- package/libs/PanoTagPlugin/controller/index.js +44 -43
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -1
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.js +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视看房插件合集 - v3.5.0-tag-dev.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视看房插件合集 - v3.5.0-tag-dev.2</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.5.0-tag-dev.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.5.0-tag-dev.2</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.5.0-<wbr/>tag-<wbr/>dev.
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.5.0-<wbr/>tag-<wbr/>dev.2</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
44
44
|
<li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v3.5.0-tag-dev.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v3.5.0-tag-dev.2</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.5.0-tag-dev.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.5.0-tag-dev.2</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.5.0-<wbr/>tag-<wbr/>dev.
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.5.0-<wbr/>tag-<wbr/>dev.2</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
44
44
|
<li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v3.5.0-tag-dev.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v3.5.0-tag-dev.2</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.5.0-tag-dev.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.5.0-tag-dev.2</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-theme-toggle">
|
|
39
39
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
40
40
|
<div class="site-menu">
|
|
41
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.5.0-<wbr/>tag-<wbr/>dev.
|
|
41
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.5.0-<wbr/>tag-<wbr/>dev.2</span></a>
|
|
42
42
|
<ul class="tsd-small-nested-navigation">
|
|
43
43
|
<li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
|
|
44
44
|
<li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
|
|
@@ -73,5 +73,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
73
73
|
/**
|
|
74
74
|
* @description: 获取merge后的配置
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
protected calculateTagConfig(tag: Tag | TagInstance, params?: {
|
|
77
|
+
useCache?: boolean;
|
|
78
|
+
}): TagInstance['computedConfig'];
|
|
77
79
|
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var q = Object.defineProperty, K = Object.defineProperties;
|
|
2
|
+
var Q = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var R = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var w = (a, s, e) => s in a ?
|
|
4
|
+
var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var w = (a, s, e) => s in a ? q(a, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[s] = e, M = (a, s) => {
|
|
6
6
|
for (var e in s || (s = {}))
|
|
7
|
-
|
|
7
|
+
Y.call(s, e) && w(a, e, s[e]);
|
|
8
8
|
if (R)
|
|
9
9
|
for (var e of R(s))
|
|
10
|
-
|
|
10
|
+
Z.call(s, e) && w(a, e, s[e]);
|
|
11
11
|
return a;
|
|
12
|
-
},
|
|
12
|
+
}, B = (a, s) => K(a, Q(s));
|
|
13
13
|
var d = (a, s, e) => (w(a, typeof s != "symbol" ? s + "" : s, e), e);
|
|
14
|
-
import { defaultGlobalConfig as
|
|
14
|
+
import { defaultGlobalConfig as ee } from "../typings/tag/TagConfig.js";
|
|
15
15
|
import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
16
|
-
import * as
|
|
17
|
-
import { DefaultConfig as
|
|
16
|
+
import * as ie from "three";
|
|
17
|
+
import { DefaultConfig as te } from "../tag.config.js";
|
|
18
18
|
import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
|
|
19
19
|
import { planeNormal as E } from "../utils/planeNormal.js";
|
|
20
|
-
import { getTagCenterPosition as
|
|
21
|
-
import { normalPositionToPositions as
|
|
22
|
-
import { TagCache as
|
|
23
|
-
import { writable as
|
|
24
|
-
import { isIOSWX as
|
|
25
|
-
import { Five as
|
|
26
|
-
import { isMediaPlaneTag as
|
|
27
|
-
import { VideoPlane as
|
|
28
|
-
import { FiveDomEvents as
|
|
29
|
-
import
|
|
30
|
-
import { isPanoramaLike as A, isModelLike as
|
|
20
|
+
import { getTagCenterPosition as N } from "../utils/tagPosition.js";
|
|
21
|
+
import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
|
|
22
|
+
import { TagCache as re } from "./TagCache.js";
|
|
23
|
+
import { writable as ne } from "../../vendor/svelte/store/index.js";
|
|
24
|
+
import { isIOSWX as se } from "../../shared-utils/device.js";
|
|
25
|
+
import { Five as fe } from "@realsee/five";
|
|
26
|
+
import { isMediaPlaneTag as ae, isMediaModelTag as $, isPlaneTag as ce, isPoint3DTag as le } from "../utils/tag/tagCheck.js";
|
|
27
|
+
import { VideoPlane as de } from "../utils/model/mediaPlane.js";
|
|
28
|
+
import { FiveDomEvents as ue } from "../../shared-utils/five/FiveDomEvents.js";
|
|
29
|
+
import z from "../utils/tag/adaptConfig.js";
|
|
30
|
+
import { isPanoramaLike as A, isModelLike as H } from "../../shared-utils/five/mode.js";
|
|
31
31
|
import "hammerjs";
|
|
32
32
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
33
33
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
34
34
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
35
|
-
import { entries as
|
|
36
|
-
import { getUrlExt as
|
|
35
|
+
import { entries as J } from "../../shared-utils/typescript/entries.js";
|
|
36
|
+
import { getUrlExt as U } from "../../shared-utils/url/getUrl.js";
|
|
37
37
|
import { transformPosition as O } from "../../shared-utils/five/transformPosition.js";
|
|
38
38
|
import "../../shared-utils/three/centerPoint.js";
|
|
39
39
|
import "../../base/BasePlugin.js";
|
|
@@ -60,12 +60,12 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
60
60
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
61
61
|
import "../../shared-utils/three/getNormal.js";
|
|
62
62
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
63
|
-
class
|
|
63
|
+
class ai extends re {
|
|
64
64
|
constructor(e) {
|
|
65
65
|
super(e);
|
|
66
66
|
d(this, "tags", []);
|
|
67
|
-
d(this, "config",
|
|
68
|
-
d(this, "mediaStore",
|
|
67
|
+
d(this, "config", te);
|
|
68
|
+
d(this, "mediaStore", ne({
|
|
69
69
|
currentMediaElement: null
|
|
70
70
|
}));
|
|
71
71
|
/** css3DRenderPlugin */
|
|
@@ -76,7 +76,7 @@ class fi extends oe {
|
|
|
76
76
|
resizeObserverDisposerAdding: !1,
|
|
77
77
|
css3DRenderDisposer: /* @__PURE__ */ new Map()
|
|
78
78
|
});
|
|
79
|
-
d(this, "domEvents", new
|
|
79
|
+
d(this, "domEvents", new ue(this.five));
|
|
80
80
|
d(this, "_workCode");
|
|
81
81
|
d(this, "getObserverPosition", (e) => {
|
|
82
82
|
var o, t;
|
|
@@ -85,12 +85,12 @@ class fi extends oe {
|
|
|
85
85
|
return O(i.position, (t = this.work) == null ? void 0 : t.options.transform);
|
|
86
86
|
});
|
|
87
87
|
d(this, "loadVideoFirstFrame", () => {
|
|
88
|
-
|
|
88
|
+
se && this.hooks.emit("loadVideoFirstFrame");
|
|
89
89
|
});
|
|
90
90
|
this.mediaStore.subscribe(({ currentMediaElement: i }) => {
|
|
91
91
|
this.tags.forEach((o) => {
|
|
92
92
|
var t;
|
|
93
|
-
if (o.mediaPlane instanceof
|
|
93
|
+
if (o.mediaPlane instanceof de && i !== o.mediaPlane.videoInstance) {
|
|
94
94
|
if (!((t = o.mediaPlane.videoInstance) != null && t.src) || i === o.mediaPlane.videoInstance)
|
|
95
95
|
return;
|
|
96
96
|
o.mediaPlane.pause();
|
|
@@ -172,15 +172,15 @@ class fi extends oe {
|
|
|
172
172
|
return;
|
|
173
173
|
const t = e.data.mediaData;
|
|
174
174
|
if (!(!t || t.length === 0) && o.renderType === "Mesh") {
|
|
175
|
-
if (
|
|
175
|
+
if (ae(e)) {
|
|
176
176
|
if (t.length === 1) {
|
|
177
177
|
if (t[0].type === "Video")
|
|
178
178
|
return "Mesh";
|
|
179
179
|
if (t[0].type === "Image")
|
|
180
|
-
return
|
|
180
|
+
return U(t[0].url) === "gif" ? "Dom" : "Mesh";
|
|
181
181
|
}
|
|
182
|
-
} else if (
|
|
183
|
-
return t.length === 1 && t[0].type === "Image" ?
|
|
182
|
+
} else if ($(e))
|
|
183
|
+
return t.length === 1 && t[0].type === "Image" ? U(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
|
|
184
184
|
}
|
|
185
185
|
})();
|
|
186
186
|
return i != null ? i : "Dom";
|
|
@@ -202,10 +202,10 @@ class fi extends oe {
|
|
|
202
202
|
const r = (() => e.stickType === "3DPoint" ? C(e.normal) : E(e.position))();
|
|
203
203
|
if (!r)
|
|
204
204
|
return;
|
|
205
|
-
const f =
|
|
205
|
+
const f = N(e);
|
|
206
206
|
if (!f)
|
|
207
207
|
return;
|
|
208
|
-
const c = new
|
|
208
|
+
const c = new ie.Vector3().copy(n).sub(f), g = r.angleTo(c) * 180 / Math.PI;
|
|
209
209
|
return t.angle = g, t.angle;
|
|
210
210
|
}
|
|
211
211
|
}
|
|
@@ -213,10 +213,10 @@ class fi extends oe {
|
|
|
213
213
|
* @description: 获取距离
|
|
214
214
|
*/
|
|
215
215
|
getDistance(e, i) {
|
|
216
|
-
const o =
|
|
216
|
+
const o = M(M({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = o, r = A(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
|
|
217
217
|
if ((r == null ? void 0 : r.distance) !== void 0)
|
|
218
218
|
return r.distance;
|
|
219
|
-
const f =
|
|
219
|
+
const f = N(e);
|
|
220
220
|
if (!f)
|
|
221
221
|
return -1;
|
|
222
222
|
if (A(n)) {
|
|
@@ -226,16 +226,16 @@ class fi extends oe {
|
|
|
226
226
|
const g = c.distanceTo(f);
|
|
227
227
|
return r && (r.distance = g), g;
|
|
228
228
|
}
|
|
229
|
-
if (
|
|
229
|
+
if (H(n))
|
|
230
230
|
return this.five.camera.position.distanceTo(f);
|
|
231
231
|
}
|
|
232
232
|
getPositions(e) {
|
|
233
|
-
if (
|
|
233
|
+
if (ce(e))
|
|
234
234
|
return e.position;
|
|
235
|
-
if (
|
|
235
|
+
if ($(e))
|
|
236
236
|
return e.data.mediaPosition;
|
|
237
|
-
if (
|
|
238
|
-
return
|
|
237
|
+
if (le(e))
|
|
238
|
+
return oe(this.five.camera.position, C(e.position), C(e.normal));
|
|
239
239
|
}
|
|
240
240
|
addObjectClickHandler(e, i, o) {
|
|
241
241
|
if (!i || !this.domEvents)
|
|
@@ -300,16 +300,20 @@ class fi extends oe {
|
|
|
300
300
|
* @description: 获取merge后的配置
|
|
301
301
|
*/
|
|
302
302
|
calculateTagConfig(e, i) {
|
|
303
|
-
var j, S, I, W;
|
|
303
|
+
var j, S, I, W, F;
|
|
304
304
|
const o = (j = i == null ? void 0 : i.useCache) != null ? j : !0;
|
|
305
305
|
if (!e)
|
|
306
306
|
return (S = this.config.globalConfig) != null ? S : {};
|
|
307
|
-
if (o
|
|
308
|
-
|
|
307
|
+
if (o) {
|
|
308
|
+
if ((I = e == null ? void 0 : e.computedConfig) != null && I._isMerged)
|
|
309
|
+
return e.computedConfig;
|
|
310
|
+
if ((W = e == null ? void 0 : e.config) != null && W._isMerged)
|
|
311
|
+
return e.config;
|
|
312
|
+
}
|
|
309
313
|
const t = {}, n = {}, r = {};
|
|
310
314
|
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, p]) => {
|
|
311
|
-
var
|
|
312
|
-
const l = u, D = l.split("-"),
|
|
315
|
+
var L, _;
|
|
316
|
+
const l = u, D = l.split("-"), V = u.startsWith("["), T = V ? D[0].slice(1, -1) : void 0, h = V ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (L = n[T]) != null ? L : n[T] = {} : (_ = r[T]) != null ? _ : r[T] = {} : t;
|
|
313
317
|
if (!v[l]) {
|
|
314
318
|
if (h.length === 0 && (v[l] = p), h.length === 1) {
|
|
315
319
|
const [m] = h;
|
|
@@ -320,26 +324,26 @@ class fi extends oe {
|
|
|
320
324
|
m === "Mixin" && e.contentType === P && (v[l] = p), (e.stickType === m || m === "Any") && (e.contentType === P || P === "Any") && (v[l] = p);
|
|
321
325
|
}
|
|
322
326
|
if (h.length === 3) {
|
|
323
|
-
const [m = "Any", P,
|
|
327
|
+
const [m = "Any", P, X] = h;
|
|
324
328
|
if (P === "Audio" && e.contentType === "Audio") {
|
|
325
329
|
const x = e;
|
|
326
|
-
(x.stickType === m || m === "Any") && x.data.appearance ===
|
|
330
|
+
(x.stickType === m || m === "Any") && x.data.appearance === X && (v[l] = p);
|
|
327
331
|
}
|
|
328
332
|
}
|
|
329
333
|
}
|
|
330
334
|
});
|
|
331
|
-
const f = (
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
(u === "PanoramaLike" && A(l) || u === "ModelLike" &&
|
|
335
|
+
const f = (F = e.initialConfig) != null ? F : {}, c = y({}, ee, this.config.globalConfig, ...Object.values(t)), g = y({}, c, f), k = {}, G = Object.values(fe.Mode);
|
|
336
|
+
J(n).forEach(([u, p]) => {
|
|
337
|
+
G.forEach((l) => {
|
|
338
|
+
(u === "PanoramaLike" && A(l) || u === "ModelLike" && H(l)) && (k[l] = y({}, c, ...Object.values(p), f, { _isMerged: !0 }));
|
|
335
339
|
});
|
|
336
|
-
}),
|
|
337
|
-
k[u] = y({}, c, ...Object.values(p), f);
|
|
340
|
+
}), J(r).forEach(([u, p]) => {
|
|
341
|
+
k[u] = y({}, c, ...Object.values(p), f, { _isMerged: !0 });
|
|
338
342
|
});
|
|
339
|
-
const
|
|
340
|
-
return
|
|
343
|
+
const b = B(M({}, g), { configWithFiveMode: k });
|
|
344
|
+
return z(b, e), Object.values(k).forEach((u) => z(u, e)), b._isMerged = !0, b;
|
|
341
345
|
}
|
|
342
346
|
}
|
|
343
347
|
export {
|
|
344
|
-
|
|
348
|
+
ai as TagUtil
|
|
345
349
|
};
|
|
@@ -2,7 +2,7 @@ var E = Object.defineProperty, U = Object.defineProperties;
|
|
|
2
2
|
var I = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var A = Object.getOwnPropertySymbols;
|
|
4
4
|
var R = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var u = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e,
|
|
5
|
+
var u = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, g = (d, a) => {
|
|
6
6
|
for (var e in a || (a = {}))
|
|
7
7
|
R.call(a, e) && u(d, e, a[e]);
|
|
8
8
|
if (A)
|
|
@@ -11,7 +11,7 @@ var u = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return d;
|
|
12
12
|
}, v = (d, a) => U(d, I(a));
|
|
13
13
|
var l = (d, a, e) => (u(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
|
-
var
|
|
14
|
+
var c = (d, a, e) => new Promise((t, i) => {
|
|
15
15
|
var s = (r) => {
|
|
16
16
|
try {
|
|
17
17
|
n(e.next(r));
|
|
@@ -29,15 +29,15 @@ var f = (d, a, e) => new Promise((t, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
import * as b from "three";
|
|
31
31
|
import { Subscribe as F } from "@realsee/five";
|
|
32
|
-
import { objectAssignDeepExports as
|
|
32
|
+
import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
33
33
|
import { addDebugPoints as M } from "../utils/addDebugPoints.js";
|
|
34
34
|
import { arrayPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
|
|
35
|
-
import { isMediaModelTag as
|
|
36
|
-
import { debounce as
|
|
35
|
+
import { isMediaModelTag as O, isModelTag as _ } from "../utils/tag/tagCheck.js";
|
|
36
|
+
import { debounce as k } from "../utils/debounce.js";
|
|
37
37
|
import { throttle as V } from "../utils/throttle.js";
|
|
38
38
|
import { resizeObserver as D } from "../utils/resizeObserver.js";
|
|
39
39
|
import L from "../utils/tag/format.js";
|
|
40
|
-
import { generateBlankAudio as
|
|
40
|
+
import { generateBlankAudio as N, AudioNamespace as G } from "../../shared-utils/audio.js";
|
|
41
41
|
import { TagRender as z } from "./TagRender.js";
|
|
42
42
|
import { uuid as x } from "../../shared-utils/uuid.js";
|
|
43
43
|
import { isModelLike as $ } from "../../shared-utils/five/mode.js";
|
|
@@ -46,7 +46,7 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
46
46
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
47
47
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
48
48
|
import { tweenProgress as W } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
49
|
-
import { waitFiveModelLoaded as
|
|
49
|
+
import { waitFiveModelLoaded as J } from "../../shared-utils/five/fiveModelLoad.js";
|
|
50
50
|
import "./TagComputer.js";
|
|
51
51
|
import "../utils/tagPosition.js";
|
|
52
52
|
import "../../shared-utils/three/centerPoint.js";
|
|
@@ -169,8 +169,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
169
169
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
170
170
|
import "@realsee/five/gltf-loader";
|
|
171
171
|
import "../../shared-utils/animationFrame/index.js";
|
|
172
|
-
const S = "Dnalogel-PanoTagPlugin",
|
|
173
|
-
class
|
|
172
|
+
const S = "Dnalogel-PanoTagPlugin", Ui = (d) => `${S}--${d}`;
|
|
173
|
+
class Ii extends z {
|
|
174
174
|
constructor(e, t) {
|
|
175
175
|
super(e);
|
|
176
176
|
/** state */
|
|
@@ -180,8 +180,8 @@ class Ui extends z {
|
|
|
180
180
|
/** debug */
|
|
181
181
|
l(this, "debug");
|
|
182
182
|
/** 更改 tag 模型 */
|
|
183
|
-
l(this, "changeTagModel", (e, t) =>
|
|
184
|
-
e.data =
|
|
183
|
+
l(this, "changeTagModel", (e, t) => c(this, null, function* () {
|
|
184
|
+
e.data = f({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
|
|
185
185
|
}));
|
|
186
186
|
l(this, "whyHide", (e) => {
|
|
187
187
|
var i, s, o;
|
|
@@ -205,7 +205,7 @@ class Ui extends z {
|
|
|
205
205
|
l(this, "updateVisible", () => {
|
|
206
206
|
const e = this.five.getCurrentState().mode;
|
|
207
207
|
this.tags.forEach((t) => {
|
|
208
|
-
|
|
208
|
+
O(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
|
|
209
209
|
}), this.setVisible(), this.updateRenderAllTags();
|
|
210
210
|
});
|
|
211
211
|
l(this, "handleFiveWantsMoveToPano", (e) => {
|
|
@@ -244,10 +244,10 @@ class Ui extends z {
|
|
|
244
244
|
l(this, "handleFiveCameraUpdate", () => {
|
|
245
245
|
this.updatePointTagPosition();
|
|
246
246
|
});
|
|
247
|
-
l(this, "handleFivePanoArrived", () =>
|
|
247
|
+
l(this, "handleFivePanoArrived", () => c(this, null, function* () {
|
|
248
248
|
this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
|
|
249
|
-
e.temporaryState = v(
|
|
250
|
-
}), this.tags.filter(
|
|
249
|
+
e.temporaryState = v(g({}, e.temporaryState), { visible: !0 });
|
|
250
|
+
}), this.tags.filter(_).filter((e) => {
|
|
251
251
|
var t;
|
|
252
252
|
return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
|
|
253
253
|
}).forEach((e) => {
|
|
@@ -259,8 +259,8 @@ class Ui extends z {
|
|
|
259
259
|
const s = this.five.camera.position;
|
|
260
260
|
t.lookAt(s.clone().setY(t.position.y));
|
|
261
261
|
const o = i.quaternion.clone(), n = t.quaternion.clone(), r = W();
|
|
262
|
-
r.onUpdate(({ progress:
|
|
263
|
-
i.quaternion.copy(o.clone().slerp(n,
|
|
262
|
+
r.onUpdate(({ progress: p }) => {
|
|
263
|
+
i.quaternion.copy(o.clone().slerp(n, p));
|
|
264
264
|
}), r.play();
|
|
265
265
|
}), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
|
|
266
266
|
}));
|
|
@@ -271,7 +271,7 @@ class Ui extends z {
|
|
|
271
271
|
l(this, "onFiveEveryReady", () => {
|
|
272
272
|
this.setUnfoldedByCamera(), $(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
|
|
273
273
|
});
|
|
274
|
-
this.params =
|
|
274
|
+
this.params = f({}, { debug: !1, config: this.config }, g({}, t)), this.debug = this.params.debug, this.config = this.params.config, N(1, { namespace: G.PlayAudio });
|
|
275
275
|
try {
|
|
276
276
|
const i = window;
|
|
277
277
|
Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
|
|
@@ -282,9 +282,9 @@ class Ui extends z {
|
|
|
282
282
|
* @description: 加载数据
|
|
283
283
|
*/
|
|
284
284
|
load(e, t) {
|
|
285
|
-
return
|
|
285
|
+
return c(this, null, function* () {
|
|
286
286
|
var s, o;
|
|
287
|
-
this.clearTags(), console.debug(S, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config =
|
|
287
|
+
this.clearTags(), console.debug(S, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = f({}, this.config, {
|
|
288
288
|
globalConfig: (s = e.globalConfig) != null ? s : {},
|
|
289
289
|
contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
|
|
290
290
|
});
|
|
@@ -302,26 +302,27 @@ class Ui extends z {
|
|
|
302
302
|
* @description: 添加标签
|
|
303
303
|
*/
|
|
304
304
|
addTag(e, t) {
|
|
305
|
-
return
|
|
305
|
+
return c(this, null, function* () {
|
|
306
306
|
const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
307
307
|
var T, y, C;
|
|
308
|
-
const n =
|
|
309
|
-
return o.config =
|
|
308
|
+
const n = JSON.parse(JSON.stringify(o.data)), r = o.config ? JSON.parse(JSON.stringify(o.config)) : void 0, h = this.calculateTagConfig(o), p = this.getTagConfig(o);
|
|
309
|
+
return o.config = p, v(g({}, o), {
|
|
310
310
|
enabled: (T = o.enabled) != null ? T : !0,
|
|
311
311
|
id: (y = o.id) != null ? y : x(),
|
|
312
|
-
data: (C =
|
|
313
|
-
state:
|
|
312
|
+
data: (C = p.initialData) != null && C.important ? f(o.data, n, p.initialData) : f(o.data, p.initialData, n),
|
|
313
|
+
state: g({
|
|
314
314
|
visible: void 0,
|
|
315
315
|
unfolded: !this.can("fold", o)
|
|
316
|
-
},
|
|
316
|
+
}, p.initialState),
|
|
317
317
|
hooks: new F(),
|
|
318
318
|
originPosition: o.position,
|
|
319
319
|
position: (() => {
|
|
320
320
|
const m = this.getTransformedPostion(o.position);
|
|
321
321
|
return Array.isArray(m) ? m.map((w) => w.toArray()) : m.toArray();
|
|
322
322
|
})(),
|
|
323
|
-
initialConfig:
|
|
324
|
-
|
|
323
|
+
initialConfig: r,
|
|
324
|
+
computedConfig: h,
|
|
325
|
+
config: p,
|
|
325
326
|
unfold: () => this.changeUnfoldedById(o.id, !0),
|
|
326
327
|
fold: () => this.changeUnfoldedById(o.id, !1),
|
|
327
328
|
enable: () => this.changeEnabledById(o.id, !0),
|
|
@@ -330,7 +331,7 @@ class Ui extends z {
|
|
|
330
331
|
changeData: (m) => this.changeDataById(o.id, m)
|
|
331
332
|
});
|
|
332
333
|
});
|
|
333
|
-
return s.forEach(L), this.tags.push(...s),
|
|
334
|
+
return s.forEach(L), this.tags.push(...s), J(this.five).then(() => c(this, null, function* () {
|
|
334
335
|
var o, n, r;
|
|
335
336
|
this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
|
|
336
337
|
}));
|
|
@@ -340,22 +341,22 @@ class Ui extends z {
|
|
|
340
341
|
* @description: 改变配置
|
|
341
342
|
*/
|
|
342
343
|
changeConfig(e, t = !0) {
|
|
343
|
-
t ? this.config =
|
|
344
|
+
t ? this.config = f({}, this.config, e) : this.config = e, this.updateTagConfig(), this.updateRenderAllTags();
|
|
344
345
|
}
|
|
345
346
|
/**
|
|
346
347
|
* @description: 改变全局配置
|
|
347
348
|
*/
|
|
348
349
|
changeGlobalConfig(e, t = !0) {
|
|
349
|
-
t ? this.config.globalConfig =
|
|
350
|
+
t ? this.config.globalConfig = f({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.updateRenderAllTags();
|
|
350
351
|
}
|
|
351
352
|
/**
|
|
352
353
|
* @description: 改变类型配置
|
|
353
354
|
*/
|
|
354
355
|
changeContentTypeConfig(e, t, i = !0) {
|
|
355
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] =
|
|
356
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = f({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.updateRenderAllTags();
|
|
356
357
|
}
|
|
357
358
|
show(e) {
|
|
358
|
-
return
|
|
359
|
+
return c(this, null, function* () {
|
|
359
360
|
if (this.checkDisposed())
|
|
360
361
|
return;
|
|
361
362
|
const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
|
|
@@ -363,7 +364,7 @@ class Ui extends z {
|
|
|
363
364
|
});
|
|
364
365
|
}
|
|
365
366
|
hide(e) {
|
|
366
|
-
return
|
|
367
|
+
return c(this, null, function* () {
|
|
367
368
|
if (this.checkDisposed())
|
|
368
369
|
return;
|
|
369
370
|
const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
|
|
@@ -385,7 +386,7 @@ class Ui extends z {
|
|
|
385
386
|
setState(e, t) {
|
|
386
387
|
if (this.checkDisposed())
|
|
387
388
|
return;
|
|
388
|
-
const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o =
|
|
389
|
+
const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = g({}, this.state);
|
|
389
390
|
this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = s, o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
|
|
390
391
|
}
|
|
391
392
|
/**
|
|
@@ -428,7 +429,7 @@ class Ui extends z {
|
|
|
428
429
|
changeDataById(e, t, i = !0) {
|
|
429
430
|
const s = this.getTagById(e);
|
|
430
431
|
let o = !1;
|
|
431
|
-
s && (s.data && (o = !0), i ? s.data =
|
|
432
|
+
s && (s.data && (o = !0), i ? s.data = f(s.data, t) : s.data = g(g({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
|
|
432
433
|
}
|
|
433
434
|
/**
|
|
434
435
|
* @description: 改变tag的stickType
|
|
@@ -442,7 +443,7 @@ class Ui extends z {
|
|
|
442
443
|
changeTagById(e, t, i = !0) {
|
|
443
444
|
const s = this.getTagById(e);
|
|
444
445
|
let o = !1;
|
|
445
|
-
t && (t.data && (o = !0), i ?
|
|
446
|
+
t && (t.data && (o = !0), i ? f(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = P(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
|
|
446
447
|
}
|
|
447
448
|
/**
|
|
448
449
|
* @description: 销毁tag
|
|
@@ -457,7 +458,7 @@ class Ui extends z {
|
|
|
457
458
|
* @description: 设置 visible 和 unfolded
|
|
458
459
|
*/
|
|
459
460
|
setVisibleAndUnfolded() {
|
|
460
|
-
return
|
|
461
|
+
return c(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
|
|
461
462
|
return this.setVisible(), e ? new Promise((t) => {
|
|
462
463
|
setTimeout(() => {
|
|
463
464
|
this.setUnfoldedByPanoIndex(), t();
|
|
@@ -520,7 +521,7 @@ class Ui extends z {
|
|
|
520
521
|
}, 500),
|
|
521
522
|
e
|
|
522
523
|
), { observe: n, unobserve: r } = D(
|
|
523
|
-
|
|
524
|
+
k(() => t(), 400),
|
|
524
525
|
e
|
|
525
526
|
);
|
|
526
527
|
return s(), n(), () => {
|
|
@@ -539,11 +540,11 @@ class Ui extends z {
|
|
|
539
540
|
}
|
|
540
541
|
changeTagMode(e, t) {
|
|
541
542
|
var i, s, o, n, r, h;
|
|
542
|
-
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((
|
|
543
|
+
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((p) => p == null ? void 0 : p()), e.tag3DContentSvelte = void 0);
|
|
543
544
|
}
|
|
544
545
|
}
|
|
545
546
|
export {
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
547
|
+
Ii as PanoTagPluginController,
|
|
548
|
+
Ii as default,
|
|
549
|
+
Ui as pluginFlag
|
|
549
550
|
};
|
|
@@ -43,7 +43,8 @@ export type TagInstance<C extends TagContentType = TagContentType, S extends Sti
|
|
|
43
43
|
visible?: boolean;
|
|
44
44
|
unfolded: boolean;
|
|
45
45
|
};
|
|
46
|
-
config: TagConfig<C
|
|
46
|
+
config: TagConfig<C>;
|
|
47
|
+
computedConfig: TagConfig<C> & {
|
|
47
48
|
configWithFiveMode?: {
|
|
48
49
|
[key in Mode]?: TagConfig<C>;
|
|
49
50
|
};
|