@realsee/dnalogel 3.8.2 → 3.8.3-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +3 -3
- package/dist/index.js +6 -6
- package/dist/index.umd.js +3 -3
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +120 -0
- package/docs/assets/main.js +58 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1367 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +740 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +693 -0
- package/docs/classes/CSS3DRender.html +777 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +480 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +860 -0
- package/docs/classes/Magnifier.html +484 -0
- package/docs/classes/ModelRoomLabelController.html +402 -0
- package/docs/classes/MoveController.html +653 -0
- package/docs/classes/Object3DHelperController.html +644 -0
- package/docs/classes/PaintBrush.html +506 -0
- package/docs/classes/PanoMeasurePluginLine.html +526 -0
- package/docs/classes/PanoMeasurePluginModel.html +575 -0
- package/docs/classes/PanoMeasurePluginPoint.html +366 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +571 -0
- package/docs/classes/PanoTagPluginController.html +1123 -0
- package/docs/classes/Util.BetterTween.html +420 -0
- package/docs/classes/Util.Interval.html +436 -0
- package/docs/classes/Util.LineSegments.html +388 -0
- package/docs/classes/Util.Magnifier.html +507 -0
- package/docs/classes/Util.Object3D.html +410 -0
- package/docs/classes/Util.PointDomHelper.html +411 -0
- package/docs/classes/Util.PointHelper.html +402 -0
- package/docs/classes/Util.PointSelectorHelper.html +458 -0
- package/docs/classes/Util.Rectangle.html +459 -0
- package/docs/classes/WalkController.html +672 -0
- package/docs/enums/CameraMovementEffect.html +314 -0
- package/docs/enums/ContentType.html +460 -0
- package/docs/enums/DIRECTION.html +324 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +324 -0
- package/docs/enums/DimensionType.html +314 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +317 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +324 -0
- package/docs/enums/PaintBrushTypeEnum.html +317 -0
- package/docs/enums/PointType.html +314 -0
- package/docs/enums/Rotation.html +321 -0
- package/docs/functions/AreaMakerPlugin.html +294 -0
- package/docs/functions/CSS3DRenderPlugin.html +292 -0
- package/docs/functions/CameraMovementPlugin.html +297 -0
- package/docs/functions/CruisePlugin.html +294 -0
- package/docs/functions/CurrentPanoImagePlugin.html +294 -0
- package/docs/functions/GuideLinePlugin.html +294 -0
- package/docs/functions/ItemLabelPlugin.html +294 -0
- package/docs/functions/MapviewFloorplanPlugin.html +294 -0
- package/docs/functions/ModelChassisCompassPlugin.html +297 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +297 -0
- package/docs/functions/ModelFloorplanPlugin.html +294 -0
- package/docs/functions/ModelItemLabelPlugin.html +294 -0
- package/docs/functions/ModelRoomLabelPlugin.html +292 -0
- package/docs/functions/ModelTVVideoPlugin.html +294 -0
- package/docs/functions/ModelViewPlugin.html +297 -0
- package/docs/functions/MovePlugin.html +294 -0
- package/docs/functions/Object3DHelperPlugin.html +292 -0
- package/docs/functions/PanoCompassPlugin.html +294 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +298 -0
- package/docs/functions/PanoDoorLabelPlugin.html +294 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +294 -0
- package/docs/functions/PanoMeasurePlugin.html +294 -0
- package/docs/functions/PanoRulerPlugin.html +297 -0
- package/docs/functions/PanoRulerProPlugin.html +297 -0
- package/docs/functions/PanoSpatialTagPlugin.html +297 -0
- package/docs/functions/PanoTagPlugin.html +299 -0
- package/docs/functions/PanoVideoPlugin.html +303 -0
- package/docs/functions/PipelinePlugin.html +292 -0
- package/docs/functions/TopviewFloorplanPlugin.html +294 -0
- package/docs/functions/Util.absoluteUrl.html +330 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +333 -0
- package/docs/functions/Util.equal.html +342 -0
- package/docs/functions/Util.getCoordsFromClient.html +332 -0
- package/docs/functions/Util.getCoordsFromElement.html +332 -0
- package/docs/functions/Util.getFrameTime.html +324 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +332 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +332 -0
- package/docs/functions/Util.isAbsoluteURL.html +325 -0
- package/docs/functions/Util.isModelLike.html +325 -0
- package/docs/functions/Util.isNil.html +333 -0
- package/docs/functions/Util.isPanoramaLike.html +325 -0
- package/docs/functions/Util.nextFrame.html +338 -0
- package/docs/functions/Util.notNil.html +333 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +354 -0
- package/docs/functions/Util.tweenProgress.html +327 -0
- package/docs/functions/Util.uuid.html +323 -0
- package/docs/functions/pluginFlag.html +292 -0
- package/docs/index.html +358 -0
- package/docs/interfaces/AddTagConfig.html +307 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +334 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +339 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +625 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +338 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +388 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +373 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +338 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +331 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +330 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +359 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +453 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +329 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +362 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +363 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +365 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +700 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +389 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +425 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +415 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +355 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +323 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +391 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +386 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +525 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +327 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +319 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +341 -0
- package/docs/interfaces/EventMap.html +546 -0
- package/docs/interfaces/FloorplanBounding.html +336 -0
- package/docs/interfaces/FloorplanData.html +339 -0
- package/docs/interfaces/FloorplanEntrance.html +364 -0
- package/docs/interfaces/FloorplanExtraObject.html +354 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +343 -0
- package/docs/interfaces/FloorplanFloorData.html +332 -0
- package/docs/interfaces/FloorplanImagePosition.html +318 -0
- package/docs/interfaces/FloorplanObserver.html +336 -0
- package/docs/interfaces/FloorplanOutlineItem.html +332 -0
- package/docs/interfaces/FloorplanPosition.html +318 -0
- package/docs/interfaces/FloorplanRoomItem.html +383 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +324 -0
- package/docs/interfaces/FloorplanServerBounding.html +336 -0
- package/docs/interfaces/FloorplanServerComputedData.html +335 -0
- package/docs/interfaces/FloorplanServerData.html +318 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +335 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +321 -0
- package/docs/interfaces/FloorplanServerEntrance.html +364 -0
- package/docs/interfaces/FloorplanServerFloorData.html +332 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +318 -0
- package/docs/interfaces/FloorplanServerObserver.html +336 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +332 -0
- package/docs/interfaces/FloorplanServerPosition.html +318 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +395 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +324 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +327 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +366 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +530 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +361 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +352 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +419 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +341 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +351 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +487 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +348 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +487 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +313 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +334 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +359 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +375 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +357 -0
- package/docs/interfaces/HelperOffset.html +336 -0
- package/docs/interfaces/ImagePlaneGroup.html +310 -0
- package/docs/interfaces/ItemLabelPluginData.html +307 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +392 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +328 -0
- package/docs/interfaces/MinMax.html +314 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +314 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +350 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +314 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +321 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +358 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +307 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +392 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +314 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +307 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +328 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +352 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +307 -0
- package/docs/interfaces/ModelViewPluginExportType.html +420 -0
- package/docs/interfaces/Object3DHelperState.html +321 -0
- package/docs/interfaces/ObjectHelperControllers.html +328 -0
- package/docs/interfaces/PaintBrushAction.html +367 -0
- package/docs/interfaces/PaintBrushConfigs.html +365 -0
- package/docs/interfaces/PaintBrushState.html +349 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +429 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +286 -0
- package/docs/interfaces/PanoMeasureParameterType.html +453 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +321 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +318 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +314 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +324 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +381 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +330 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +321 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +357 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +327 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +314 -0
- package/docs/interfaces/PanoRulerProPluginState.html +321 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +300 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +289 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +357 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +339 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +435 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +335 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +356 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +342 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +335 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +327 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +345 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +318 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +424 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +318 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +353 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +372 -0
- package/docs/interfaces/Point.html +321 -0
- package/docs/interfaces/Room.html +328 -0
- package/docs/interfaces/RoomInfo.html +314 -0
- package/docs/interfaces/RoomLabel.html +390 -0
- package/docs/interfaces/RoomRules.html +289 -0
- package/docs/interfaces/Rooms.html +289 -0
- package/docs/interfaces/Scissor.html +348 -0
- package/docs/interfaces/State.html +335 -0
- package/docs/interfaces/TagCacheInterface.html +366 -0
- package/docs/interfaces/TagConfig.html +569 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +310 -0
- package/docs/interfaces/TagIconUrl.html +367 -0
- package/docs/interfaces/TagObjectGroup.html +310 -0
- package/docs/interfaces/TagStyle.html +320 -0
- package/docs/interfaces/Tags.html +2824 -0
- package/docs/interfaces/TemporaryState.html +307 -0
- package/docs/interfaces/Util.MagnifierParameter.html +395 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +354 -0
- package/docs/interfaces/Util.PointIntersection.html +369 -0
- package/docs/modules/AreaMakerPluginType.html +329 -0
- package/docs/modules/CruisePluginTypes.html +332 -0
- package/docs/modules/CurrentPanoImagePluginType.html +301 -0
- package/docs/modules/GuideLineItem.html +293 -0
- package/docs/modules/GuideLineModeItem.html +298 -0
- package/docs/modules/GuideLinePluginType.html +354 -0
- package/docs/modules/PanoVideoPluginType.html +305 -0
- package/docs/modules/Util.html +355 -0
- package/docs/modules.html +562 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +336 -0
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +324 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +306 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +306 -0
- package/docs/types/ArrayPosition.html +283 -0
- package/docs/types/AudioAppearance.html +283 -0
- package/docs/types/AudioTagTypeConfigKey.html +283 -0
- package/docs/types/CSS3DRenderExportType.html +283 -0
- package/docs/types/CSS3DRenderPluginExportType.html +283 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +283 -0
- package/docs/types/ClassFunctionParameters.html +290 -0
- package/docs/types/Color.html +283 -0
- package/docs/types/ContentTypeConfigKey.html +283 -0
- package/docs/types/ContentTypeConfigKeySplit.html +283 -0
- package/docs/types/ContentTypeMap.html +283 -0
- package/docs/types/Create3DDomContainerReturnType.html +283 -0
- package/docs/types/Create3DElementReturnType.html +283 -0
- package/docs/types/CruisePluginExportType.html +283 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +322 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +299 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +283 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +295 -0
- package/docs/types/DeprecatedTagProperty.html +298 -0
- package/docs/types/Direction-1.html +283 -0
- package/docs/types/Direction4.html +283 -0
- package/docs/types/ElementRenderer.html +307 -0
- package/docs/types/FloorplanRuleLabels.html +286 -0
- package/docs/types/FloorplanServerRuleLabels.html +283 -0
- package/docs/types/GuideLinePluginExportType.html +283 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +356 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +377 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +310 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +313 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +313 -0
- package/docs/types/GuideLinePluginType.PathItem.html +313 -0
- package/docs/types/GuideLinePluginType.PluginData.html +322 -0
- package/docs/types/HelperEventMap.html +521 -0
- package/docs/types/LoadTagConfig.html +283 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +283 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +283 -0
- package/docs/types/MediaData.html +304 -0
- package/docs/types/MediaStore.html +288 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +290 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +283 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +283 -0
- package/docs/types/ModelId.html +283 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +283 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +283 -0
- package/docs/types/MoveArgs.html +293 -0
- package/docs/types/MoveOpts.html +291 -0
- package/docs/types/Object3DHelperEventMap.html +376 -0
- package/docs/types/ObjectFit.html +283 -0
- package/docs/types/PaintBrushEventMap.html +314 -0
- package/docs/types/PanoCompassPluginData.html +283 -0
- package/docs/types/PanoCompassPluginExportType.html +283 -0
- package/docs/types/PanoCompassPluginParameterType.html +283 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +283 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +283 -0
- package/docs/types/PanoIndex.html +283 -0
- package/docs/types/PanoMeasurePluginEvent.html +283 -0
- package/docs/types/PanoMeasureReturnType.html +283 -0
- package/docs/types/PanoSpatialTagPluginId.html +283 -0
- package/docs/types/PanoTagPluginExportInterface.html +283 -0
- package/docs/types/PanoTagPluginParamsInterface.html +283 -0
- package/docs/types/PanoVideoPluginParameterType.html +283 -0
- package/docs/types/PanoVideoPluginReturnType.html +283 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +291 -0
- package/docs/types/PipelinePluginParameterType.html +283 -0
- package/docs/types/PipelinePluginReturnType.html +283 -0
- package/docs/types/PlaneTag.html +291 -0
- package/docs/types/Point2DTag.html +291 -0
- package/docs/types/Point3DTag.html +291 -0
- package/docs/types/PointTag.html +288 -0
- package/docs/types/PointTagInstance.html +288 -0
- package/docs/types/Position.html +283 -0
- package/docs/types/RotateArgs.html +295 -0
- package/docs/types/RotateOpts.html +291 -0
- package/docs/types/RuleLabelsKey.html +283 -0
- package/docs/types/RuleLabelsValue.html +283 -0
- package/docs/types/StickType.html +283 -0
- package/docs/types/Tag.html +349 -0
- package/docs/types/Tag2D.html +291 -0
- package/docs/types/Tag3D.html +291 -0
- package/docs/types/TagConfigByKey.html +288 -0
- package/docs/types/TagContentType.html +283 -0
- package/docs/types/TagContentTypeMapping.html +283 -0
- package/docs/types/TagDimensionType.html +285 -0
- package/docs/types/TagElement.html +293 -0
- package/docs/types/TagEvents.html +336 -0
- package/docs/types/TagGLTFObject.html +306 -0
- package/docs/types/TagHooks.html +283 -0
- package/docs/types/TagId.html +283 -0
- package/docs/types/TagInstance.html +361 -0
- package/docs/types/TagPointType.html +286 -0
- package/docs/types/TagRendererMap.html +290 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +283 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +283 -0
- package/docs/types/WorkCode.html +283 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +293 -0
- package/docs/variables/PLUGIN.html +283 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +286 -0
- package/docs/variables/ROOM_TYPE_MAP.html +293 -0
- package/docs/variables/defaultGlobalConfig.html +283 -0
- package/docs/variables/itemLabelPluginServerParams.html +290 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +290 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +290 -0
- package/libs/CruisePlugin/Move.js +51 -50
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,42 +1,43 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var
|
|
1
|
+
var P = Object.defineProperty, C = Object.defineProperties;
|
|
2
|
+
var b = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var S = Object.getOwnPropertySymbols;
|
|
4
|
+
var O = Object.prototype.hasOwnProperty, w = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var d = (r, t, e) => t in r ? P(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e, p = (r, t) => {
|
|
6
|
+
for (var e in t || (t = {}))
|
|
7
|
+
O.call(t, e) && d(r, e, t[e]);
|
|
8
|
+
if (S)
|
|
9
|
+
for (var e of S(t))
|
|
10
|
+
w.call(t, e) && d(r, e, t[e]);
|
|
11
|
+
return r;
|
|
12
|
+
}, u = (r, t) => C(r, b(t));
|
|
13
|
+
var h = (r, t, e) => (d(r, typeof t != "symbol" ? t + "" : t, e), e);
|
|
14
|
+
var y = (r, t, e) => new Promise((i, a) => {
|
|
14
15
|
var f = (s) => {
|
|
15
16
|
try {
|
|
16
|
-
n(
|
|
17
|
+
n(e.next(s));
|
|
17
18
|
} catch (m) {
|
|
18
19
|
a(m);
|
|
19
20
|
}
|
|
20
|
-
},
|
|
21
|
+
}, o = (s) => {
|
|
21
22
|
try {
|
|
22
|
-
n(
|
|
23
|
+
n(e.throw(s));
|
|
23
24
|
} catch (m) {
|
|
24
25
|
a(m);
|
|
25
26
|
}
|
|
26
|
-
}, n = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(f,
|
|
27
|
-
n((
|
|
27
|
+
}, n = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(f, o);
|
|
28
|
+
n((e = e.apply(r, t)).next());
|
|
28
29
|
});
|
|
29
|
-
import
|
|
30
|
-
import { objectAssignDeepExports as
|
|
30
|
+
import k from "./BaseController.js";
|
|
31
|
+
import { objectAssignDeepExports as c } from "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
31
32
|
import "hammerjs";
|
|
32
33
|
import "three";
|
|
33
34
|
import "@realsee/five";
|
|
34
35
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
36
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
36
37
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
37
|
-
import { uuid as
|
|
38
|
-
import { getFiveStateOnCurve as
|
|
39
|
-
import { fiveReady as
|
|
38
|
+
import { uuid as x } from "../shared-utils/uuid.js";
|
|
39
|
+
import { getFiveStateOnCurve as l } from "./utils/getFiveStateOnCurve.js";
|
|
40
|
+
import { fiveReady as D } from "../shared-utils/five/fiveReady.js";
|
|
40
41
|
import "../base/BasePlugin.js";
|
|
41
42
|
import "../shared-utils/Subscribe.js";
|
|
42
43
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -57,20 +58,20 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
57
58
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
58
59
|
import "../shared-utils/vectorToCoordinate.js";
|
|
59
60
|
import "../shared-utils/formatRad.js";
|
|
60
|
-
class
|
|
61
|
-
constructor(
|
|
62
|
-
var
|
|
63
|
-
super(
|
|
61
|
+
class ae extends k {
|
|
62
|
+
constructor(e, i) {
|
|
63
|
+
var o;
|
|
64
|
+
super(e, i);
|
|
64
65
|
h(this, "curve");
|
|
65
66
|
h(this, "baseCurveOffset");
|
|
66
67
|
h(this, "curveOffset");
|
|
67
68
|
h(this, "playStartedTime", performance.now());
|
|
68
69
|
h(this, "duration");
|
|
69
|
-
h(this, "changeSpeed", (
|
|
70
|
-
this.state.speed =
|
|
70
|
+
h(this, "changeSpeed", (e, i = !0) => {
|
|
71
|
+
this.state.speed = e, this.hooks.emit("speedChange", e, { userAction: i });
|
|
71
72
|
});
|
|
72
73
|
h(this, "moveToStart", () => {
|
|
73
|
-
this.five.setState(
|
|
74
|
+
this.five.setState(u(p({}, l(this.curve, 0, this.curveOffset)), { mode: "Model" }));
|
|
74
75
|
});
|
|
75
76
|
h(this, "playFromStart", () => {
|
|
76
77
|
this.clearPauseData(), this.setState({ playing: !0 });
|
|
@@ -78,8 +79,8 @@ class it extends b {
|
|
|
78
79
|
h(this, "getDuration", () => this.getSpeededDuration(this.duration));
|
|
79
80
|
h(this, "getProgress", () => {
|
|
80
81
|
var n;
|
|
81
|
-
const
|
|
82
|
-
return 1 - i +
|
|
82
|
+
const e = this.getPauseData(), i = 1 - ((n = e == null ? void 0 : e.playedProgress) != null ? n : 0), a = this.getDuration(), o = (performance.now() - this.playStartedTime) / a;
|
|
83
|
+
return 1 - i + o;
|
|
83
84
|
});
|
|
84
85
|
const a = {
|
|
85
86
|
config: {
|
|
@@ -91,47 +92,47 @@ class it extends b {
|
|
|
91
92
|
}, f = {
|
|
92
93
|
allowBroke: !0
|
|
93
94
|
};
|
|
94
|
-
this.state =
|
|
95
|
+
this.state = c({}, a, this.state), this.config = c({}, f, this.config), this.baseCurveOffset = c({ x: 0, y: 0, z: 0 }, { y: 2 }, (o = this.config) == null ? void 0 : o.offset);
|
|
95
96
|
}
|
|
96
|
-
load(
|
|
97
|
-
var
|
|
98
|
-
if (this.handlePause(), this.clear(), this.data =
|
|
99
|
-
x: this.baseCurveOffset.x + ((n = (
|
|
97
|
+
load(e, i) {
|
|
98
|
+
var o, n, s, m, g, v;
|
|
99
|
+
if (this.handlePause(), this.clear(), this.data = p({ id: x() }, e), this.curve = this.data.path.curves[0], this.curveOffset = {
|
|
100
|
+
x: this.baseCurveOffset.x + ((n = (o = this.data.offset) == null ? void 0 : o.x) != null ? n : 0),
|
|
100
101
|
y: this.baseCurveOffset.y + ((m = (s = this.data.offset) == null ? void 0 : s.y) != null ? m : 0),
|
|
101
|
-
z: this.baseCurveOffset.z + ((
|
|
102
|
+
z: this.baseCurveOffset.z + ((v = (g = this.data.offset) == null ? void 0 : g.z) != null ? v : 0)
|
|
102
103
|
}, !this.curve)
|
|
103
104
|
throw new Error("curve is not defined");
|
|
104
105
|
const a = this.curve.getLength(), f = this.state.config.speedConfig.moveSpeedUnit === "m/ms" ? 1 : 1e3;
|
|
105
106
|
return this.duration = a / (this.state.config.speedConfig.moveSpeed / f), i ? this.setState(i) : (this.setState({ playing: !1 }), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), this.changePlayState(this.state.playing), this.changeSpeed(this.state.speed)), Promise.resolve();
|
|
106
107
|
}
|
|
107
108
|
handlePlay() {
|
|
108
|
-
return new Promise((
|
|
109
|
+
return new Promise((e, i) => y(this, null, function* () {
|
|
109
110
|
var n;
|
|
110
|
-
const a = this.getPauseData(), f =
|
|
111
|
-
if (this.five.setState(f), yield
|
|
111
|
+
const a = this.getPauseData(), f = l(this.curve, (n = a == null ? void 0 : a.playedProgress) != null ? n : 0, this.curveOffset);
|
|
112
|
+
if (this.five.setState(u(p({}, f), { mode: "Model" })), yield D(this.five), this.playStartedTime = performance.now(), this.config.allowBroke) {
|
|
112
113
|
const s = this.addInterruptListener(() => {
|
|
113
114
|
this.hooks.emit("broke"), this.handlePause(), s(), i(new Error("broke"));
|
|
114
115
|
});
|
|
115
116
|
}
|
|
116
|
-
const
|
|
117
|
+
const o = () => {
|
|
117
118
|
const s = this.getProgress();
|
|
118
119
|
if (s >= 1)
|
|
119
|
-
this.five.off("renderFrame",
|
|
120
|
+
this.five.off("renderFrame", o), this.setState({ playing: !1 }, { userAction: !1 }), this.hooks.emit("end"), e("end");
|
|
120
121
|
else if (this.state.playing === !1)
|
|
121
|
-
this.five.off("renderFrame",
|
|
122
|
+
this.five.off("renderFrame", o);
|
|
122
123
|
else if (s >= 0) {
|
|
123
|
-
const m =
|
|
124
|
-
this.five.setState(m
|
|
124
|
+
const m = l(this.curve, s, this.curveOffset);
|
|
125
|
+
this.five.setState(m);
|
|
125
126
|
}
|
|
126
127
|
};
|
|
127
|
-
this.five.on("renderFrame",
|
|
128
|
+
this.five.on("renderFrame", o);
|
|
128
129
|
}));
|
|
129
130
|
}
|
|
130
|
-
handlePause(
|
|
131
|
+
handlePause(e) {
|
|
131
132
|
var i;
|
|
132
|
-
this.state.playing = !1, this.hooks.emit("pause", { userAction: (i =
|
|
133
|
+
this.state.playing = !1, this.hooks.emit("pause", { userAction: (i = e == null ? void 0 : e.userAction) != null ? i : !0 }), this.setPauseData();
|
|
133
134
|
}
|
|
134
135
|
}
|
|
135
136
|
export {
|
|
136
|
-
|
|
137
|
+
ae as default
|
|
137
138
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.8.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.8.3-dev.1",
|
|
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",
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "3.8.
|
|
10
|
+
"version": "3.8.3-dev.1",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|