@realsee/dnalogel 3.21.0 → 3.21.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/README.md +1 -0
- package/dist/index.cjs.js +4 -4
- package/dist/index.js +6 -5
- package/dist/index.umd.js +4 -4
- package/dist/shared-utils/audio.d.ts +3 -1
- 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/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 +3 -3
- package/docs/classes/Sculpt.html +3 -3
- 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 +5 -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/AddObject3DHelperConfig.html +3 -3
- 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/PositionFrom.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/ScaleCallback.html +3 -3
- package/docs/types/ScalePosition.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/PanoMeasurePlugin/Controller/index.js +67 -67
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/audio.d.ts +3 -1
- package/libs/shared-utils/audio.js +4 -3
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
1
|
+
var I = Object.defineProperty;
|
|
2
2
|
var w = Object.getOwnPropertySymbols;
|
|
3
3
|
var T = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var p = (s,
|
|
5
|
-
for (var
|
|
6
|
-
T.call(
|
|
4
|
+
var p = (s, t, e) => t in s ? I(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, a = (s, t) => {
|
|
5
|
+
for (var e in t || (t = {}))
|
|
6
|
+
T.call(t, e) && p(s, e, t[e]);
|
|
7
7
|
if (w)
|
|
8
|
-
for (var
|
|
9
|
-
U.call(
|
|
8
|
+
for (var e of w(t))
|
|
9
|
+
U.call(t, e) && p(s, e, t[e]);
|
|
10
10
|
return s;
|
|
11
11
|
};
|
|
12
|
-
var r = (s,
|
|
12
|
+
var r = (s, t, e) => (p(s, typeof t != "symbol" ? t + "" : t, e), e);
|
|
13
13
|
import l from "./EditController.js";
|
|
14
14
|
import P from "./ViewController.js";
|
|
15
15
|
import v from "./WatchController.js";
|
|
@@ -22,7 +22,7 @@ import { getMouseGroup as x } from "../utils/mouseGroup.js";
|
|
|
22
22
|
import { UIController as S } from "../Modules/UIController/index.js";
|
|
23
23
|
import { GuideController as L } from "../Modules/GuideController.js";
|
|
24
24
|
import { ShortcutKeyController as O } from "./ShortcutKeyController.js";
|
|
25
|
-
import { safeObj as
|
|
25
|
+
import { safeObj as b } from "../../shared-utils/safeObj.js";
|
|
26
26
|
import { Magnifier as A } from "../../shared-utils/three/Magnifier.js";
|
|
27
27
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
28
28
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
@@ -110,8 +110,8 @@ import "../../vendor/svelte/transition/index.js";
|
|
|
110
110
|
import "../../vendor/svelte/easing/index.js";
|
|
111
111
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
112
112
|
import "../Components/Tip.js";
|
|
113
|
-
class
|
|
114
|
-
constructor(
|
|
113
|
+
class Ge {
|
|
114
|
+
constructor(t, e) {
|
|
115
115
|
r(this, "hasOpen", !1);
|
|
116
116
|
r(this, "hook", new G());
|
|
117
117
|
r(this, "magnifier");
|
|
@@ -135,115 +135,115 @@ class Gt {
|
|
|
135
135
|
* @description 还原点位展示和默认鼠标 UI
|
|
136
136
|
*/
|
|
137
137
|
r(this, "disable", () => {
|
|
138
|
-
var
|
|
139
|
-
this.hasOpen = !1, this.container.style.opacity = "0", (
|
|
138
|
+
var t, e, i, o;
|
|
139
|
+
this.hasOpen = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (i = this.useGuideController) == null || i.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
|
|
140
140
|
});
|
|
141
141
|
r(this, "getCurrentMode", () => this.controller instanceof l ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof h ? "Mixed" : this.controller instanceof P ? "View" : null);
|
|
142
142
|
/** 变更场景
|
|
143
143
|
* @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
|
|
144
144
|
*/
|
|
145
|
-
r(this, "changeMode", (
|
|
145
|
+
r(this, "changeMode", (t) => {
|
|
146
146
|
var o;
|
|
147
|
-
if (!this.hasOpen || this.getCurrentMode() ===
|
|
147
|
+
if (!this.hasOpen || this.getCurrentMode() === t)
|
|
148
148
|
return;
|
|
149
149
|
(o = this.controller) == null || o.dispose();
|
|
150
|
-
const
|
|
150
|
+
const e = {
|
|
151
151
|
View: P,
|
|
152
152
|
Watch: v,
|
|
153
153
|
Edit: l,
|
|
154
154
|
Mixed: h
|
|
155
155
|
};
|
|
156
|
-
if (!t
|
|
156
|
+
if (!e[t])
|
|
157
157
|
throw new Error("不存在的 Mode");
|
|
158
158
|
const i = this.createControllerParams();
|
|
159
|
-
this.controller = new t
|
|
159
|
+
this.controller = new e[t](i), this.hook.emit("modeChange", t);
|
|
160
160
|
});
|
|
161
161
|
/**
|
|
162
162
|
* @description: 切换测量的类型
|
|
163
163
|
*/
|
|
164
|
-
r(this, "changeMeasureType", (
|
|
165
|
-
this.currentMeasureType =
|
|
164
|
+
r(this, "changeMeasureType", (t) => {
|
|
165
|
+
this.currentMeasureType = t, this.hook.emit("measureTypeChange", t);
|
|
166
166
|
});
|
|
167
|
-
var n, c, u, d, f, g,
|
|
168
|
-
this.five =
|
|
169
|
-
const i = (
|
|
167
|
+
var n, c, u, d, f, g, y, M, C;
|
|
168
|
+
this.five = t, this.params = e, this.config = k(e, ["openParams", "magnifierParams"]), this.model = new E(this.config), this.isMobile = (c = (n = e == null ? void 0 : e.openParams) == null ? void 0 : n.isMobile) != null ? c : !1, this.magnifier = new A(t, (u = e.magnifierParams) != null ? u : { width: 190, height: 190, scale: 2 }), this.allowMeasureType = Array.from(new Set((f = (d = e.editParams) == null ? void 0 : d.allowMeasureType) != null ? f : ["line"])), this.currentMeasureType = (g = this.allowMeasureType[0]) != null ? g : "line", this.group = new D(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
|
|
169
|
+
const i = (M = (y = e.editParams) == null ? void 0 : y.pointSelectorMode) != null ? M : B ? "fixed" : "cursor", o = (C = this.params.openParams) != null ? C : {};
|
|
170
170
|
if (this.params.useUIController !== !1) {
|
|
171
171
|
const m = a({
|
|
172
172
|
container: this.container,
|
|
173
173
|
openParams: o,
|
|
174
|
-
i18n:
|
|
174
|
+
i18n: e.i18n,
|
|
175
175
|
pointSelectorMode: i,
|
|
176
176
|
useNewUI: this.allowMeasureType.length > 1
|
|
177
|
-
},
|
|
177
|
+
}, b(this.params.useUIController));
|
|
178
178
|
this.useUIController = new S(this, m);
|
|
179
179
|
}
|
|
180
180
|
if (this.params.useGuideController !== !1) {
|
|
181
181
|
const m = a({
|
|
182
182
|
container: this.container,
|
|
183
183
|
pointSelectorMode: i,
|
|
184
|
-
i18n:
|
|
185
|
-
},
|
|
184
|
+
i18n: e.i18n
|
|
185
|
+
}, b(this.params.useGuideController));
|
|
186
186
|
this.useGuideController = new L(this, m);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
appendTo(
|
|
190
|
-
|
|
189
|
+
appendTo(t) {
|
|
190
|
+
t.append(this.container);
|
|
191
191
|
}
|
|
192
192
|
clear() {
|
|
193
193
|
this.model.clear();
|
|
194
194
|
}
|
|
195
195
|
dispose() {
|
|
196
|
-
var
|
|
197
|
-
this.disable(), this.clear(), (
|
|
196
|
+
var t, e;
|
|
197
|
+
this.disable(), this.clear(), (t = this.useUIController) == null || t.dispose(), (e = this.magnifier) == null || e.dispose(), this.five.needsRender = !0;
|
|
198
198
|
}
|
|
199
199
|
/** 加载数据
|
|
200
200
|
* @description 数据加载时会覆盖当前已保存的数据
|
|
201
201
|
* @description 如果当前正在编辑中,会自动退出并保存编辑
|
|
202
202
|
*/
|
|
203
|
-
load(
|
|
204
|
-
this.model.parse(
|
|
203
|
+
load(t) {
|
|
204
|
+
this.model.parse(t), this.save();
|
|
205
205
|
}
|
|
206
206
|
/** 插件功能入口
|
|
207
207
|
* @description 会隐藏鼠标的默认聚焦环
|
|
208
208
|
* @description 会隐藏当前 VR 内的点位展示
|
|
209
209
|
*/
|
|
210
|
-
enable(
|
|
211
|
-
var
|
|
212
|
-
this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.opacity = "1",
|
|
210
|
+
enable(t) {
|
|
211
|
+
var e, i;
|
|
212
|
+
this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.visibility = "visible", this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (e = this.useUIController) == null || e.show(), (i = this.useGuideController) == null || i.show(), this.shortcutKeyController = new O(this, this.five), this.hook.emit("enable", !0));
|
|
213
213
|
}
|
|
214
214
|
/** 进入编辑模式 */
|
|
215
|
-
edit(
|
|
216
|
-
|
|
217
|
-
const
|
|
218
|
-
this.changeMode(
|
|
215
|
+
edit(t) {
|
|
216
|
+
t && this.changeMeasureType(t);
|
|
217
|
+
const e = this.isMobile ? "Mixed" : "Edit";
|
|
218
|
+
this.changeMode(e);
|
|
219
219
|
}
|
|
220
220
|
/** 撤销编辑 */
|
|
221
221
|
revoke() {
|
|
222
222
|
this.controller instanceof l && this.controller.revoke();
|
|
223
223
|
}
|
|
224
|
-
removePolyline(
|
|
225
|
-
this.model.removePolyline(
|
|
224
|
+
removePolyline(t) {
|
|
225
|
+
this.model.removePolyline(t);
|
|
226
226
|
}
|
|
227
|
-
removeArea(
|
|
228
|
-
this.model.removeArea(
|
|
227
|
+
removeArea(t) {
|
|
228
|
+
this.model.removeArea(t);
|
|
229
229
|
}
|
|
230
|
-
removePolylineByID(
|
|
231
|
-
const
|
|
232
|
-
|
|
230
|
+
removePolylineByID(t) {
|
|
231
|
+
const e = this.model.getPolylineByID(t);
|
|
232
|
+
e && this.model.removePolyline(e);
|
|
233
233
|
}
|
|
234
|
-
getPolylineByID(
|
|
235
|
-
return this.model.getPolylineByID(
|
|
234
|
+
getPolylineByID(t) {
|
|
235
|
+
return this.model.getPolylineByID(t);
|
|
236
236
|
}
|
|
237
237
|
getEditedPolyline() {
|
|
238
238
|
}
|
|
239
239
|
/**
|
|
240
240
|
* 高亮当前线段
|
|
241
241
|
*/
|
|
242
|
-
highlightLine(
|
|
242
|
+
highlightLine(t) {
|
|
243
243
|
if (this.getCurrentMode() !== "Watch")
|
|
244
244
|
return !1;
|
|
245
|
-
const
|
|
246
|
-
return
|
|
245
|
+
const e = this.model.getLineByID(t);
|
|
246
|
+
return e ? (this.controller.highlightLine(e), !0) : !1;
|
|
247
247
|
}
|
|
248
248
|
clearHighlightLines() {
|
|
249
249
|
return this.getCurrentMode() !== "Watch" ? !1 : (this.controller.clearHighlightLines(), !0);
|
|
@@ -251,14 +251,14 @@ class Gt {
|
|
|
251
251
|
/** 保存编辑
|
|
252
252
|
* @description 以下情况可能报错
|
|
253
253
|
*/
|
|
254
|
-
save(
|
|
254
|
+
save(t) {
|
|
255
255
|
var o;
|
|
256
256
|
if (!(this.controller instanceof l) && !(this.controller instanceof h))
|
|
257
257
|
return this;
|
|
258
|
-
const
|
|
258
|
+
const e = (o = t == null ? void 0 : t.mode) != null ? o : "View", i = this.controller.model.areas;
|
|
259
259
|
return this.controller instanceof l ? this.controller.complete() : i.forEach((n) => {
|
|
260
260
|
n.showArea(), this.model.addArea(n);
|
|
261
|
-
}), this.changeMode(
|
|
261
|
+
}), this.changeMode(e), this;
|
|
262
262
|
}
|
|
263
263
|
/** Mixed 模式才有用,添加起点 */
|
|
264
264
|
addStartPoint() {
|
|
@@ -277,24 +277,24 @@ class Gt {
|
|
|
277
277
|
* @description 改变插件的模式(pc端模式或移动端模式)
|
|
278
278
|
* @param isMobile true为移动端模式,false为pc端
|
|
279
279
|
*/
|
|
280
|
-
changeIsMobile(
|
|
280
|
+
changeIsMobile(t) {
|
|
281
281
|
}
|
|
282
|
-
changeConfigs(
|
|
283
|
-
var
|
|
284
|
-
Object.assign(this.config,
|
|
282
|
+
changeConfigs(t) {
|
|
283
|
+
var e, i;
|
|
284
|
+
Object.assign(this.config, t), (e = this.controller) == null || e.updateDistanceUI(), (i = this.controller) == null || i.updateAreaUI();
|
|
285
285
|
}
|
|
286
286
|
/** 设置线段的文本 */
|
|
287
|
-
setCustomText(
|
|
287
|
+
setCustomText(t, e) {
|
|
288
288
|
var o;
|
|
289
|
-
const i = this.model.getLineByID(
|
|
289
|
+
const i = this.model.getLineByID(t);
|
|
290
290
|
if (!i)
|
|
291
291
|
throw new Error("不存在的线段");
|
|
292
|
-
i.setText(
|
|
292
|
+
i.setText(e), (o = this.controller) == null || o.updateDistanceUI();
|
|
293
293
|
}
|
|
294
294
|
createControllerParams() {
|
|
295
295
|
var i, o;
|
|
296
|
-
const
|
|
297
|
-
return
|
|
296
|
+
const t = (i = this.params.openParams) != null ? i : {}, e = (o = this.params.editParams) != null ? o : {};
|
|
297
|
+
return t.isMobile = this.isMobile, {
|
|
298
298
|
five: this.five,
|
|
299
299
|
hook: this.hook,
|
|
300
300
|
group: this.group,
|
|
@@ -302,15 +302,15 @@ class Gt {
|
|
|
302
302
|
config: this.config,
|
|
303
303
|
magnifier: this.magnifier,
|
|
304
304
|
container: this.container,
|
|
305
|
-
openParams:
|
|
306
|
-
editParams:
|
|
305
|
+
openParams: t,
|
|
306
|
+
editParams: e,
|
|
307
307
|
magnifierParams: this.params.magnifierParams,
|
|
308
308
|
getMeasureType: () => this.currentMeasureType,
|
|
309
|
-
mouseGroup: x(a({},
|
|
309
|
+
mouseGroup: x(a({}, t.crossHairParameter)),
|
|
310
310
|
userDistanceItemCreator: this.params.userDistanceItemCreator
|
|
311
311
|
};
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
export {
|
|
315
|
-
|
|
315
|
+
Ge as default
|
|
316
316
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -17,7 +17,8 @@ export declare function waitForBlankAudioGenerated(checkInterval?: number, timeo
|
|
|
17
17
|
export declare function generateBlankAudio(length: number, params?: {
|
|
18
18
|
namespace?: string;
|
|
19
19
|
}): void;
|
|
20
|
-
|
|
20
|
+
declare const IAudio_base: new (src?: string) => HTMLAudioElement;
|
|
21
|
+
export declare class IAudio extends IAudio_base {
|
|
21
22
|
preload: "auto";
|
|
22
23
|
crossOrigin: "anonymous";
|
|
23
24
|
get isBlankAudio(): boolean;
|
|
@@ -31,3 +32,4 @@ export declare class IAudio extends Audio {
|
|
|
31
32
|
constructor(src?: string);
|
|
32
33
|
clear(): void;
|
|
33
34
|
}
|
|
35
|
+
export {};
|
|
@@ -8,13 +8,14 @@ function L(V, e) {
|
|
|
8
8
|
let n = t.find((o) => !o.realSrc || o.realSrc === r);
|
|
9
9
|
return n || (console.warn("未找到缓存音频,已新建", s), n = new u(r), t.push(n)), V && (n.src = V), n;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function a(V, e) {
|
|
12
12
|
const A = (e == null ? void 0 : e.namespace) || "default", t = s[A] || (s[A] = []), n = V - t.length;
|
|
13
13
|
if (!(n <= 0))
|
|
14
14
|
for (let o = 0; o < n; o++)
|
|
15
15
|
t.push(new u(r));
|
|
16
16
|
}
|
|
17
|
-
class u extends Audio {
|
|
17
|
+
class u extends (() => typeof Audio == "undefined" ? class {
|
|
18
|
+
} : Audio)() {
|
|
18
19
|
constructor(A) {
|
|
19
20
|
super(A);
|
|
20
21
|
i(this, "preload", "auto");
|
|
@@ -54,6 +55,6 @@ function h(V) {
|
|
|
54
55
|
}
|
|
55
56
|
export {
|
|
56
57
|
d as AudioNamespace,
|
|
57
|
-
|
|
58
|
+
a as generateBlankAudio,
|
|
58
59
|
L as getAudio
|
|
59
60
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.21.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.21.2",
|
|
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",
|