@realsee/dnalogel 3.41.7 → 3.42.0-alpha-tag.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/README.md +116 -0
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -0
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +17 -16
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +3 -2
- package/dist/index.cjs.js +30 -30
- package/dist/index.js +754 -771
- package/dist/index.umd.js +24 -24
- package/docs/.nojekyll +1 -0
- package/docs/assets/custom.css +0 -0
- package/docs/assets/highlight.css +127 -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 +731 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +694 -0
- package/docs/classes/CSS3DRender.html +778 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +481 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +894 -0
- package/docs/classes/Magnifier.html +485 -0
- package/docs/classes/ModelRoomLabelController.html +403 -0
- package/docs/classes/MoveController.html +681 -0
- package/docs/classes/Object3DHelperController.html +645 -0
- package/docs/classes/PaintBrush.html +507 -0
- package/docs/classes/PanoMeasurePluginLine.html +527 -0
- package/docs/classes/PanoMeasurePluginModel.html +576 -0
- package/docs/classes/PanoMeasurePluginPoint.html +367 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +572 -0
- package/docs/classes/PanoTagPluginController.html +1132 -0
- package/docs/classes/Util.BetterTween.html +421 -0
- package/docs/classes/Util.Interval.html +437 -0
- package/docs/classes/Util.LineSegments.html +389 -0
- package/docs/classes/Util.Magnifier.html +508 -0
- package/docs/classes/Util.Object3D.html +411 -0
- package/docs/classes/Util.PointDomHelper.html +412 -0
- package/docs/classes/Util.PointHelper.html +403 -0
- package/docs/classes/Util.PointSelectorHelper.html +459 -0
- package/docs/classes/Util.Rectangle.html +460 -0
- package/docs/classes/WalkController.html +700 -0
- package/docs/enums/CameraMovementEffect.html +315 -0
- package/docs/enums/ContentType.html +461 -0
- package/docs/enums/DIRECTION.html +325 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +325 -0
- package/docs/enums/DimensionType.html +315 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +318 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +325 -0
- package/docs/enums/PaintBrushTypeEnum.html +318 -0
- package/docs/enums/PointType.html +315 -0
- package/docs/enums/Rotation.html +322 -0
- package/docs/functions/AreaMakerPlugin.html +295 -0
- package/docs/functions/CSS3DRenderPlugin.html +293 -0
- package/docs/functions/CameraMovementPlugin.html +298 -0
- package/docs/functions/CruisePlugin.html +295 -0
- package/docs/functions/CurrentPanoImagePlugin.html +295 -0
- package/docs/functions/GuideLinePlugin.html +295 -0
- package/docs/functions/ItemLabelPlugin.html +295 -0
- package/docs/functions/MapviewFloorplanPlugin.html +295 -0
- package/docs/functions/ModelChassisCompassPlugin.html +298 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +298 -0
- package/docs/functions/ModelFloorplanPlugin.html +295 -0
- package/docs/functions/ModelItemLabelPlugin.html +295 -0
- package/docs/functions/ModelRoomLabelPlugin.html +293 -0
- package/docs/functions/ModelTVVideoPlugin.html +295 -0
- package/docs/functions/ModelViewPlugin.html +298 -0
- package/docs/functions/MovePlugin.html +295 -0
- package/docs/functions/Object3DHelperPlugin.html +293 -0
- package/docs/functions/PanoCompassPlugin.html +295 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +299 -0
- package/docs/functions/PanoDoorLabelPlugin.html +295 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +295 -0
- package/docs/functions/PanoMeasurePlugin.html +295 -0
- package/docs/functions/PanoRulerPlugin.html +298 -0
- package/docs/functions/PanoRulerProPlugin.html +298 -0
- package/docs/functions/PanoSpatialTagPlugin.html +298 -0
- package/docs/functions/PanoTagPlugin.html +300 -0
- package/docs/functions/PanoVideoPlugin.html +304 -0
- package/docs/functions/PipelinePlugin.html +293 -0
- package/docs/functions/TopviewFloorplanPlugin.html +295 -0
- package/docs/functions/Util.absoluteUrl.html +331 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +334 -0
- package/docs/functions/Util.equal.html +343 -0
- package/docs/functions/Util.getCoordsFromClient.html +333 -0
- package/docs/functions/Util.getCoordsFromElement.html +333 -0
- package/docs/functions/Util.getFrameTime.html +325 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +333 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +333 -0
- package/docs/functions/Util.isAbsoluteURL.html +326 -0
- package/docs/functions/Util.isModelLike.html +326 -0
- package/docs/functions/Util.isNil.html +334 -0
- package/docs/functions/Util.isPanoramaLike.html +326 -0
- package/docs/functions/Util.nextFrame.html +339 -0
- package/docs/functions/Util.notNil.html +334 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +355 -0
- package/docs/functions/Util.tweenProgress.html +328 -0
- package/docs/functions/Util.uuid.html +324 -0
- package/docs/functions/pluginFlag.html +293 -0
- package/docs/index.html +358 -0
- package/docs/interfaces/AddTagConfig.html +308 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +335 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +340 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +626 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +339 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +397 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +382 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +339 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +332 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +331 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +360 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +454 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +330 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +363 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +364 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +366 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +724 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +390 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +426 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +416 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +356 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +324 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +392 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +387 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +526 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +328 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +320 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +342 -0
- package/docs/interfaces/EventMap.html +547 -0
- package/docs/interfaces/FloorplanBounding.html +337 -0
- package/docs/interfaces/FloorplanData.html +340 -0
- package/docs/interfaces/FloorplanEntrance.html +365 -0
- package/docs/interfaces/FloorplanExtraObject.html +355 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +344 -0
- package/docs/interfaces/FloorplanFloorData.html +333 -0
- package/docs/interfaces/FloorplanImagePosition.html +319 -0
- package/docs/interfaces/FloorplanObserver.html +337 -0
- package/docs/interfaces/FloorplanOutlineItem.html +333 -0
- package/docs/interfaces/FloorplanPosition.html +319 -0
- package/docs/interfaces/FloorplanRoomItem.html +407 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +325 -0
- package/docs/interfaces/FloorplanServerBounding.html +337 -0
- package/docs/interfaces/FloorplanServerComputedData.html +336 -0
- package/docs/interfaces/FloorplanServerData.html +319 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +336 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +322 -0
- package/docs/interfaces/FloorplanServerEntrance.html +365 -0
- package/docs/interfaces/FloorplanServerFloorData.html +333 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +319 -0
- package/docs/interfaces/FloorplanServerObserver.html +337 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +333 -0
- package/docs/interfaces/FloorplanServerPosition.html +319 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +419 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +325 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +328 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +367 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +531 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +362 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +353 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +452 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +342 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +352 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +522 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +349 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +532 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +314 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +335 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +360 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +376 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +358 -0
- package/docs/interfaces/HelperOffset.html +337 -0
- package/docs/interfaces/ImagePlaneGroup.html +311 -0
- package/docs/interfaces/ItemLabelPluginData.html +308 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +393 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +329 -0
- package/docs/interfaces/MinMax.html +315 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +315 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +351 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +315 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +322 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +359 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +308 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +393 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +315 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +308 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +329 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +353 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +308 -0
- package/docs/interfaces/ModelViewPluginExportType.html +421 -0
- package/docs/interfaces/Object3DHelperState.html +322 -0
- package/docs/interfaces/ObjectHelperControllers.html +329 -0
- package/docs/interfaces/PaintBrushAction.html +368 -0
- package/docs/interfaces/PaintBrushConfigs.html +366 -0
- package/docs/interfaces/PaintBrushState.html +350 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +430 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +287 -0
- package/docs/interfaces/PanoMeasureParameterType.html +454 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +322 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +319 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +315 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +325 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +382 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +331 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +322 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +358 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +328 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +315 -0
- package/docs/interfaces/PanoRulerProPluginState.html +322 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +301 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +290 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +358 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +340 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +436 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +336 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +357 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +343 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +336 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +328 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +346 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +319 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +425 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +319 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +354 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +373 -0
- package/docs/interfaces/Point.html +322 -0
- package/docs/interfaces/Room.html +329 -0
- package/docs/interfaces/RoomInfo.html +315 -0
- package/docs/interfaces/RoomLabel.html +391 -0
- package/docs/interfaces/RoomRules.html +290 -0
- package/docs/interfaces/Rooms.html +290 -0
- package/docs/interfaces/Scissor.html +349 -0
- package/docs/interfaces/State.html +336 -0
- package/docs/interfaces/TagCacheInterface.html +367 -0
- package/docs/interfaces/TagConfig.html +570 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +311 -0
- package/docs/interfaces/TagIconUrl.html +368 -0
- package/docs/interfaces/TagObjectGroup.html +311 -0
- package/docs/interfaces/TagStyle.html +321 -0
- package/docs/interfaces/Tags.html +2825 -0
- package/docs/interfaces/TemporaryState.html +308 -0
- package/docs/interfaces/Util.MagnifierParameter.html +396 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +355 -0
- package/docs/interfaces/Util.PointIntersection.html +370 -0
- package/docs/modules/AreaMakerPluginType.html +330 -0
- package/docs/modules/CruisePluginTypes.html +333 -0
- package/docs/modules/CurrentPanoImagePluginType.html +302 -0
- package/docs/modules/GuideLineItem.html +294 -0
- package/docs/modules/GuideLineModeItem.html +299 -0
- package/docs/modules/GuideLinePluginType.html +355 -0
- package/docs/modules/PanoVideoPluginType.html +306 -0
- package/docs/modules/Util.html +356 -0
- package/docs/modules.html +564 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +359 -0
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +325 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +307 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +307 -0
- package/docs/types/ArrayPosition.html +284 -0
- package/docs/types/AudioAppearance.html +284 -0
- package/docs/types/AudioTagTypeConfigKey.html +284 -0
- package/docs/types/CSS3DRenderExportType.html +284 -0
- package/docs/types/CSS3DRenderPluginExportType.html +284 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +284 -0
- package/docs/types/ClassFunctionParameters.html +291 -0
- package/docs/types/Color.html +284 -0
- package/docs/types/ContentTypeConfigKey.html +284 -0
- package/docs/types/ContentTypeConfigKeySplit.html +284 -0
- package/docs/types/ContentTypeMap.html +284 -0
- package/docs/types/Create3DDomContainerReturnType.html +284 -0
- package/docs/types/Create3DElementReturnType.html +284 -0
- package/docs/types/CruisePluginExportType.html +284 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +323 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +300 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +284 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +296 -0
- package/docs/types/DeprecatedTagProperty.html +299 -0
- package/docs/types/Direction-1.html +284 -0
- package/docs/types/Direction4.html +284 -0
- package/docs/types/ElementRenderer.html +308 -0
- package/docs/types/FloorplanRuleLabels.html +287 -0
- package/docs/types/FloorplanServerRuleLabels.html +284 -0
- package/docs/types/GuideLinePluginExportType.html +284 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +357 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +378 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +311 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +314 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +314 -0
- package/docs/types/GuideLinePluginType.PathItem.html +314 -0
- package/docs/types/GuideLinePluginType.PluginData.html +323 -0
- package/docs/types/HelperEventMap.html +429 -0
- package/docs/types/InternalHelperEventMap.html +380 -0
- package/docs/types/LoadTagConfig.html +284 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +284 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +284 -0
- package/docs/types/MediaData.html +305 -0
- package/docs/types/MediaStore.html +289 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +291 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +284 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +284 -0
- package/docs/types/ModelId.html +284 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +284 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +284 -0
- package/docs/types/MoveArgs.html +294 -0
- package/docs/types/MoveOpts.html +292 -0
- package/docs/types/Object3DHelperEventMap.html +377 -0
- package/docs/types/ObjectFit.html +284 -0
- package/docs/types/PaintBrushEventMap.html +315 -0
- package/docs/types/PanoCompassPluginData.html +284 -0
- package/docs/types/PanoCompassPluginExportType.html +284 -0
- package/docs/types/PanoCompassPluginParameterType.html +284 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +284 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +284 -0
- package/docs/types/PanoIndex.html +284 -0
- package/docs/types/PanoMeasurePluginEvent.html +284 -0
- package/docs/types/PanoMeasureReturnType.html +284 -0
- package/docs/types/PanoSpatialTagPluginId.html +284 -0
- package/docs/types/PanoTagPluginExportInterface.html +284 -0
- package/docs/types/PanoTagPluginParamsInterface.html +284 -0
- package/docs/types/PanoVideoPluginParameterType.html +284 -0
- package/docs/types/PanoVideoPluginReturnType.html +284 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +292 -0
- package/docs/types/PipelinePluginParameterType.html +284 -0
- package/docs/types/PipelinePluginReturnType.html +284 -0
- package/docs/types/PlaneTag.html +292 -0
- package/docs/types/Point2DTag.html +292 -0
- package/docs/types/Point3DTag.html +292 -0
- package/docs/types/PointTag.html +289 -0
- package/docs/types/PointTagInstance.html +289 -0
- package/docs/types/Position.html +284 -0
- package/docs/types/RotateArgs.html +296 -0
- package/docs/types/RotateOpts.html +292 -0
- package/docs/types/RuleLabelsKey.html +284 -0
- package/docs/types/RuleLabelsValue.html +284 -0
- package/docs/types/StickType.html +284 -0
- package/docs/types/Tag.html +350 -0
- package/docs/types/Tag2D.html +292 -0
- package/docs/types/Tag3D.html +292 -0
- package/docs/types/TagConfigByKey.html +289 -0
- package/docs/types/TagContentType.html +284 -0
- package/docs/types/TagContentTypeMapping.html +284 -0
- package/docs/types/TagDimensionType.html +286 -0
- package/docs/types/TagElement.html +294 -0
- package/docs/types/TagEvents.html +337 -0
- package/docs/types/TagGLTFObject.html +307 -0
- package/docs/types/TagHooks.html +284 -0
- package/docs/types/TagId.html +284 -0
- package/docs/types/TagInstance.html +362 -0
- package/docs/types/TagPointType.html +287 -0
- package/docs/types/TagRendererMap.html +291 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +284 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +284 -0
- package/docs/types/WorkCode.html +284 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +294 -0
- package/docs/variables/PLUGIN.html +284 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +287 -0
- package/docs/variables/ROOM_TYPE_MAP.html +294 -0
- package/docs/variables/defaultGlobalConfig.html +284 -0
- package/docs/variables/itemLabelPluginServerParams.html +291 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +291 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +291 -0
- package/libs/PanoTagPlugin/Components/TagItem.js +235 -273
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +70 -62
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -0
- package/libs/PanoTagPlugin/controller/TagUtil.js +22 -20
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +68 -62
- package/libs/PanoTagPlugin/tag.config.js +5 -0
- package/libs/PanoTagPlugin/typings/controller.d.ts +17 -16
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +3 -2
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var B = Object.defineProperty, V = Object.defineProperties;
|
|
2
|
+
var k = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var P = Object.getOwnPropertySymbols;
|
|
4
4
|
var M = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var y = (
|
|
6
|
-
for (var e in
|
|
7
|
-
M.call(
|
|
5
|
+
var y = (l, h, e) => h in l ? B(l, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[h] = e, c = (l, h) => {
|
|
6
|
+
for (var e in h || (h = {}))
|
|
7
|
+
M.call(h, e) && y(l, e, h[e]);
|
|
8
8
|
if (P)
|
|
9
|
-
for (var e of P(
|
|
10
|
-
O.call(
|
|
11
|
-
return
|
|
12
|
-
}, T = (
|
|
13
|
-
var f = (
|
|
14
|
-
var g = (
|
|
9
|
+
for (var e of P(h))
|
|
10
|
+
O.call(h, e) && y(l, e, h[e]);
|
|
11
|
+
return l;
|
|
12
|
+
}, T = (l, h) => V(l, k(h));
|
|
13
|
+
var f = (l, h, e) => (y(l, typeof h != "symbol" ? h + "" : h, e), e);
|
|
14
|
+
var g = (l, h, e) => new Promise((t, i) => {
|
|
15
15
|
var s = (r) => {
|
|
16
16
|
try {
|
|
17
17
|
n(e.next(r));
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
18
|
+
} catch (a) {
|
|
19
|
+
i(a);
|
|
20
20
|
}
|
|
21
21
|
}, o = (r) => {
|
|
22
22
|
try {
|
|
23
23
|
n(e.throw(r));
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
24
|
+
} catch (a) {
|
|
25
|
+
i(a);
|
|
26
26
|
}
|
|
27
27
|
}, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(s, o);
|
|
28
|
-
n((e = e.apply(
|
|
28
|
+
n((e = e.apply(l, h)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as C from "three";
|
|
31
31
|
import { Subscribe as _ } from "@realsee/five";
|
|
@@ -35,21 +35,21 @@ import { arrayPositionToVector3 as w } from "../../shared-utils/positionToVector
|
|
|
35
35
|
import { isMediaModelTag as L, isModelTag as G } from "../utils/tag/tagCheck.js";
|
|
36
36
|
import { debounce as N } from "../utils/debounce.js";
|
|
37
37
|
import { throttle as S } from "../utils/throttle.js";
|
|
38
|
-
import x, { getTagStickType as
|
|
39
|
-
import { generateBlankAudio as
|
|
38
|
+
import x, { getTagStickType as W } from "../utils/tag/format.js";
|
|
39
|
+
import { generateBlankAudio as z, AudioNamespace as $ } from "../../shared-utils/audio.js";
|
|
40
40
|
import { resizeObserver as U } from "../../shared-utils/dom/resizeObserver.js";
|
|
41
|
-
import { TagRender as
|
|
42
|
-
import { uuid as
|
|
41
|
+
import { TagRender as H } from "./TagRender.js";
|
|
42
|
+
import { uuid as j } from "../../shared-utils/uuid.js";
|
|
43
43
|
import { isModelLike as q } from "../../shared-utils/five/mode.js";
|
|
44
44
|
import "hammerjs";
|
|
45
45
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
46
46
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
47
47
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
48
|
-
import { waitFiveModelLoaded as
|
|
48
|
+
import { waitFiveModelLoaded as J } from "../../shared-utils/five/fiveModelLoad.js";
|
|
49
49
|
import { blink as Q, reblink as Y } from "../../shared-utils/three/blink.js";
|
|
50
50
|
import { tweenProgress as Z } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
51
51
|
import { DebugUtil as K } from "../utils/DebugUtil.js";
|
|
52
|
-
import { safeObj as
|
|
52
|
+
import { safeObj as F } from "../../shared-utils/safeObj.js";
|
|
53
53
|
import { sleep as X } from "../../CruisePlugin/utils/sleep.js";
|
|
54
54
|
import "./TagComputer.js";
|
|
55
55
|
import "../utils/tagPosition.js";
|
|
@@ -175,8 +175,8 @@ import "../Components/Common/TagPoint.js";
|
|
|
175
175
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
176
176
|
import "@realsee/five/gltf-loader";
|
|
177
177
|
import "../../shared-utils/animationFrame/index.js";
|
|
178
|
-
const
|
|
179
|
-
class
|
|
178
|
+
const E = "Dnalogel-PanoTagPlugin", xi = (l) => `${E}--${l}`;
|
|
179
|
+
class Wi extends H {
|
|
180
180
|
constructor(e, t) {
|
|
181
181
|
super(e);
|
|
182
182
|
/** state */
|
|
@@ -249,6 +249,11 @@ class zi extends j {
|
|
|
249
249
|
f(this, "handleFiveCameraUpdate", () => {
|
|
250
250
|
this.setPointTagPosition(), this.updateDomView();
|
|
251
251
|
});
|
|
252
|
+
f(this, "handleFiveCameraFovUpdate", () => {
|
|
253
|
+
this.handleFiveCameraUpdate(), requestAnimationFrame(() => {
|
|
254
|
+
this.updateRenderAllTags();
|
|
255
|
+
});
|
|
256
|
+
});
|
|
252
257
|
f(this, "handleFivePanoArrived", () => g(this, null, function* () {
|
|
253
258
|
this.setVisible(), this.setPointTagPosition(), this.updateDomView(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
|
|
254
259
|
e.temporaryState = T(c({}, e.temporaryState), { visible: !0 });
|
|
@@ -256,16 +261,16 @@ class zi extends j {
|
|
|
256
261
|
var t;
|
|
257
262
|
return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
|
|
258
263
|
}).forEach((e) => {
|
|
259
|
-
var
|
|
260
|
-
const t = new C.Mesh(new C.BoxGeometry(), new C.MeshBasicMaterial()), i = (
|
|
264
|
+
var a;
|
|
265
|
+
const t = new C.Mesh(new C.BoxGeometry(), new C.MeshBasicMaterial()), i = (a = e.model) == null ? void 0 : a.object;
|
|
261
266
|
if (!i)
|
|
262
267
|
return;
|
|
263
268
|
t.position.copy(i.position), t.quaternion.copy(i.quaternion);
|
|
264
269
|
const s = this.five.camera.position;
|
|
265
270
|
t.lookAt(s.clone().setY(t.position.y));
|
|
266
271
|
const o = i.quaternion.clone(), n = t.quaternion.clone(), r = Z();
|
|
267
|
-
r.onUpdate(({ progress:
|
|
268
|
-
i.quaternion.copy(o.clone().slerp(n,
|
|
272
|
+
r.onUpdate(({ progress: d }) => {
|
|
273
|
+
i.quaternion.copy(o.clone().slerp(n, d));
|
|
269
274
|
}), r.play();
|
|
270
275
|
}), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
|
|
271
276
|
}));
|
|
@@ -276,7 +281,7 @@ class zi extends j {
|
|
|
276
281
|
f(this, "onFiveEveryReady", () => {
|
|
277
282
|
this.setUnfoldedByCamera(), q(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 });
|
|
278
283
|
});
|
|
279
|
-
this.params = m({}, { debug: !1, config: this.config }, c({}, t)), this.debug = this.params.debug, this.config = this.params.config,
|
|
284
|
+
this.params = m({}, { debug: !1, config: this.config }, c({}, t)), this.debug = this.params.debug, this.config = this.params.config, z(1, { namespace: $.PlayAudio });
|
|
280
285
|
try {
|
|
281
286
|
Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
|
|
282
287
|
get: function() {
|
|
@@ -298,7 +303,7 @@ class zi extends j {
|
|
|
298
303
|
load(e, t) {
|
|
299
304
|
return g(this, null, function* () {
|
|
300
305
|
var s, o;
|
|
301
|
-
this.clearTags(), console.debug(
|
|
306
|
+
this.clearTags(), console.debug(E, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = m({}, this.config, {
|
|
302
307
|
globalConfig: (s = e.globalConfig) != null ? s : {},
|
|
303
308
|
contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
|
|
304
309
|
}), this.store.visibleWithAnimation = !0;
|
|
@@ -318,30 +323,30 @@ class zi extends j {
|
|
|
318
323
|
addTag(e, t) {
|
|
319
324
|
return g(this, null, function* () {
|
|
320
325
|
const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
|
|
321
|
-
var b,
|
|
322
|
-
o.stickType =
|
|
323
|
-
const n = JSON.parse(JSON.stringify(o.data)), r = (
|
|
326
|
+
var v, b, A, D;
|
|
327
|
+
o.stickType = W(o);
|
|
328
|
+
const n = JSON.parse(JSON.stringify(o.data)), r = (v = o.initialConfig) != null ? v : o.config ? JSON.parse(JSON.stringify(o.config)) : {};
|
|
324
329
|
o.initialConfig = r;
|
|
325
|
-
const
|
|
326
|
-
o.config =
|
|
330
|
+
const a = this.calculateTagConfig(o), d = this.getTagConfig(o);
|
|
331
|
+
o.config = d;
|
|
327
332
|
const p = T(c({}, o), {
|
|
328
|
-
enabled: (
|
|
329
|
-
id: (
|
|
330
|
-
data: (
|
|
333
|
+
enabled: (b = o.enabled) != null ? b : !0,
|
|
334
|
+
id: (A = o.id) != null ? A : j(),
|
|
335
|
+
data: (D = d.initialData) != null && D.important ? m(o.data, n, d.initialData) : m(o.data, d.initialData, n),
|
|
331
336
|
state: c({
|
|
332
337
|
visible: void 0,
|
|
333
338
|
unfolded: !this.can("fold", o)
|
|
334
|
-
},
|
|
339
|
+
}, d.initialState),
|
|
335
340
|
hooks: new _(),
|
|
336
341
|
originPosition: o.position,
|
|
337
342
|
position: (() => {
|
|
338
343
|
const u = this.getTransformedPostion(o.position);
|
|
339
|
-
return Array.isArray(u) ? u.map((
|
|
344
|
+
return Array.isArray(u) ? u.map((I) => I.toArray()) : u.toArray();
|
|
340
345
|
})(),
|
|
341
346
|
matrix: o.matrix ? this.getTransformedMatrix(o.matrix) : o.matrix,
|
|
342
347
|
initialConfig: r,
|
|
343
|
-
computedConfig:
|
|
344
|
-
config:
|
|
348
|
+
computedConfig: a,
|
|
349
|
+
config: d,
|
|
345
350
|
unfold: () => this.changeUnfoldedById(p.id, !0),
|
|
346
351
|
fold: () => this.changeUnfoldedById(p.id, !1),
|
|
347
352
|
enable: () => this.changeEnabledById(p.id, !0),
|
|
@@ -353,9 +358,9 @@ class zi extends j {
|
|
|
353
358
|
});
|
|
354
359
|
return p;
|
|
355
360
|
});
|
|
356
|
-
return s.forEach(x), this.tags.push(...s), this.tagsLengthWillUpdate = !0,
|
|
357
|
-
var o, n, r;
|
|
358
|
-
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: (
|
|
361
|
+
return s.forEach(x), this.tags.push(...s), this.tagsLengthWillUpdate = !0, J(this.five).then(() => g(this, null, function* () {
|
|
362
|
+
var o, n, r, a, d;
|
|
363
|
+
this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.renderHeightPx || (this.renderHeightPx = (r = this.five.getElement()) == null ? void 0 : r.clientHeight, this.renderWidthPx = (a = this.five.getElement()) == null ? void 0 : a.clientWidth), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (d = t == null ? void 0 : t.withAnimation) != null ? d : !0 }), this.updateRenderAllTags();
|
|
359
364
|
}));
|
|
360
365
|
});
|
|
361
366
|
}
|
|
@@ -417,8 +422,8 @@ class zi extends j {
|
|
|
417
422
|
dispose() {
|
|
418
423
|
var e, t, i, s, o, n;
|
|
419
424
|
this.tagsLengthWillUpdate = !0, this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
|
|
420
|
-
var
|
|
421
|
-
return (
|
|
425
|
+
var a;
|
|
426
|
+
return (a = r.tag3DContentSvelte) == null ? void 0 : a.svelteApp.$destroy();
|
|
422
427
|
}), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (s = (i = this.store).eventListenerDisposer) == null || s.call(i), this.store.eventListenerDisposer = void 0, (n = (o = this.store).resizeObserverDisposer) == null || n.call(o), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.clearCache(), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
|
|
423
428
|
}
|
|
424
429
|
/**
|
|
@@ -428,16 +433,16 @@ class zi extends j {
|
|
|
428
433
|
*/
|
|
429
434
|
blinkTagById(e, t) {
|
|
430
435
|
return g(this, null, function* () {
|
|
431
|
-
var
|
|
436
|
+
var d, p;
|
|
432
437
|
const i = this.getTagById(e);
|
|
433
438
|
if (!i)
|
|
434
439
|
return;
|
|
435
|
-
const s = (
|
|
440
|
+
const s = (d = i.enabled) != null ? d : !0, o = (p = i.state) == null ? void 0 : p.visible, n = s && o;
|
|
436
441
|
n === !1 && (i.state.visible = !0, i.enabled = !0, this.setPointTagPosition(), this.updateTag(i), this.updateDomView(), yield X(0), i.dom && (i.dom.style.visibility = "hidden"), i.contentDom && (i.contentDom.style.visibility = "hidden"));
|
|
437
442
|
const r = (() => {
|
|
438
|
-
var
|
|
439
|
-
const
|
|
440
|
-
return
|
|
443
|
+
var b;
|
|
444
|
+
const v = [];
|
|
445
|
+
return v.push(i.dom), i.stickType !== "2DPoint" && v.push(i.contentDom), v.push((b = i.model) == null ? void 0 : b.object), v.push(i.mediaPlane), v.filter(Boolean);
|
|
441
446
|
})();
|
|
442
447
|
if (!r.length)
|
|
443
448
|
return;
|
|
@@ -572,8 +577,8 @@ class zi extends j {
|
|
|
572
577
|
this.onFiveEveryReady(), i = !1;
|
|
573
578
|
}));
|
|
574
579
|
}, 150);
|
|
575
|
-
return e.on("cameraUpdate", s), this.updateVisible(), this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("models.refined", this.onFiveEveryReady), e.on("modeChange", this.handleFiveModeChange), e.on("initAnimationEnded", this.updateVisible), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), t.on("click", this.clickhandler), () => {
|
|
576
|
-
e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("models.refined", this.onFiveEveryReady), e.off("modeChange", this.handleFiveModeChange), e.off("initAnimationEnded", this.updateVisible), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraUpdate", s), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), t.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
|
|
580
|
+
return e.on("cameraUpdate", s), this.updateVisible(), this.handleFivePanoArrived(), e.on("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.on("models.refined", this.onFiveEveryReady), e.on("modeChange", this.handleFiveModeChange), e.on("initAnimationEnded", this.updateVisible), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", this.handleFiveCameraUpdate), e.on("cameraFovUpdate", this.handleFiveCameraFovUpdate), e.on("panoArrived", this.handleFivePanoArrived), e.on("panoArrived", this.loadVideoFirstFrame), t.on("click", this.clickhandler), () => {
|
|
581
|
+
e.off("wantsMoveToPano", this.handleFiveWantsMoveToPano), e.off("models.refined", this.onFiveEveryReady), e.off("modeChange", this.handleFiveModeChange), e.off("initAnimationEnded", this.updateVisible), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", this.handleFiveCameraUpdate), e.off("cameraFovUpdate", this.handleFiveCameraFovUpdate), e.off("cameraUpdate", s), e.off("panoArrived", this.handleFivePanoArrived), e.off("panoArrived", this.loadVideoFirstFrame), t.off("click", this.clickhandler), this.store.eventListenerDisposer = void 0;
|
|
577
582
|
};
|
|
578
583
|
}
|
|
579
584
|
addResizeListener() {
|
|
@@ -585,10 +590,11 @@ class zi extends j {
|
|
|
585
590
|
}
|
|
586
591
|
}
|
|
587
592
|
addResizeObserver() {
|
|
588
|
-
if (
|
|
593
|
+
if (this.store.disposed)
|
|
589
594
|
return;
|
|
590
595
|
const e = this.five.getElement(), t = () => {
|
|
591
|
-
|
|
596
|
+
var a, d;
|
|
597
|
+
this.state.enabled && (this.renderWidthPx = (a = this.five.getElement()) == null ? void 0 : a.clientWidth, this.renderHeightPx = (d = this.five.getElement()) == null ? void 0 : d.clientHeight, this.show(), this.updateRenderPointTag());
|
|
592
598
|
}, i = () => {
|
|
593
599
|
this.state.enabled && this.hide();
|
|
594
600
|
}, { observe: s, unobserve: o } = U(
|
|
@@ -611,22 +617,22 @@ class zi extends j {
|
|
|
611
617
|
if (t.state && i !== void 0) {
|
|
612
618
|
if (i === !0 && t.screenPosition) {
|
|
613
619
|
const s = this.getTagConfig(t).unfoldedConfig;
|
|
614
|
-
|
|
620
|
+
F(s).keep !== "unfolded" && (e = !0);
|
|
615
621
|
}
|
|
616
622
|
t.state.unfolded = i;
|
|
617
623
|
}
|
|
618
624
|
}), e && this.filterPointTag.forEach((t) => {
|
|
619
625
|
const i = this.getTagConfig(t).unfoldedConfig;
|
|
620
|
-
typeof i == "object" && (i.autoUnfold || i.autoUnfold === !1 ||
|
|
626
|
+
typeof i == "object" && (i.autoUnfold || i.autoUnfold === !1 || F(i.autoUnfold).enable === !1 || i.keep) || t.state && (t.state.unfolded = !1);
|
|
621
627
|
});
|
|
622
628
|
}
|
|
623
629
|
changeTagMode(e, t) {
|
|
624
|
-
var i, s, o, n, r,
|
|
625
|
-
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (
|
|
630
|
+
var i, s, o, n, r, a;
|
|
631
|
+
((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (a = this.store.css3DRenderDisposer.get(e.id)) == null || a.forEach((d) => d == null ? void 0 : d()), e.tag3DContentSvelte = void 0);
|
|
626
632
|
}
|
|
627
633
|
}
|
|
628
634
|
export {
|
|
629
|
-
|
|
630
|
-
|
|
635
|
+
Wi as PanoTagPluginController,
|
|
636
|
+
Wi as default,
|
|
631
637
|
xi as pluginFlag
|
|
632
638
|
};
|
|
@@ -13,23 +13,24 @@ export type LoadTagConfig = AddTagConfig;
|
|
|
13
13
|
export interface TemporaryState {
|
|
14
14
|
visible?: boolean;
|
|
15
15
|
}
|
|
16
|
+
export type TagClickParams = {
|
|
17
|
+
event: Event;
|
|
18
|
+
} & ({
|
|
19
|
+
target: 'TagPoint';
|
|
20
|
+
tag: PointTagInstance;
|
|
21
|
+
} | {
|
|
22
|
+
target: 'TagContent';
|
|
23
|
+
tag: TagInstance;
|
|
24
|
+
} | {
|
|
25
|
+
target: 'AudioTagPlayIcon';
|
|
26
|
+
tag: TagInstance;
|
|
27
|
+
audioInstance: HTMLAudioElement;
|
|
28
|
+
} | {
|
|
29
|
+
target: 'TagModel';
|
|
30
|
+
tag: TagInstance<'Model', 'Model'> | TagInstance<'MediaModel', 'Model'>;
|
|
31
|
+
});
|
|
16
32
|
export interface EventMap extends BasePlugin.EventMap<State> {
|
|
17
|
-
click: (params:
|
|
18
|
-
event: Event;
|
|
19
|
-
} & ({
|
|
20
|
-
target: 'TagPoint';
|
|
21
|
-
tag: PointTagInstance;
|
|
22
|
-
} | {
|
|
23
|
-
target: 'TagContent';
|
|
24
|
-
tag: TagInstance;
|
|
25
|
-
} | {
|
|
26
|
-
target: 'AudioTagPlayIcon';
|
|
27
|
-
tag: TagInstance;
|
|
28
|
-
audioInstance: HTMLAudioElement;
|
|
29
|
-
} | {
|
|
30
|
-
target: 'TagModel';
|
|
31
|
-
tag: TagInstance<'Model', 'Model'> | TagInstance<'MediaModel', 'Model'>;
|
|
32
|
-
})) => void;
|
|
33
|
+
click: (params: TagClickParams) => void;
|
|
33
34
|
playStateChange: (params: {
|
|
34
35
|
event: Event;
|
|
35
36
|
state: 'playing' | 'paused';
|
|
@@ -14,8 +14,9 @@ import type anime from 'animejs';
|
|
|
14
14
|
type RequiredTag<C extends TagContentType = TagContentType, S extends StickType = StickType> = SetRequired<Tag<C, S>, 'id' | 'data' | 'enabled' | 'config' | 'stickType' | 'contentType'>;
|
|
15
15
|
export type TagInstance<C extends TagContentType = TagContentType, S extends StickType = StickType> = RequiredTag<C, S> & Partial<{
|
|
16
16
|
screenPosition: {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
leftPx: number;
|
|
18
|
+
topPx: number;
|
|
19
|
+
scale: number;
|
|
19
20
|
} | null;
|
|
20
21
|
zIndex?: number;
|
|
21
22
|
temporaryState: {
|
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
|
+
"%c %c@realsee/dnalogel %cv3.42.0-alpha-tag.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",
|