@realsee/dnalogel 3.3.4 → 3.3.5-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +0 -4
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +4 -0
- package/dist/index.cjs.js +45 -45
- package/dist/index.js +2821 -2789
- package/dist/index.umd.js +37 -37
- 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 +476 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +856 -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 +1077 -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 +362 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +526 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +357 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +348 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +415 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +337 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +347 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +483 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +344 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +483 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +309 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +330 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +355 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +371 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +353 -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 +350 -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 +352 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +373 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +306 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +309 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +309 -0
- package/docs/types/GuideLinePluginType.PathItem.html +309 -0
- package/docs/types/GuideLinePluginType.PluginData.html +318 -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 +355 -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/Components/TagItem.js +287 -255
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +0 -4
- package/libs/PanoTagPlugin/controller/TagComputer.js +116 -135
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +4 -0
- package/libs/PanoTagPlugin/controller/TagRender.js +90 -71
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
var
|
|
1
|
+
var A = Object.defineProperty;
|
|
2
2
|
var R = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var C = (c, l, t) => l in c ?
|
|
3
|
+
var V = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var C = (c, l, t) => l in c ? A(c, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[l] = t, j = (c, l) => {
|
|
5
5
|
for (var t in l || (l = {}))
|
|
6
|
-
|
|
6
|
+
V.call(l, t) && C(c, t, l[t]);
|
|
7
7
|
if (R)
|
|
8
8
|
for (var t of R(l))
|
|
9
|
-
|
|
9
|
+
E.call(l, t) && C(c, t, l[t]);
|
|
10
10
|
return c;
|
|
11
11
|
};
|
|
12
12
|
var f = (c, l, t) => (C(c, typeof l != "symbol" ? l + "" : l, t), t);
|
|
13
13
|
var S = (c, l, t) => new Promise((e, o) => {
|
|
14
|
-
var i = (
|
|
14
|
+
var i = (s) => {
|
|
15
15
|
try {
|
|
16
|
-
a(t.next(
|
|
16
|
+
a(t.next(s));
|
|
17
17
|
} catch (n) {
|
|
18
18
|
o(n);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, r = (s) => {
|
|
21
21
|
try {
|
|
22
|
-
a(t.throw(
|
|
22
|
+
a(t.throw(s));
|
|
23
23
|
} catch (n) {
|
|
24
24
|
o(n);
|
|
25
25
|
}
|
|
26
|
-
}, a = (
|
|
26
|
+
}, a = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(i, r);
|
|
27
27
|
a((t = t.apply(c, l)).next());
|
|
28
28
|
});
|
|
29
|
-
import { TagComputer as
|
|
30
|
-
import { Group as y, Quaternion as O, Vector3 as
|
|
31
|
-
import
|
|
29
|
+
import { TagComputer as I } from "./TagComputer.js";
|
|
30
|
+
import { Group as y, Quaternion as O, Vector3 as T, Matrix4 as v } from "three";
|
|
31
|
+
import x from "../Components/TagContainer.js";
|
|
32
32
|
import G from "../Components/Tag/index.js";
|
|
33
33
|
import { CSS3DRenderPlugin as F } from "../../CSS3DRenderPlugin/index.js";
|
|
34
|
-
import { loadGLTF as
|
|
35
|
-
import { isMediaModelTag as D, isStickModelTag as
|
|
34
|
+
import { loadGLTF as _ } from "../../shared-utils/three/GLTFLoader.js";
|
|
35
|
+
import { isMediaModelTag as D, isStickModelTag as L } from "../utils/tag/tagCheck.js";
|
|
36
36
|
import { VideoPlane as w, ImagePlane as k } from "../utils/model/mediaPlane.js";
|
|
37
|
-
import { centerPoint as
|
|
37
|
+
import { centerPoint as W } from "../../shared-utils/three/centerPoint.js";
|
|
38
38
|
import { arrayPositionToVector3 as g } from "../../shared-utils/positionToVector3.js";
|
|
39
39
|
import "../utils/tagPosition.js";
|
|
40
40
|
import "../utils/checkRange.js";
|
|
@@ -158,8 +158,8 @@ import "../Components/Tag/CustomTag.js";
|
|
|
158
158
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
159
159
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
160
160
|
import "@realsee/five/gltf-loader";
|
|
161
|
-
const
|
|
162
|
-
class ui extends
|
|
161
|
+
const $ = /* @__PURE__ */ new Map(), q = /* @__PURE__ */ new Map();
|
|
162
|
+
class ui extends I {
|
|
163
163
|
constructor(t) {
|
|
164
164
|
super(t);
|
|
165
165
|
f(this, "group", new y());
|
|
@@ -179,13 +179,13 @@ class ui extends x {
|
|
|
179
179
|
if (!e)
|
|
180
180
|
return;
|
|
181
181
|
t.loading = !0;
|
|
182
|
-
const o =
|
|
182
|
+
const o = _(e).then((s) => {
|
|
183
183
|
var m;
|
|
184
|
-
const n = Object.assign(
|
|
184
|
+
const n = Object.assign(s.scene, {
|
|
185
185
|
customID: t.id,
|
|
186
186
|
isTagModel: !0,
|
|
187
187
|
removeEventListener: this.getTagConfig(t).clickable === !1 ? () => {
|
|
188
|
-
} : this.addObjectClickHandler(t,
|
|
188
|
+
} : this.addObjectClickHandler(t, s.scene, (h) => {
|
|
189
189
|
this.hooks.emit("click", { target: "TagModel", tag: t, event: h });
|
|
190
190
|
})
|
|
191
191
|
});
|
|
@@ -196,14 +196,14 @@ class ui extends x {
|
|
|
196
196
|
if (t.loading = !1, ((a = t.model) == null ? void 0 : a.promise) !== o || !this.tags.includes(t))
|
|
197
197
|
return;
|
|
198
198
|
t.model.object = i;
|
|
199
|
-
const
|
|
200
|
-
if (
|
|
199
|
+
const r = this.gltfObjectGroup.children.find((s) => s.customID === t.id);
|
|
200
|
+
if (r && (this.gltfObjectGroup.remove(r), r.removeEventListener()), this.updateRender3DDomTag(), D(t)) {
|
|
201
201
|
if (this.getRenderType(t) === "Mesh" && !t.mediaPlane) {
|
|
202
|
-
const
|
|
202
|
+
const s = t.data.mediaPosition.map(g);
|
|
203
203
|
t.mediaPlane = new k(t.data.mediaData[0].url, t.data.mediaPosition.map(g), {
|
|
204
204
|
objectFit: t.data.objectFit
|
|
205
205
|
});
|
|
206
|
-
const n = new
|
|
206
|
+
const n = new T().addVectors(s[0], s[2]).divideScalar(2);
|
|
207
207
|
t.mediaPlane.position.copy(n), i.add(t.mediaPlane);
|
|
208
208
|
}
|
|
209
209
|
this.getRenderType(t) !== "Mesh" && (i.updateTagCss3DObjectMatrix = () => this.updateTagCss3DObjectMatrix(t, i), i.updateTagCss3DObjectMatrix());
|
|
@@ -248,22 +248,22 @@ class ui extends x {
|
|
|
248
248
|
if (!i)
|
|
249
249
|
return;
|
|
250
250
|
e.mediaPlane && !((h = (m = e.state) == null ? void 0 : m.visible) == null || h) && e.mediaPlane instanceof w && e.mediaPlane.pause();
|
|
251
|
-
const
|
|
252
|
-
if ((
|
|
253
|
-
const
|
|
251
|
+
const r = e.position.map(g), a = this.getCurrentVisibleState(e), s = (() => !!(e.mediaPlane && !a))(), n = (() => !!(!e.mediaPlane && a))(), d = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
|
|
252
|
+
if ((s || d) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), n || d) {
|
|
253
|
+
const p = new w(i, r, {
|
|
254
254
|
videoCoverSrc: o.videoCoverUrl,
|
|
255
255
|
playButton: e.data.playIcon,
|
|
256
256
|
paused: !((P = e.data.autoplayConfig) != null && P.autoplayVideo),
|
|
257
257
|
objectFit: e.data.objectFit,
|
|
258
|
-
videoTextureMap:
|
|
259
|
-
ImageTextureMap:
|
|
258
|
+
videoTextureMap: $,
|
|
259
|
+
ImageTextureMap: q,
|
|
260
260
|
domEvents: this.domEvents
|
|
261
261
|
});
|
|
262
|
-
|
|
263
|
-
u.addEventListener("play", () => this.mediaStore.set({ currentMediaElement:
|
|
262
|
+
p.onVideoReady = (u) => {
|
|
263
|
+
u.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: p.videoInstance }));
|
|
264
264
|
};
|
|
265
|
-
const
|
|
266
|
-
|
|
265
|
+
const b = (u) => (this.five.on("renderFrame", u), () => this.five.off("renderFrame", u));
|
|
266
|
+
p.initialRenderHooks(b), e.mediaPlane = p, this.imagePlaneGroup.add(e.mediaPlane);
|
|
267
267
|
}
|
|
268
268
|
});
|
|
269
269
|
}
|
|
@@ -278,9 +278,9 @@ class ui extends x {
|
|
|
278
278
|
const { url: o } = e.data.mediaData[0];
|
|
279
279
|
if (!o)
|
|
280
280
|
return;
|
|
281
|
-
const i = e.position.map(g),
|
|
282
|
-
(a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (
|
|
283
|
-
this.hooks.emit("click", { tag: e, target: "TagContent", event:
|
|
281
|
+
const i = e.position.map(g), r = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !r))(), s = (() => !!(!e.mediaPlane && r))(), n = (() => !!(e.mediaPlane && e.mediaPlane.src !== o))();
|
|
282
|
+
(a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (s || n) && (e.mediaPlane = new k(o, i, { objectFit: e.data.objectFit }), this.getTagConfig(e).clickable !== !1 && this.domEvents.addAutoBindEventListener(e.mediaPlane, "click", (d) => {
|
|
283
|
+
this.hooks.emit("click", { tag: e, target: "TagContent", event: d.origDomEvent });
|
|
284
284
|
}), this.imagePlaneGroup.add(e.mediaPlane));
|
|
285
285
|
});
|
|
286
286
|
}
|
|
@@ -289,12 +289,12 @@ class ui extends x {
|
|
|
289
289
|
*/
|
|
290
290
|
updateRender3DDomTag() {
|
|
291
291
|
this.filterCSS3DTag.forEach((e) => {
|
|
292
|
-
var o, i,
|
|
292
|
+
var o, i, r;
|
|
293
293
|
if (e.tag3DContentSvelte) {
|
|
294
|
-
const { svelteApp: a, css3DInstance:
|
|
295
|
-
if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(
|
|
296
|
-
const m = new O().setFromUnitVectors(n,
|
|
297
|
-
|
|
294
|
+
const { svelteApp: a, css3DInstance: s, initialNormal: n, currentNormal: d } = e.tag3DContentSvelte;
|
|
295
|
+
if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(d)) {
|
|
296
|
+
const m = new O().setFromUnitVectors(n, d);
|
|
297
|
+
s.css3DObject.setRotationFromQuaternion(m);
|
|
298
298
|
}
|
|
299
299
|
return;
|
|
300
300
|
} else {
|
|
@@ -305,24 +305,24 @@ class ui extends x {
|
|
|
305
305
|
const a = this.getPositions(e);
|
|
306
306
|
if (!a)
|
|
307
307
|
return;
|
|
308
|
-
const
|
|
309
|
-
if (!
|
|
308
|
+
const s = this.getTagNormal(e);
|
|
309
|
+
if (!s)
|
|
310
310
|
return;
|
|
311
|
-
const n = this.getTagConfig(e),
|
|
312
|
-
if (this.getRenderType(e) === "BehindDom" ||
|
|
313
|
-
|
|
311
|
+
const n = this.getTagConfig(e), d = j({ wrapperStyle: { zIndex: this.calculateTagZIndex(e).toString() } }, n.tag3DConfig);
|
|
312
|
+
if (this.getRenderType(e) === "BehindDom" || d.mode === "behind") {
|
|
313
|
+
d.mode = "behind", d.container = document.createElement("div");
|
|
314
314
|
const P = "black";
|
|
315
|
-
|
|
316
|
-
var
|
|
315
|
+
d.container.style.backgroundColor = P, d.container.style.border = `3px solid ${P}`, this.css3DRenderPlugin.hooks.on("render", () => {
|
|
316
|
+
var p;
|
|
317
317
|
if (m.css3DObject.opacityMesh && n.clickable !== !1) {
|
|
318
|
-
const
|
|
318
|
+
const b = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (u) => {
|
|
319
319
|
this.hooks.emit("click", { event: u, target: "TagContent", tag: e });
|
|
320
320
|
});
|
|
321
|
-
(
|
|
321
|
+
(p = this.store.css3DRenderDisposer.get(e.id)) == null || p.push(b);
|
|
322
322
|
}
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
const m = this.css3DRenderPlugin.create3DDomContainer(a,
|
|
325
|
+
const m = this.css3DRenderPlugin.create3DDomContainer(a, d);
|
|
326
326
|
if (!m)
|
|
327
327
|
return;
|
|
328
328
|
this.store.css3DRenderDisposer.set(e.id, [m.dispose]);
|
|
@@ -341,12 +341,12 @@ class ui extends x {
|
|
|
341
341
|
svelteApp: h,
|
|
342
342
|
domContainer: m,
|
|
343
343
|
css3DInstance: m,
|
|
344
|
-
initialNormal:
|
|
345
|
-
currentNormal:
|
|
344
|
+
initialNormal: s,
|
|
345
|
+
currentNormal: s,
|
|
346
346
|
dispose: () => {
|
|
347
347
|
h.$destroy(), m.dispose();
|
|
348
348
|
}
|
|
349
|
-
}, D(e) && ((
|
|
349
|
+
}, D(e) && ((r = e.model) != null && r.object) && this.updateTagCss3DObjectMatrix(e, e.model.object);
|
|
350
350
|
}
|
|
351
351
|
}), this.clearUnusedPanelTag();
|
|
352
352
|
}
|
|
@@ -360,8 +360,8 @@ class ui extends x {
|
|
|
360
360
|
updateRenderModelTag() {
|
|
361
361
|
const t = (i) => !this.enabledModelTagSet.has(i.customID), e = this.gltfObjectGroup.children.filter(t);
|
|
362
362
|
e.forEach((i) => i.removeEventListener()), this.gltfObjectGroup.remove(...e), this.tags.filter((i) => i.stickType === "Model").forEach((i) => {
|
|
363
|
-
var
|
|
364
|
-
(
|
|
363
|
+
var r;
|
|
364
|
+
(r = i.model) == null || r.promise.then((a) => {
|
|
365
365
|
a.visible = this.getCurrentVisibleState(i);
|
|
366
366
|
});
|
|
367
367
|
}), this.five.needsRender = !0;
|
|
@@ -378,26 +378,45 @@ class ui extends x {
|
|
|
378
378
|
* @param model 模型
|
|
379
379
|
*/
|
|
380
380
|
updateTagCss3DObjectMatrix(t, e) {
|
|
381
|
-
var
|
|
382
|
-
const o = (u = (
|
|
381
|
+
var b, u, M;
|
|
382
|
+
const o = (u = (b = this.getTagConfig(t).tag3DConfig) == null ? void 0 : b.ratio) != null ? u : 216e-5, i = (M = t.tag3DContentSvelte) == null ? void 0 : M.css3DInstance.css3DObject;
|
|
383
383
|
if (!i)
|
|
384
384
|
return;
|
|
385
|
-
const
|
|
386
|
-
if (!
|
|
385
|
+
const r = D(t) ? t.data.mediaPosition : t.position;
|
|
386
|
+
if (!r || r.length !== 4 || !Array.isArray(r[0]) || !Array.isArray(r[2]))
|
|
387
387
|
return;
|
|
388
388
|
e.updateWorldMatrix(!1, !1);
|
|
389
|
-
const a = e.matrixWorld,
|
|
389
|
+
const a = e.matrixWorld, s = new T().fromArray(r[0]), n = new T().fromArray(r[2]), d = W(s, n).add(new T(0, 0, 5e-4)), m = new v().setPosition(d), h = new v().makeScale(o, o, o), P = new v().multiply(a).multiply(m).multiply(h);
|
|
390
390
|
P.decompose(i.position, i.quaternion, i.scale);
|
|
391
|
-
const
|
|
392
|
-
|
|
391
|
+
const p = i.opacityMesh;
|
|
392
|
+
p && P.decompose(p.position, p.quaternion, p.scale);
|
|
393
393
|
}
|
|
394
394
|
/** 添加模型标签 */
|
|
395
395
|
addMediaModelTag(t) {
|
|
396
396
|
return S(this, null, function* () {
|
|
397
|
-
const e = t.filter(
|
|
397
|
+
const e = t.filter(L).map((o) => this.loadModel(o));
|
|
398
398
|
yield Promise.all(e), this.setVisible(), this.updateRenderAllTags();
|
|
399
399
|
});
|
|
400
400
|
}
|
|
401
|
+
/**
|
|
402
|
+
* @description: 一个点的标签
|
|
403
|
+
*/
|
|
404
|
+
setPointTagPosition() {
|
|
405
|
+
const t = this.filterPointTag;
|
|
406
|
+
t.length !== 0 && t.forEach((e) => {
|
|
407
|
+
var a;
|
|
408
|
+
const o = this.getCurrentVisibleState(e), i = (a = e.__Object__) != null ? a : {
|
|
409
|
+
timeoutId: void 0,
|
|
410
|
+
inAnimation: !0
|
|
411
|
+
};
|
|
412
|
+
if (e.__Object__ = i, !o && e.screenPosition ? (i.inAnimation = !0, i.timeoutId = setTimeout(() => {
|
|
413
|
+
this.getCurrentVisibleState(e) || (i.inAnimation = !1, e.screenPosition = null, this.updateDomView());
|
|
414
|
+
}, 1e3)) : i.timeoutId && (i.inAnimation = !1, clearTimeout(i.timeoutId)), !o && !i.inAnimation)
|
|
415
|
+
return;
|
|
416
|
+
const r = this.getTagProject(e);
|
|
417
|
+
r ? e.screenPosition = { leftPercent: (r.x + 1) / 2 * 100, topPercent: (-r.y + 1) / 2 * 100 } : e.screenPosition = null;
|
|
418
|
+
});
|
|
419
|
+
}
|
|
401
420
|
/**
|
|
402
421
|
* @description: 渲染单个点的标签
|
|
403
422
|
*/
|
|
@@ -415,8 +434,8 @@ class ui extends x {
|
|
|
415
434
|
temporaryState: this.temporaryState,
|
|
416
435
|
withAnimation: this.store.visibleWithAnimation
|
|
417
436
|
}), this.filterCSS3DTag.forEach((e) => {
|
|
418
|
-
var o, i,
|
|
419
|
-
(a = (i = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : i.css3DObject) == null || a.setVisible((this.state.visible && ((
|
|
437
|
+
var o, i, r, a, s;
|
|
438
|
+
(a = (i = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : i.css3DObject) == null || a.setVisible((this.state.visible && ((r = e.state) == null ? void 0 : r.visible)) !== !1), (s = e.tag3DContentSvelte) == null || s.svelteApp.$set({
|
|
420
439
|
state: this.state,
|
|
421
440
|
temporaryState: this.temporaryState,
|
|
422
441
|
withAnimation: this.store.visibleWithAnimation
|
|
@@ -447,11 +466,11 @@ class ui extends x {
|
|
|
447
466
|
if (this.TagContainerSvelte)
|
|
448
467
|
this.TagContainerSvelte.$set({ tags: e, state: this.state, temporaryState: this.temporaryState });
|
|
449
468
|
else {
|
|
450
|
-
const
|
|
451
|
-
if (!
|
|
469
|
+
const r = (o = this.five.getElement()) == null ? void 0 : o.parentElement;
|
|
470
|
+
if (!r)
|
|
452
471
|
return console.error("updateRenderPlaneTag: tag2DContainer not found");
|
|
453
|
-
this.TagContainerSvelte = new
|
|
454
|
-
target:
|
|
472
|
+
this.TagContainerSvelte = new x({
|
|
473
|
+
target: r,
|
|
455
474
|
props: {
|
|
456
475
|
hooks: this.hooks,
|
|
457
476
|
tags: e,
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.3.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.3.5-dev.0",
|
|
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.3.
|
|
10
|
+
"version": "3.3.5-dev.0",
|
|
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*",
|