@realsee/dnalogel 3.1.2 → 3.2.0-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 +10 -10
- package/dist/index.js +90 -93
- package/dist/index.umd.js +16 -16
- 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 +725 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +678 -0
- package/docs/classes/CSS3DRender.html +773 -0
- package/docs/classes/CruisePluginController.html +672 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +491 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +792 -0
- package/docs/classes/Magnifier.html +480 -0
- package/docs/classes/ModelRoomLabelController.html +398 -0
- package/docs/classes/Object3DHelperController.html +640 -0
- package/docs/classes/PaintBrush.html +502 -0
- package/docs/classes/PanoMeasurePluginLine.html +522 -0
- package/docs/classes/PanoMeasurePluginModel.html +571 -0
- package/docs/classes/PanoMeasurePluginPoint.html +362 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +567 -0
- package/docs/classes/PanoTagPluginController.html +1050 -0
- package/docs/classes/Util.BetterTween.html +416 -0
- package/docs/classes/Util.Interval.html +432 -0
- package/docs/classes/Util.LineSegments.html +384 -0
- package/docs/classes/Util.Magnifier.html +503 -0
- package/docs/classes/Util.Object3D.html +406 -0
- package/docs/classes/Util.PointDomHelper.html +407 -0
- package/docs/classes/Util.PointHelper.html +398 -0
- package/docs/classes/Util.PointSelectorHelper.html +454 -0
- package/docs/classes/Util.Rectangle.html +455 -0
- package/docs/enums/CameraMovementEffect.html +310 -0
- package/docs/enums/ContentType.html +446 -0
- package/docs/enums/DIRECTION.html +320 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +320 -0
- package/docs/enums/DimensionType.html +310 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +313 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +320 -0
- package/docs/enums/PaintBrushTypeEnum.html +313 -0
- package/docs/enums/PointType.html +310 -0
- package/docs/enums/Rotation.html +317 -0
- package/docs/functions/AreaMakerPlugin.html +290 -0
- package/docs/functions/CSS3DRenderPlugin.html +288 -0
- package/docs/functions/CameraMovementPlugin.html +293 -0
- package/docs/functions/CruisePlugin.html +290 -0
- package/docs/functions/CurrentPanoImagePlugin.html +290 -0
- package/docs/functions/GuideLinePlugin.html +290 -0
- package/docs/functions/ItemLabelPlugin.html +290 -0
- package/docs/functions/MapviewFloorplanPlugin.html +290 -0
- package/docs/functions/ModelChassisCompassPlugin.html +293 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +293 -0
- package/docs/functions/ModelFloorplanPlugin.html +290 -0
- package/docs/functions/ModelItemLabelPlugin.html +290 -0
- package/docs/functions/ModelRoomLabelPlugin.html +288 -0
- package/docs/functions/ModelTVVideoPlugin.html +290 -0
- package/docs/functions/ModelViewPlugin.html +293 -0
- package/docs/functions/Object3DHelperPlugin.html +288 -0
- package/docs/functions/PanoCompassPlugin.html +290 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +294 -0
- package/docs/functions/PanoDoorLabelPlugin.html +290 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +290 -0
- package/docs/functions/PanoMeasurePlugin.html +290 -0
- package/docs/functions/PanoRulerPlugin.html +293 -0
- package/docs/functions/PanoRulerProPlugin.html +293 -0
- package/docs/functions/PanoSpatialTagPlugin.html +293 -0
- package/docs/functions/PanoTagPlugin.html +295 -0
- package/docs/functions/PanoVideoPlugin.html +299 -0
- package/docs/functions/PipelinePlugin.html +288 -0
- package/docs/functions/TopviewFloorplanPlugin.html +290 -0
- package/docs/functions/Util.absoluteUrl.html +326 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +329 -0
- package/docs/functions/Util.equal.html +338 -0
- package/docs/functions/Util.getCoordsFromClient.html +328 -0
- package/docs/functions/Util.getCoordsFromElement.html +328 -0
- package/docs/functions/Util.getFrameTime.html +320 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +328 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +328 -0
- package/docs/functions/Util.isAbsoluteURL.html +321 -0
- package/docs/functions/Util.isModelLike.html +321 -0
- package/docs/functions/Util.isNil.html +329 -0
- package/docs/functions/Util.isPanoramaLike.html +321 -0
- package/docs/functions/Util.nextFrame.html +334 -0
- package/docs/functions/Util.notNil.html +329 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +350 -0
- package/docs/functions/Util.tweenProgress.html +323 -0
- package/docs/functions/Util.uuid.html +319 -0
- package/docs/functions/pluginFlag.html +288 -0
- package/docs/index.html +354 -0
- package/docs/interfaces/AddTagConfig.html +303 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +329 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +334 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +620 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +333 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +383 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +368 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +333 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +326 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +325 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +354 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +449 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +325 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +358 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +359 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +361 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +696 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +385 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +421 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +411 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +351 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +319 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +408 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +382 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +521 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +323 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +315 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +337 -0
- package/docs/interfaces/EventMap.html +542 -0
- package/docs/interfaces/FloorplanBounding.html +332 -0
- package/docs/interfaces/FloorplanData.html +335 -0
- package/docs/interfaces/FloorplanEntrance.html +360 -0
- package/docs/interfaces/FloorplanExtraObject.html +350 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +339 -0
- package/docs/interfaces/FloorplanFloorData.html +328 -0
- package/docs/interfaces/FloorplanImagePosition.html +314 -0
- package/docs/interfaces/FloorplanObserver.html +332 -0
- package/docs/interfaces/FloorplanOutlineItem.html +328 -0
- package/docs/interfaces/FloorplanPosition.html +314 -0
- package/docs/interfaces/FloorplanRoomItem.html +379 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +320 -0
- package/docs/interfaces/FloorplanServerBounding.html +332 -0
- package/docs/interfaces/FloorplanServerComputedData.html +331 -0
- package/docs/interfaces/FloorplanServerData.html +314 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +331 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +317 -0
- package/docs/interfaces/FloorplanServerEntrance.html +360 -0
- package/docs/interfaces/FloorplanServerFloorData.html +328 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +314 -0
- package/docs/interfaces/FloorplanServerObserver.html +332 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +328 -0
- package/docs/interfaces/FloorplanServerPosition.html +314 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +391 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +320 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +323 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +361 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +525 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +356 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +347 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +414 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +346 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +471 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +343 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +471 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +308 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +329 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +354 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +370 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +352 -0
- package/docs/interfaces/HelperOffset.html +332 -0
- package/docs/interfaces/ImagePlaneGroup.html +306 -0
- package/docs/interfaces/ItemLabelPluginData.html +303 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +388 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +324 -0
- package/docs/interfaces/MinMax.html +310 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +310 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +346 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +310 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +317 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +354 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +303 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +388 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +310 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +303 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +324 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +348 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +303 -0
- package/docs/interfaces/ModelViewPluginExportType.html +416 -0
- package/docs/interfaces/Object3DHelperState.html +317 -0
- package/docs/interfaces/ObjectHelperControllers.html +324 -0
- package/docs/interfaces/PaintBrushAction.html +363 -0
- package/docs/interfaces/PaintBrushConfigs.html +361 -0
- package/docs/interfaces/PaintBrushState.html +345 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +425 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +282 -0
- package/docs/interfaces/PanoMeasureParameterType.html +449 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +317 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +314 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +310 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +320 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +377 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +326 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +317 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +353 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +323 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +310 -0
- package/docs/interfaces/PanoRulerProPluginState.html +317 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +296 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +285 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +353 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +335 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +431 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +331 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +352 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +338 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +331 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +323 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +341 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +314 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +420 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +314 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +349 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +368 -0
- package/docs/interfaces/Point.html +317 -0
- package/docs/interfaces/Room.html +324 -0
- package/docs/interfaces/RoomInfo.html +310 -0
- package/docs/interfaces/RoomLabel.html +386 -0
- package/docs/interfaces/RoomRules.html +285 -0
- package/docs/interfaces/Rooms.html +285 -0
- package/docs/interfaces/Scissor.html +344 -0
- package/docs/interfaces/State.html +331 -0
- package/docs/interfaces/TagCacheInterface.html +362 -0
- package/docs/interfaces/TagConfig.html +565 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +306 -0
- package/docs/interfaces/TagIconUrl.html +363 -0
- package/docs/interfaces/TagObjectGroup.html +306 -0
- package/docs/interfaces/TagStyle.html +316 -0
- package/docs/interfaces/Tags.html +2688 -0
- package/docs/interfaces/TemporaryState.html +303 -0
- package/docs/interfaces/Util.MagnifierParameter.html +391 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +350 -0
- package/docs/interfaces/Util.PointIntersection.html +365 -0
- package/docs/modules/AreaMakerPluginType.html +323 -0
- package/docs/modules/CruisePluginTypes.html +328 -0
- package/docs/modules/CurrentPanoImagePluginType.html +297 -0
- package/docs/modules/GuideLineItem.html +289 -0
- package/docs/modules/GuideLineModeItem.html +294 -0
- package/docs/modules/GuideLinePluginType.html +348 -0
- package/docs/modules/PanoVideoPluginType.html +301 -0
- package/docs/modules/Util.html +351 -0
- package/docs/modules.html +540 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +331 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +301 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +301 -0
- package/docs/types/ArrayPosition.html +279 -0
- package/docs/types/AudioAppearance.html +279 -0
- package/docs/types/AudioTagTypeConfigKey.html +279 -0
- package/docs/types/CSS3DRenderExportType.html +279 -0
- package/docs/types/CSS3DRenderPluginExportType.html +279 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +279 -0
- package/docs/types/ClassFunctionParameters.html +286 -0
- package/docs/types/Color.html +279 -0
- package/docs/types/ContentTypeConfigKey.html +279 -0
- package/docs/types/ContentTypeConfigKeySplit.html +279 -0
- package/docs/types/ContentTypeMap.html +279 -0
- package/docs/types/Create3DDomContainerReturnType.html +279 -0
- package/docs/types/Create3DElementReturnType.html +279 -0
- package/docs/types/CruisePluginExportType.html +279 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +318 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +295 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +279 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +291 -0
- package/docs/types/DeprecatedTagProperty.html +294 -0
- package/docs/types/Direction-1.html +279 -0
- package/docs/types/Direction4.html +279 -0
- package/docs/types/ElementRenderer.html +303 -0
- package/docs/types/FloorplanRuleLabels.html +282 -0
- package/docs/types/FloorplanServerRuleLabels.html +279 -0
- package/docs/types/GuideLinePluginExportType.html +279 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +351 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +372 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +305 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +308 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +308 -0
- package/docs/types/GuideLinePluginType.PathItem.html +308 -0
- package/docs/types/GuideLinePluginType.PluginData.html +317 -0
- package/docs/types/HelperEventMap.html +517 -0
- package/docs/types/LoadTagConfig.html +279 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +279 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +279 -0
- package/docs/types/MediaData.html +295 -0
- package/docs/types/MediaStore.html +284 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +286 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +279 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +279 -0
- package/docs/types/ModelId.html +279 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +279 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +279 -0
- package/docs/types/MoveArgs.html +289 -0
- package/docs/types/MoveOpts.html +287 -0
- package/docs/types/Object3DHelperEventMap.html +372 -0
- package/docs/types/ObjectFit.html +279 -0
- package/docs/types/PaintBrushEventMap.html +310 -0
- package/docs/types/PanoCompassPluginData.html +279 -0
- package/docs/types/PanoCompassPluginExportType.html +279 -0
- package/docs/types/PanoCompassPluginParameterType.html +279 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +279 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +279 -0
- package/docs/types/PanoIndex.html +279 -0
- package/docs/types/PanoMeasurePluginEvent.html +279 -0
- package/docs/types/PanoMeasureReturnType.html +279 -0
- package/docs/types/PanoSpatialTagPluginId.html +279 -0
- package/docs/types/PanoTagPluginExportInterface.html +279 -0
- package/docs/types/PanoTagPluginParamsInterface.html +279 -0
- package/docs/types/PanoVideoPluginParameterType.html +279 -0
- package/docs/types/PanoVideoPluginReturnType.html +279 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +287 -0
- package/docs/types/PipelinePluginParameterType.html +279 -0
- package/docs/types/PipelinePluginReturnType.html +279 -0
- package/docs/types/PlaneTag.html +287 -0
- package/docs/types/Point2DTag.html +287 -0
- package/docs/types/Point3DTag.html +287 -0
- package/docs/types/PointTag.html +284 -0
- package/docs/types/PointTagInstance.html +284 -0
- package/docs/types/Position.html +279 -0
- package/docs/types/RotateArgs.html +291 -0
- package/docs/types/RotateOpts.html +287 -0
- package/docs/types/RuleLabelsKey.html +279 -0
- package/docs/types/RuleLabelsValue.html +279 -0
- package/docs/types/StickType.html +279 -0
- package/docs/types/Tag.html +345 -0
- package/docs/types/Tag2D.html +287 -0
- package/docs/types/Tag3D.html +287 -0
- package/docs/types/TagConfigByKey.html +284 -0
- package/docs/types/TagContentType.html +279 -0
- package/docs/types/TagDimensionType.html +281 -0
- package/docs/types/TagElement.html +289 -0
- package/docs/types/TagEvents.html +332 -0
- package/docs/types/TagGLTFObject.html +302 -0
- package/docs/types/TagHooks.html +279 -0
- package/docs/types/TagId.html +279 -0
- package/docs/types/TagInstance.html +353 -0
- package/docs/types/TagPointType.html +282 -0
- package/docs/types/TagRendererMap.html +284 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +279 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +279 -0
- package/docs/types/WorkCode.html +279 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +289 -0
- package/docs/variables/PLUGIN.html +279 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +282 -0
- package/docs/variables/ROOM_TYPE_MAP.html +289 -0
- package/docs/variables/defaultGlobalConfig.html +279 -0
- package/docs/variables/itemLabelPluginServerParams.html +286 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +286 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +286 -0
- package/libs/PanoTagPlugin/controller/TagComputer.js +73 -77
- package/libs/PanoTagPlugin/controller/TagRender.js +81 -82
- package/libs/PanoTagPlugin/controller/index.js +32 -30
- 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
1
|
var w = Object.defineProperty, E = Object.defineProperties;
|
|
2
2
|
var U = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var C = Object.getOwnPropertySymbols;
|
|
4
|
-
var I = Object.prototype.hasOwnProperty,
|
|
4
|
+
var I = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var m = (d, a, e) => a in d ? w(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, c = (d, a) => {
|
|
6
6
|
for (var e in a || (a = {}))
|
|
7
7
|
I.call(a, e) && m(d, e, a[e]);
|
|
8
8
|
if (C)
|
|
9
9
|
for (var e of C(a))
|
|
10
|
-
|
|
10
|
+
R.call(a, e) && m(d, e, a[e]);
|
|
11
11
|
return d;
|
|
12
12
|
}, u = (d, a) => E(d, U(a));
|
|
13
13
|
var l = (d, a, e) => (m(d, typeof a != "symbol" ? a + "" : a, e), e);
|
|
14
|
-
var
|
|
14
|
+
var f = (d, a, e) => new Promise((t, i) => {
|
|
15
15
|
var s = (r) => {
|
|
16
16
|
try {
|
|
17
17
|
n(e.next(r));
|
|
@@ -28,11 +28,11 @@ var p = (d, a, e) => new Promise((t, i) => {
|
|
|
28
28
|
n((e = e.apply(d, a)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as v from "three";
|
|
31
|
-
import { Subscribe as
|
|
32
|
-
import { objectAssignDeepExports as
|
|
33
|
-
import { addDebugPoints as
|
|
31
|
+
import { Subscribe as B } from "@realsee/five";
|
|
32
|
+
import { objectAssignDeepExports as p } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
33
|
+
import { addDebugPoints as F } from "../utils/addDebugPoints.js";
|
|
34
34
|
import { arrayPositionToVector3 as A } from "../../shared-utils/positionToVector3.js";
|
|
35
|
-
import { isMediaModelTag as
|
|
35
|
+
import { isMediaModelTag as M, isModelTag as _ } from "../utils/tag/tagCheck.js";
|
|
36
36
|
import { debounce as k } from "../utils/debounce.js";
|
|
37
37
|
import { throttle as O } from "../utils/throttle.js";
|
|
38
38
|
import { resizeObserver as D } from "../utils/resizeObserver.js";
|
|
@@ -178,8 +178,8 @@ class Pi extends N {
|
|
|
178
178
|
/** debug */
|
|
179
179
|
l(this, "debug");
|
|
180
180
|
/** 更改 tag 模型 */
|
|
181
|
-
l(this, "changeTagModel", (e, t) =>
|
|
182
|
-
e.data =
|
|
181
|
+
l(this, "changeTagModel", (e, t) => f(this, null, function* () {
|
|
182
|
+
e.data = p({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
|
|
183
183
|
}));
|
|
184
184
|
l(this, "whyHide", (e) => {
|
|
185
185
|
var i, s, o;
|
|
@@ -192,16 +192,18 @@ class Pi extends N {
|
|
|
192
192
|
return { reason: `tag ${e} not found` };
|
|
193
193
|
if (!t.enabled)
|
|
194
194
|
return { reason: `tag ${e} enabled is ${t.enabled}` };
|
|
195
|
+
if (t.stickType === "Model" || t.stickType === "Plane")
|
|
196
|
+
return { reason: "maybe blocked by the five model" };
|
|
195
197
|
if (!t.state.visible) {
|
|
196
198
|
const n = (s = (i = this.getPanoIndexCache({ panoIndex: this.five.panoIndex, id: e })) == null ? void 0 : i.__debug_visible_reason__) == null ? void 0 : s.reason;
|
|
197
|
-
return { reason: (o = n.type) != null ? o : n, reasonObj: n };
|
|
199
|
+
return { reason: (o = n == null ? void 0 : n.type) != null ? o : n, reasonObj: n };
|
|
198
200
|
}
|
|
199
|
-
return
|
|
201
|
+
return { reason: "check your eyes" };
|
|
200
202
|
});
|
|
201
203
|
l(this, "updateVisible", () => {
|
|
202
204
|
const e = this.five.getCurrentState().mode;
|
|
203
205
|
this.tags.forEach((t) => {
|
|
204
|
-
|
|
206
|
+
M(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
|
|
205
207
|
}), this.setVisible(), this.updateRenderAllTags();
|
|
206
208
|
});
|
|
207
209
|
l(this, "handleFiveWantsMoveToPano", (e) => {
|
|
@@ -240,7 +242,7 @@ class Pi extends N {
|
|
|
240
242
|
l(this, "handleFiveCameraUpdate", () => {
|
|
241
243
|
this.updatePointTagPosition();
|
|
242
244
|
});
|
|
243
|
-
l(this, "handleFivePanoArrived", () =>
|
|
245
|
+
l(this, "handleFivePanoArrived", () => f(this, null, function* () {
|
|
244
246
|
this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
|
|
245
247
|
e.temporaryState = u(c({}, e.temporaryState), { visible: !0 });
|
|
246
248
|
}), this.tags.filter(_).filter((e) => {
|
|
@@ -265,9 +267,9 @@ class Pi extends N {
|
|
|
265
267
|
this.setVisible(), this.updateRenderAllTags();
|
|
266
268
|
});
|
|
267
269
|
l(this, "onFiveEveryReady", () => {
|
|
268
|
-
this.setUnfoldedByCamera(), x(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(
|
|
270
|
+
this.setUnfoldedByCamera(), x(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateRenderModelTag();
|
|
269
271
|
});
|
|
270
|
-
this.params =
|
|
272
|
+
this.params = p({}, { debug: !1, config: this.config }, c({}, t)), this.debug = this.params.debug, this.config = this.params.config, L(1, { namespace: G.PlayAudio });
|
|
271
273
|
try {
|
|
272
274
|
const i = window;
|
|
273
275
|
Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
|
|
@@ -278,16 +280,16 @@ class Pi extends N {
|
|
|
278
280
|
* @description: 加载数据
|
|
279
281
|
*/
|
|
280
282
|
load(e, t) {
|
|
281
|
-
return
|
|
283
|
+
return f(this, null, function* () {
|
|
282
284
|
var s, o;
|
|
283
|
-
this.clearTags(), console.debug(P, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config =
|
|
285
|
+
this.clearTags(), console.debug(P, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = p({}, this.config, {
|
|
284
286
|
globalConfig: (s = e.globalConfig) != null ? s : {},
|
|
285
287
|
contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
|
|
286
288
|
});
|
|
287
289
|
const i = yield this.addTag(e.tagList, t);
|
|
288
290
|
if (this.debug)
|
|
289
291
|
try {
|
|
290
|
-
|
|
292
|
+
F(this.five, this.tags);
|
|
291
293
|
} catch (n) {
|
|
292
294
|
console.error(n);
|
|
293
295
|
}
|
|
@@ -298,19 +300,19 @@ class Pi extends N {
|
|
|
298
300
|
* @description: 添加标签
|
|
299
301
|
*/
|
|
300
302
|
addTag(e, t) {
|
|
301
|
-
return
|
|
303
|
+
return f(this, null, function* () {
|
|
302
304
|
const s = (Array.isArray(e) ? e : [e]).map((o) => {
|
|
303
305
|
var b, T, y;
|
|
304
306
|
const n = this.getTagConfig(o), r = JSON.parse(JSON.stringify(o.data)), h = o.config;
|
|
305
307
|
return o.config = n, u(c({}, o), {
|
|
306
308
|
enabled: (b = o.enabled) != null ? b : !0,
|
|
307
309
|
id: (T = o.id) != null ? T : z(),
|
|
308
|
-
data: (y = n.initialData) != null && y.important ?
|
|
310
|
+
data: (y = n.initialData) != null && y.important ? p(o.data, r, n.initialData) : p(o.data, n.initialData, r),
|
|
309
311
|
state: c({
|
|
310
312
|
visible: void 0,
|
|
311
313
|
unfolded: !this.can("fold", o)
|
|
312
314
|
}, n.initialState),
|
|
313
|
-
hooks: new
|
|
315
|
+
hooks: new B(),
|
|
314
316
|
initialConfig: h,
|
|
315
317
|
config: n,
|
|
316
318
|
unfold: () => this.changeUnfoldedById(o.id, !0),
|
|
@@ -321,7 +323,7 @@ class Pi extends N {
|
|
|
321
323
|
changeData: (S) => this.changeDataById(o.id, S)
|
|
322
324
|
});
|
|
323
325
|
}).filter((o) => o.position);
|
|
324
|
-
return s.forEach(V), this.tags.push(...s), W(this.five).then(() =>
|
|
326
|
+
return s.forEach(V), this.tags.push(...s), W(this.five).then(() => f(this, null, function* () {
|
|
325
327
|
var o, n, r;
|
|
326
328
|
this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
|
|
327
329
|
}));
|
|
@@ -331,22 +333,22 @@ class Pi extends N {
|
|
|
331
333
|
* @description: 改变配置
|
|
332
334
|
*/
|
|
333
335
|
changeConfig(e, t = !0) {
|
|
334
|
-
t ? this.config =
|
|
336
|
+
t ? this.config = p({}, this.config, e) : this.config = e, this.updateTagConfig(), this.updateRenderAllTags();
|
|
335
337
|
}
|
|
336
338
|
/**
|
|
337
339
|
* @description: 改变全局配置
|
|
338
340
|
*/
|
|
339
341
|
changeGlobalConfig(e, t = !0) {
|
|
340
|
-
t ? this.config.globalConfig =
|
|
342
|
+
t ? this.config.globalConfig = p({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.updateRenderAllTags();
|
|
341
343
|
}
|
|
342
344
|
/**
|
|
343
345
|
* @description: 改变类型配置
|
|
344
346
|
*/
|
|
345
347
|
changeContentTypeConfig(e, t, i = !0) {
|
|
346
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] =
|
|
348
|
+
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = p({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.updateRenderAllTags();
|
|
347
349
|
}
|
|
348
350
|
show(e) {
|
|
349
|
-
return
|
|
351
|
+
return f(this, null, function* () {
|
|
350
352
|
if (this.checkDisposed())
|
|
351
353
|
return;
|
|
352
354
|
const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
|
|
@@ -354,7 +356,7 @@ class Pi extends N {
|
|
|
354
356
|
});
|
|
355
357
|
}
|
|
356
358
|
hide(e) {
|
|
357
|
-
return
|
|
359
|
+
return f(this, null, function* () {
|
|
358
360
|
if (this.checkDisposed())
|
|
359
361
|
return;
|
|
360
362
|
const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
|
|
@@ -419,7 +421,7 @@ class Pi extends N {
|
|
|
419
421
|
changeDataById(e, t, i = !0) {
|
|
420
422
|
const s = this.getTagById(e);
|
|
421
423
|
let o = !1;
|
|
422
|
-
s && (s.data && (o = !0), i ? s.data =
|
|
424
|
+
s && (s.data && (o = !0), i ? s.data = p(s.data, t) : s.data = c(c({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
|
|
423
425
|
}
|
|
424
426
|
/**
|
|
425
427
|
* @description: 改变tag的stickType
|
|
@@ -433,7 +435,7 @@ class Pi extends N {
|
|
|
433
435
|
changeTagById(e, t, i = !0) {
|
|
434
436
|
const s = this.getTagById(e);
|
|
435
437
|
let o = !1;
|
|
436
|
-
t && (t.data && (o = !0), i ?
|
|
438
|
+
t && (t.data && (o = !0), i ? p(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = A(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
|
|
437
439
|
}
|
|
438
440
|
/**
|
|
439
441
|
* @description: 销毁tag
|
|
@@ -448,7 +450,7 @@ class Pi extends N {
|
|
|
448
450
|
* @description: 设置 visible 和 unfolded
|
|
449
451
|
*/
|
|
450
452
|
setVisibleAndUnfolded() {
|
|
451
|
-
return
|
|
453
|
+
return f(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
|
|
452
454
|
return this.setVisible(), e ? new Promise((t) => {
|
|
453
455
|
setTimeout(() => {
|
|
454
456
|
this.setUnfoldedByPanoIndex(), t();
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.1
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.2.0-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.1
|
|
10
|
+
"version": "3.2.0-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*",
|