@realsee/dnalogel 3.20.1 → 3.20.3
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/index.cjs.js +27 -27
- package/dist/index.js +1773 -1728
- package/dist/index.umd.js +28 -28
- 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/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/MoveController.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 +5 -5
- 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/classes/WalkController.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/MovePlugin.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.ItemRenderer.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/InternalHelperEventMap.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 +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 +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/Components/Common/Media.js +155 -145
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +215 -186
- package/libs/PanoTagPlugin/controller/TagComputer.js +33 -27
- package/libs/PanoTagPlugin/controller/TagUtil.js +38 -38
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
1
|
+
var $ = Object.defineProperty, A = Object.defineProperties;
|
|
2
2
|
var E = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var T = Object.getOwnPropertySymbols;
|
|
4
4
|
var L = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var D = (b, e, i) => e in b ? $(b, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : b[e] = i, x = (b, e) => {
|
|
6
6
|
for (var i in e || (e = {}))
|
|
7
|
-
L.call(e, i) &&
|
|
7
|
+
L.call(e, i) && D(b, i, e[i]);
|
|
8
8
|
if (T)
|
|
9
9
|
for (var i of T(e))
|
|
10
|
-
_.call(e, i) &&
|
|
10
|
+
_.call(e, i) && D(b, i, e[i]);
|
|
11
11
|
return b;
|
|
12
|
-
},
|
|
12
|
+
}, M = (b, e) => A(b, E(e));
|
|
13
13
|
import * as F from "three";
|
|
14
|
-
import { is3DTag as O, isMediaModelTag as
|
|
14
|
+
import { is3DTag as O, isMediaModelTag as U } from "../utils/tag/tagCheck.js";
|
|
15
15
|
import { getTagCenterPosition as C, getTagPosition as z } from "../utils/tagPosition.js";
|
|
16
16
|
import { checkRange as h } from "../utils/checkRange.js";
|
|
17
17
|
import { isPanoramaLike as y, isModelLike as Z } from "../../shared-utils/five/mode.js";
|
|
@@ -81,18 +81,22 @@ class Qe extends H {
|
|
|
81
81
|
return d.visible;
|
|
82
82
|
{
|
|
83
83
|
const s = [], c = (() => {
|
|
84
|
-
var r, a, u,
|
|
84
|
+
var r, a, u, p, v, g, P;
|
|
85
85
|
const n = (r = this.getTagConfig(e).visibleConfig) != null ? r : {};
|
|
86
86
|
if (typeof n == "function")
|
|
87
|
-
return {
|
|
87
|
+
return {
|
|
88
|
+
value: n(this.five, { tag: e, distance: this.getDistance(e, f) }),
|
|
89
|
+
checkedList: s,
|
|
90
|
+
reason: "config function result"
|
|
91
|
+
};
|
|
88
92
|
if (n.keep === "hidden")
|
|
89
93
|
return { value: !1, checkedList: s, reason: "config.keep is hidden" };
|
|
90
94
|
if (n.keep === "visible")
|
|
91
95
|
return { value: !0, checkedList: s, reason: "config.keep is visible" };
|
|
92
96
|
if (n.visibleFiveMode !== void 0) {
|
|
93
97
|
const l = typeof n.visibleFiveMode == "function" ? n.visibleFiveMode(e) : n.visibleFiveMode;
|
|
94
|
-
let
|
|
95
|
-
if (Array.isArray(l) ?
|
|
98
|
+
let m = !1;
|
|
99
|
+
if (Array.isArray(l) ? m = l.includes(o) : l === "ModelLike" ? m = Z(o) : l === "PanoramaLike" ? m = !y(o) : l === "all" ? m = !0 : typeof l == "string" && (m = l === o), m === !1)
|
|
96
100
|
return {
|
|
97
101
|
value: !1,
|
|
98
102
|
checkedList: s,
|
|
@@ -100,7 +104,7 @@ class Qe extends H {
|
|
|
100
104
|
visibleFiveMode: n.visibleFiveMode,
|
|
101
105
|
mode: o
|
|
102
106
|
};
|
|
103
|
-
} else if (n.visibleFiveMode === void 0 && ((a = this.five.getCurrentState()) == null ? void 0 : a.mode) !== ((
|
|
107
|
+
} else if (n.visibleFiveMode === void 0 && ((a = this.five.getCurrentState()) == null ? void 0 : a.mode) !== ((p = (u = e.fiveState) == null ? void 0 : u.mode) != null ? p : "Panorama"))
|
|
104
108
|
return {
|
|
105
109
|
value: !1,
|
|
106
110
|
checkedList: s,
|
|
@@ -125,17 +129,19 @@ class Qe extends H {
|
|
|
125
129
|
};
|
|
126
130
|
}
|
|
127
131
|
if (n.visibleDistance !== void 0 && (s.push("visibleDistance"), n.visibleDistance !== "unLimited")) {
|
|
128
|
-
const l = this.getDistance(e);
|
|
132
|
+
const l = this.getDistance(e, f);
|
|
129
133
|
if (h(l, n.visibleDistance) === !1)
|
|
130
134
|
return {
|
|
131
135
|
value: !1,
|
|
132
136
|
checkedList: s,
|
|
133
|
-
|
|
137
|
+
panoIndex: t,
|
|
138
|
+
visibleDistance: n.visibleDistance,
|
|
139
|
+
reason: `distance is not in visibleDistance. distance: ${l}, visibleDistance: ${n.visibleDistance.min} - ${n.visibleDistance.max}`
|
|
134
140
|
};
|
|
135
141
|
}
|
|
136
142
|
if (y(o) && n.angleRange && O(e)) {
|
|
137
143
|
s.push("angleRange");
|
|
138
|
-
const l = this.getAngle(e);
|
|
144
|
+
const l = this.getAngle(e, t);
|
|
139
145
|
if (h(l, n.angleRange) === !1)
|
|
140
146
|
return { value: !1, checkedList: s, reason: `angle is not in angleRange. angle: ${l}, angleRange: ${n.angleRange}` };
|
|
141
147
|
}
|
|
@@ -174,12 +180,12 @@ class Qe extends H {
|
|
|
174
180
|
return;
|
|
175
181
|
const d = (() => {
|
|
176
182
|
if (typeof o == "function")
|
|
177
|
-
return o(this.five, { tag: e, distance: this.getDistance(e) });
|
|
183
|
+
return o(this.five, { tag: e, distance: this.getDistance(e, { panoIndex: i }) });
|
|
178
184
|
if (o.keep === "folded")
|
|
179
185
|
return !1;
|
|
180
186
|
if (o.keep === "unfolded")
|
|
181
187
|
return !0;
|
|
182
|
-
if (o.unfoldDistance && h(this.getDistance(e), o.unfoldDistance) === !1)
|
|
188
|
+
if (o.unfoldDistance && h(this.getDistance(e, { panoIndex: i }), o.unfoldDistance) === !1)
|
|
183
189
|
return !1;
|
|
184
190
|
})();
|
|
185
191
|
t.unfolded = d;
|
|
@@ -213,12 +219,12 @@ class Qe extends H {
|
|
|
213
219
|
const a = this.getTagProject(r);
|
|
214
220
|
if (!a)
|
|
215
221
|
return !1;
|
|
216
|
-
const { x: u, y:
|
|
217
|
-
return !(Math.abs(v) > 1 || Math.abs(u) > 1 || Math.abs(
|
|
222
|
+
const { x: u, y: p, z: v } = a;
|
|
223
|
+
return !(Math.abs(v) > 1 || Math.abs(u) > 1 || Math.abs(p) > 1);
|
|
218
224
|
}).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: a }) => {
|
|
219
|
-
var u,
|
|
220
|
-
return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((u = a.autoUnfold) == null ? void 0 : u.enable) === !1 || ((
|
|
221
|
-
}).map((r) =>
|
|
225
|
+
var u, p;
|
|
226
|
+
return !(typeof a == "function" || a.keep || a.autoUnfold === !1 || ((u = a.autoUnfold) == null ? void 0 : u.enable) === !1 || ((p = a.autoUnfold) == null ? void 0 : p.strategy) !== "MinimumDistance");
|
|
227
|
+
}).map((r) => M(x({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: a }) => {
|
|
222
228
|
const u = a.autoUnfold.distance;
|
|
223
229
|
return !(u && h(r, u) === !1);
|
|
224
230
|
}).sort((r, a) => r.distance - a.distance).findIndex((r) => r.id === e.id);
|
|
@@ -266,7 +272,7 @@ class Qe extends H {
|
|
|
266
272
|
}
|
|
267
273
|
/** 通过射线检测标签可用性 */
|
|
268
274
|
getTagEnableByIntersect(e, i) {
|
|
269
|
-
var n, r, a, u,
|
|
275
|
+
var n, r, a, u, p;
|
|
270
276
|
const f = R(R((n = this.getTagConfig(e).visibleConfig) != null ? n : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, o = y(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
|
|
271
277
|
if (o === void 0)
|
|
272
278
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
|
|
@@ -281,17 +287,17 @@ class Qe extends H {
|
|
|
281
287
|
for (const v of d) {
|
|
282
288
|
const g = new F.Vector3().subVectors(v, o).normalize();
|
|
283
289
|
I.set(o, g);
|
|
284
|
-
const P = o.distanceTo(v), [l] = this.five.model.intersectRaycaster(I),
|
|
285
|
-
if (!
|
|
290
|
+
const P = o.distanceTo(v), [l] = this.five.model.intersectRaycaster(I), m = (() => {
|
|
291
|
+
if (!U(e))
|
|
286
292
|
return;
|
|
287
|
-
const V = this.tags.filter(
|
|
293
|
+
const V = this.tags.filter(U).map((B) => {
|
|
288
294
|
var k;
|
|
289
295
|
return (k = B.model) == null ? void 0 : k.object;
|
|
290
296
|
}).filter(q), [w] = I.intersectObjects(V, !0);
|
|
291
297
|
return w;
|
|
292
298
|
})(), S = (r = f.distanceAccuracy) != null ? r : 0.01;
|
|
293
|
-
Math.min((a = l == null ? void 0 : l.distance) != null ? a : 1 / 0, (u =
|
|
294
|
-
const j = (
|
|
299
|
+
Math.min((a = l == null ? void 0 : l.distance) != null ? a : 1 / 0, (u = m == null ? void 0 : m.distance) != null ? u : 1 / 0) + S >= P ? s++ : c++;
|
|
300
|
+
const j = (p = f.needPassed) != null ? p : 1;
|
|
295
301
|
if (s >= j)
|
|
296
302
|
return { value: !0 };
|
|
297
303
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var q = Object.defineProperty, K = Object.defineProperties;
|
|
2
2
|
var Q = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var U = Object.getOwnPropertySymbols;
|
|
4
4
|
var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var w = (l, s, e) => s in l ? q(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e,
|
|
5
|
+
var w = (l, s, e) => s in l ? q(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, b = (l, s) => {
|
|
6
6
|
for (var e in s || (s = {}))
|
|
7
7
|
Y.call(s, e) && w(l, e, s[e]);
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
8
|
+
if (U)
|
|
9
|
+
for (var e of U(s))
|
|
10
10
|
Z.call(s, e) && w(l, e, s[e]);
|
|
11
11
|
return l;
|
|
12
12
|
}, R = (l, s) => K(l, Q(s));
|
|
@@ -23,7 +23,7 @@ import { TagCache as re } from "./TagCache.js";
|
|
|
23
23
|
import { writable as ne } from "../../vendor/svelte/store/index.js";
|
|
24
24
|
import { isIOSWX as se } from "../../shared-utils/device.js";
|
|
25
25
|
import { Five as fe } from "@realsee/five";
|
|
26
|
-
import { isMediaPlaneTag as le, isMediaModelTag as B, isPlaneTag as
|
|
26
|
+
import { isMediaPlaneTag as le, isMediaModelTag as B, isPlaneTag as ae, isPoint3DTag as ce } from "../utils/tag/tagCheck.js";
|
|
27
27
|
import { VideoPlane as de } from "../utils/model/mediaPlane.js";
|
|
28
28
|
import { FiveDomEvents as ue } from "../../shared-utils/five/FiveDomEvents.js";
|
|
29
29
|
import N from "../utils/tag/adaptConfig.js";
|
|
@@ -116,9 +116,9 @@ class di extends re {
|
|
|
116
116
|
* @description: 获取标签配置
|
|
117
117
|
*/
|
|
118
118
|
getTagConfig(e, i) {
|
|
119
|
-
var n, f,
|
|
119
|
+
var n, f, a;
|
|
120
120
|
const o = this.calculateTagConfig(e, { useCache: i == null ? void 0 : i.useCache }), t = (n = i == null ? void 0 : i.fiveMode) != null ? n : this.five.getCurrentState().mode, r = (f = o.configWithFiveMode) == null ? void 0 : f[t];
|
|
121
|
-
return (
|
|
121
|
+
return (a = r != null ? r : o) != null ? a : {};
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* @description 获取标签当前状态
|
|
@@ -168,7 +168,7 @@ class di extends re {
|
|
|
168
168
|
if (le(e)) {
|
|
169
169
|
if (t.length === 1) {
|
|
170
170
|
if (t[0].type === "Video")
|
|
171
|
-
return "Mesh";
|
|
171
|
+
return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
|
|
172
172
|
if (t[0].type === "Image")
|
|
173
173
|
return H(t[0].url) === "gif" ? "Dom" : "Mesh";
|
|
174
174
|
}
|
|
@@ -198,36 +198,36 @@ class di extends re {
|
|
|
198
198
|
const f = _(e);
|
|
199
199
|
if (!f)
|
|
200
200
|
return;
|
|
201
|
-
const
|
|
202
|
-
return t.angle =
|
|
201
|
+
const a = new ie.Vector3().copy(r).sub(f), h = n.angleTo(a) * 180 / Math.PI;
|
|
202
|
+
return t.angle = h, t.angle;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
206
206
|
* @description: 获取距离
|
|
207
207
|
*/
|
|
208
208
|
getDistance(e, i) {
|
|
209
|
-
const o =
|
|
209
|
+
const o = b(b({}, this.five.getCurrentState()), i), { panoIndex: t, mode: r } = o, n = A(r) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
|
|
210
210
|
if ((n == null ? void 0 : n.distance) !== void 0)
|
|
211
211
|
return n.distance;
|
|
212
212
|
const f = _(e);
|
|
213
213
|
if (!f)
|
|
214
214
|
return -1;
|
|
215
215
|
if (A(r)) {
|
|
216
|
-
const
|
|
217
|
-
if (
|
|
216
|
+
const a = this.workUtil.getObserverPosition(t);
|
|
217
|
+
if (a === void 0)
|
|
218
218
|
return -1;
|
|
219
|
-
const
|
|
220
|
-
return n && (n.distance =
|
|
219
|
+
const h = a.distanceTo(f);
|
|
220
|
+
return n && (n.distance = h), h;
|
|
221
221
|
}
|
|
222
222
|
if ($(r))
|
|
223
223
|
return this.five.camera.position.distanceTo(f);
|
|
224
224
|
}
|
|
225
225
|
getPositions(e) {
|
|
226
|
-
if (
|
|
226
|
+
if (ae(e))
|
|
227
227
|
return e.position;
|
|
228
228
|
if (B(e))
|
|
229
229
|
return e.data.mediaPosition;
|
|
230
|
-
if (
|
|
230
|
+
if (ce(e))
|
|
231
231
|
return oe(this.five.camera.position, C(e.position), C(e.normal));
|
|
232
232
|
}
|
|
233
233
|
addObjectClickHandler(e, i, o) {
|
|
@@ -292,48 +292,48 @@ class di extends re {
|
|
|
292
292
|
* @description: 获取merge后的配置
|
|
293
293
|
*/
|
|
294
294
|
calculateTagConfig(e, i) {
|
|
295
|
-
var O, j, S,
|
|
295
|
+
var O, j, S, x, F;
|
|
296
296
|
const o = (O = i == null ? void 0 : i.useCache) != null ? O : !0;
|
|
297
297
|
if (!e)
|
|
298
298
|
return (j = this.config.globalConfig) != null ? j : {};
|
|
299
299
|
if (o) {
|
|
300
300
|
if ((S = e == null ? void 0 : e.computedConfig) != null && S._isMerged)
|
|
301
301
|
return e.computedConfig;
|
|
302
|
-
if ((
|
|
302
|
+
if ((x = e == null ? void 0 : e.config) != null && x._isMerged)
|
|
303
303
|
return e.config;
|
|
304
304
|
}
|
|
305
305
|
const t = {}, r = {}, n = {};
|
|
306
306
|
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([d, u]) => {
|
|
307
|
-
var
|
|
308
|
-
const
|
|
309
|
-
if (!v[
|
|
310
|
-
if (
|
|
311
|
-
const [m] =
|
|
312
|
-
(e.contentType === m || m === "Any") && (v[
|
|
307
|
+
var W, L;
|
|
308
|
+
const c = d, D = c.split("-"), I = d.startsWith("["), T = I ? D[0].slice(1, -1) : void 0, g = I ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (W = r[T]) != null ? W : r[T] = {} : (L = n[T]) != null ? L : n[T] = {} : t;
|
|
309
|
+
if (!v[c]) {
|
|
310
|
+
if (g.length === 0 && (v[c] = u), g.length === 1) {
|
|
311
|
+
const [m] = g;
|
|
312
|
+
(e.contentType === m || m === "Any") && (v[c] = u);
|
|
313
313
|
}
|
|
314
|
-
if (
|
|
315
|
-
const [m = "Any", P = "Any"] =
|
|
316
|
-
m === "Mixin" && e.contentType === P && (v[
|
|
314
|
+
if (g.length === 2) {
|
|
315
|
+
const [m = "Any", P = "Any"] = g;
|
|
316
|
+
m === "Mixin" && e.contentType === P && (v[c] = u), (e.stickType === m || m === "Any") && (e.contentType === P || P === "Any") && (v[c] = u);
|
|
317
317
|
}
|
|
318
|
-
if (
|
|
319
|
-
const [m = "Any", P, X] =
|
|
318
|
+
if (g.length === 3) {
|
|
319
|
+
const [m = "Any", P, X] = g;
|
|
320
320
|
if (P === "Audio" && e.contentType === "Audio") {
|
|
321
|
-
const
|
|
322
|
-
(
|
|
321
|
+
const V = e;
|
|
322
|
+
(V.stickType === m || m === "Any") && V.data.appearance === X && (v[c] = u);
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
});
|
|
327
|
-
const f = (
|
|
327
|
+
const f = (F = e.initialConfig) != null ? F : {}, a = y({}, ee, this.config.globalConfig, ...Object.values(t)), h = y({}, a, f), M = {}, G = Object.values(fe.Mode);
|
|
328
328
|
z(r).forEach(([d, u]) => {
|
|
329
|
-
G.forEach((
|
|
330
|
-
(d === "PanoramaLike" && A(
|
|
329
|
+
G.forEach((c) => {
|
|
330
|
+
(d === "PanoramaLike" && A(c) || d === "ModelLike" && $(c)) && (M[c] = y({}, a, ...Object.values(u), f, { _isMerged: !0 }));
|
|
331
331
|
});
|
|
332
332
|
}), z(n).forEach(([d, u]) => {
|
|
333
|
-
M[d] = y({},
|
|
333
|
+
M[d] = y({}, a, ...Object.values(u), f, { _isMerged: !0 });
|
|
334
334
|
});
|
|
335
|
-
const
|
|
336
|
-
return N(
|
|
335
|
+
const k = R(b({}, h), { configWithFiveMode: M });
|
|
336
|
+
return N(k), Object.values(M).forEach((d) => N(d)), k._isMerged = !0, k;
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
339
|
export {
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.20.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.20.3",
|
|
4
4
|
[
|
|
5
5
|
"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=')",
|
|
6
6
|
"background-repeat: no-repeat",
|