@realsee/dnalogel 2.30.3 → 3.0.0-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/CSS3DRenderPlugin/Controller.d.ts +3 -2
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +3 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +6 -12
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +5 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +12 -6
- package/dist/PanoTagPlugin/controller/index.d.ts +2 -6
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +3 -2
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +66 -20
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +7 -2
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +8 -3
- package/dist/PanoTagPlugin/utils/index.d.ts +0 -2
- package/dist/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/dist/PanoTagPlugin/utils/tag/adaptConfig.d.ts +2 -0
- package/dist/floorplan/utils/correctFiveState.d.ts +1 -1
- package/dist/index.cjs.js +57 -57
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4749 -4758
- package/dist/index.umd.js +48 -48
- package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -3
- package/dist/shared-utils/five/adapt.d.ts +9 -0
- package/dist/shared-utils/five/fiveModelLoad.d.ts +9 -0
- package/dist/shared-utils/getPxmm.d.ts +1 -1
- package/dist/shared-utils/typescript/entries.d.ts +2 -0
- 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/CSS3DRenderPlugin/Controller.d.ts +3 -2
- package/libs/CSS3DRenderPlugin/Controller.js +4 -3
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +3 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +11 -11
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +68 -66
- package/libs/CruisePlugin/Controller.js +5 -3
- package/libs/CruisePlugin/index.js +8 -6
- package/libs/CurrentPanoImagePlugin/Controller.js +21 -18
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/Controller.js +7 -5
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -3
- package/libs/GuideLinePlugin/index.js +10 -8
- package/libs/PanoSpatialTagPlugin/Plugin.js +6 -18
- package/libs/PanoTagPlugin/Components/Tag/index.js +70 -71
- package/libs/PanoTagPlugin/Components/TagContainer.js +32 -33
- package/libs/PanoTagPlugin/Components/TagItem.js +115 -116
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +3 -3
- package/libs/PanoTagPlugin/controller/TagCache.js +14 -14
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +6 -12
- package/libs/PanoTagPlugin/controller/TagComputer.js +168 -199
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +5 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +138 -117
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +12 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +178 -152
- package/libs/PanoTagPlugin/controller/index.d.ts +2 -6
- package/libs/PanoTagPlugin/controller/index.js +140 -148
- package/libs/PanoTagPlugin/index.js +16 -13
- package/libs/PanoTagPlugin/tag.config.js +11 -3
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +3 -2
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +66 -20
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +7 -2
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +8 -3
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -1
- package/libs/PanoTagPlugin/utils/index.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/index.js +23 -31
- package/libs/PanoTagPlugin/utils/planeNormal.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.js +7 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -2
- package/libs/floorplan/utils/correctFiveState.d.ts +1 -1
- package/libs/floorplan/utils/correctFiveState.js +30 -29
- package/libs/index.d.ts +1 -0
- package/libs/index.js +120 -117
- package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -3
- package/libs/shared-utils/five/FiveDomEvents.js +50 -56
- package/libs/shared-utils/five/adapt.d.ts +9 -0
- package/libs/shared-utils/five/adapt.js +16 -0
- package/libs/shared-utils/five/fiveModelLoad.d.ts +9 -0
- package/libs/shared-utils/five/fiveModelLoad.js +29 -0
- package/libs/shared-utils/five/mode.js +5 -5
- package/libs/shared-utils/getPxmm.d.ts +1 -1
- package/libs/shared-utils/getPxmm.js +1 -3
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/typescript/entries.d.ts +2 -0
- package/libs/shared-utils/typescript/entries.js +6 -0
- package/package.json +2 -6
- package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +0 -4
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +0 -4
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +0 -16
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
1
|
+
import { SvelteComponent as O, init as Q, safe_not_equal as U, append_styles as W, element as C, space as X, attr as c, null_to_empty as V, set_style as k, toggle_class as h, insert as M, append as j, transition_out as y, check_outros as B, transition_in as w, detach as z, getContext as Y, group_outros as E, noop as S, create_component as H, mount_component as J, destroy_component as K } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import Z from "./Tag/index.js";
|
|
3
3
|
import "three";
|
|
4
|
-
import { noTypecheck as
|
|
5
|
-
import
|
|
6
|
-
import { classnames as
|
|
4
|
+
import { noTypecheck as F } from "../utils/noTypecheck.js";
|
|
5
|
+
import x from "./Common/TagPoint.js";
|
|
6
|
+
import { classnames as G } from "../../vendor/classnames/index.js";
|
|
7
7
|
import "./Tag/TextTag/index.js";
|
|
8
8
|
import "./Tag/TextTag/TextTag.js";
|
|
9
9
|
import "./Common/Line/Straight.js";
|
|
@@ -77,7 +77,6 @@ import "../../shared-utils/three/centerPoint.js";
|
|
|
77
77
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
78
78
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
79
79
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
80
|
-
import "../utils/tag/tagCheck.js";
|
|
81
80
|
import "./Tag/AudioTag/index.js";
|
|
82
81
|
import "./Tag/AudioTag/AudioTag.js";
|
|
83
82
|
import "./Common/Audio.js";
|
|
@@ -90,37 +89,37 @@ import "./Tag/LinkTag.js";
|
|
|
90
89
|
import "./Common/Icon/Icon.js";
|
|
91
90
|
import "../utils/getImageInfo.js";
|
|
92
91
|
import "./Tag/CustomTag.js";
|
|
93
|
-
function
|
|
94
|
-
|
|
92
|
+
function $(i) {
|
|
93
|
+
W(i, "svelte-xivfho", ".tag.svelte-xivfho{position:absolute;left:0;top:0;width:100%;height:100%}.tag.withAnimation.svelte-xivfho{transition:opacity 0.3s linear}.tag.hide.svelte-xivfho{opacity:0;pointer-events:none}.tag.hide.svelte-xivfho *{pointer-events:none !important}.tag.unClickable.svelte-xivfho{pointer-events:none !important}.tag.unClickable.svelte-xivfho *{pointer-events:none !important}.tag.disable.svelte-xivfho{display:none}.wrapper.svelte-xivfho{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
|
|
95
94
|
}
|
|
96
|
-
function
|
|
95
|
+
function tt(i) {
|
|
97
96
|
let e;
|
|
98
97
|
return {
|
|
99
98
|
c() {
|
|
100
|
-
e =
|
|
99
|
+
e = C("div"), c(e, "data-info", "tag point is disable");
|
|
101
100
|
},
|
|
102
101
|
m(t, o) {
|
|
103
|
-
|
|
102
|
+
M(t, e, o);
|
|
104
103
|
},
|
|
105
|
-
p:
|
|
106
|
-
i:
|
|
107
|
-
o:
|
|
104
|
+
p: S,
|
|
105
|
+
i: S,
|
|
106
|
+
o: S,
|
|
108
107
|
d(t) {
|
|
109
|
-
t &&
|
|
108
|
+
t && z(e);
|
|
110
109
|
}
|
|
111
110
|
};
|
|
112
111
|
}
|
|
113
|
-
function
|
|
112
|
+
function et(i) {
|
|
114
113
|
let e, t;
|
|
115
|
-
return e = new
|
|
114
|
+
return e = new x({ props: { tag: (
|
|
116
115
|
/*tag*/
|
|
117
116
|
i[1]
|
|
118
117
|
) } }), {
|
|
119
118
|
c() {
|
|
120
|
-
|
|
119
|
+
H(e.$$.fragment);
|
|
121
120
|
},
|
|
122
121
|
m(o, n) {
|
|
123
|
-
|
|
122
|
+
J(e, o, n), t = !0;
|
|
124
123
|
},
|
|
125
124
|
p(o, n) {
|
|
126
125
|
const l = {};
|
|
@@ -129,36 +128,36 @@ function ot(i) {
|
|
|
129
128
|
o[1]), e.$set(l);
|
|
130
129
|
},
|
|
131
130
|
i(o) {
|
|
132
|
-
t || (
|
|
131
|
+
t || (w(e.$$.fragment, o), t = !0);
|
|
133
132
|
},
|
|
134
133
|
o(o) {
|
|
135
|
-
|
|
134
|
+
y(e.$$.fragment, o), t = !1;
|
|
136
135
|
},
|
|
137
136
|
d(o) {
|
|
138
|
-
|
|
137
|
+
K(e, o);
|
|
139
138
|
}
|
|
140
139
|
};
|
|
141
140
|
}
|
|
142
|
-
function
|
|
141
|
+
function it(i) {
|
|
143
142
|
let e;
|
|
144
143
|
return {
|
|
145
144
|
c() {
|
|
146
|
-
e =
|
|
145
|
+
e = C("div"), c(e, "data-info", "tag content is disable");
|
|
147
146
|
},
|
|
148
147
|
m(t, o) {
|
|
149
|
-
|
|
148
|
+
M(t, e, o);
|
|
150
149
|
},
|
|
151
|
-
p:
|
|
152
|
-
i:
|
|
153
|
-
o:
|
|
150
|
+
p: S,
|
|
151
|
+
i: S,
|
|
152
|
+
o: S,
|
|
154
153
|
d(t) {
|
|
155
|
-
t &&
|
|
154
|
+
t && z(e);
|
|
156
155
|
}
|
|
157
156
|
};
|
|
158
157
|
}
|
|
159
|
-
function
|
|
158
|
+
function ot(i) {
|
|
160
159
|
let e, t;
|
|
161
|
-
return e = new
|
|
160
|
+
return e = new Z({
|
|
162
161
|
props: {
|
|
163
162
|
mediaStore: (
|
|
164
163
|
/*mediaStore*/
|
|
@@ -168,7 +167,7 @@ function nt(i) {
|
|
|
168
167
|
/*withAnimation*/
|
|
169
168
|
i[0]
|
|
170
169
|
),
|
|
171
|
-
tag:
|
|
170
|
+
tag: F(
|
|
172
171
|
/*tag*/
|
|
173
172
|
i[1]
|
|
174
173
|
),
|
|
@@ -191,10 +190,10 @@ function nt(i) {
|
|
|
191
190
|
}
|
|
192
191
|
}), {
|
|
193
192
|
c() {
|
|
194
|
-
|
|
193
|
+
H(e.$$.fragment);
|
|
195
194
|
},
|
|
196
195
|
m(o, n) {
|
|
197
|
-
|
|
196
|
+
J(e, o, n), t = !0;
|
|
198
197
|
},
|
|
199
198
|
p(o, n) {
|
|
200
199
|
const l = {};
|
|
@@ -203,7 +202,7 @@ function nt(i) {
|
|
|
203
202
|
o[2]), n & /*withAnimation*/
|
|
204
203
|
1 && (l.withAnimation = /*withAnimation*/
|
|
205
204
|
o[0]), n & /*tag*/
|
|
206
|
-
2 && (l.tag =
|
|
205
|
+
2 && (l.tag = F(
|
|
207
206
|
/*tag*/
|
|
208
207
|
o[1]
|
|
209
208
|
)), n & /*state*/
|
|
@@ -215,87 +214,87 @@ function nt(i) {
|
|
|
215
214
|
o[3]), e.$set(l);
|
|
216
215
|
},
|
|
217
216
|
i(o) {
|
|
218
|
-
t || (
|
|
217
|
+
t || (w(e.$$.fragment, o), t = !0);
|
|
219
218
|
},
|
|
220
219
|
o(o) {
|
|
221
|
-
|
|
220
|
+
y(e.$$.fragment, o), t = !1;
|
|
222
221
|
},
|
|
223
222
|
d(o) {
|
|
224
|
-
|
|
223
|
+
K(e, o);
|
|
225
224
|
}
|
|
226
225
|
};
|
|
227
226
|
}
|
|
228
|
-
function
|
|
229
|
-
let e, t, o, n, l,
|
|
230
|
-
const
|
|
227
|
+
function rt(i) {
|
|
228
|
+
let e, t, o, n, l, s, u, g, v, f;
|
|
229
|
+
const T = [et, tt], d = [];
|
|
231
230
|
function a(r, p) {
|
|
232
231
|
return (
|
|
233
232
|
/*havePoint*/
|
|
234
233
|
r[14] ? 0 : 1
|
|
235
234
|
);
|
|
236
235
|
}
|
|
237
|
-
o = a(i), n =
|
|
238
|
-
const
|
|
239
|
-
function
|
|
236
|
+
o = a(i), n = d[o] = T[o](i);
|
|
237
|
+
const A = [ot, it], _ = [];
|
|
238
|
+
function P(r, p) {
|
|
240
239
|
return (
|
|
241
240
|
/*haveContent*/
|
|
242
241
|
r[13] ? 0 : 1
|
|
243
242
|
);
|
|
244
243
|
}
|
|
245
|
-
return
|
|
244
|
+
return s = P(i), u = _[s] = A[s](i), {
|
|
246
245
|
c() {
|
|
247
|
-
e =
|
|
246
|
+
e = C("div"), t = C("div"), n.c(), l = X(), u.c(), c(t, "class", g = V(G(
|
|
248
247
|
"wrapper",
|
|
249
248
|
/*tag*/
|
|
250
249
|
i[1].className ? `${/*tag*/
|
|
251
250
|
i[1].className}__wrapper` : void 0
|
|
252
|
-
)) + " svelte-
|
|
251
|
+
)) + " svelte-xivfho"), c(
|
|
253
252
|
t,
|
|
254
253
|
"data-tag-unfolded",
|
|
255
254
|
/*unfolded*/
|
|
256
255
|
i[6]
|
|
257
|
-
),
|
|
256
|
+
), c(
|
|
258
257
|
t,
|
|
259
258
|
"data-tag-id",
|
|
260
259
|
/*id*/
|
|
261
260
|
i[12]
|
|
262
|
-
),
|
|
263
|
-
i[1].contentType),
|
|
261
|
+
), c(t, "data-content-type", v = /*tag*/
|
|
262
|
+
i[1].contentType), k(
|
|
264
263
|
t,
|
|
265
264
|
"left",
|
|
266
265
|
/*left*/
|
|
267
266
|
i[9]
|
|
268
|
-
),
|
|
267
|
+
), k(
|
|
269
268
|
t,
|
|
270
269
|
"top",
|
|
271
270
|
/*top*/
|
|
272
271
|
i[8]
|
|
273
|
-
),
|
|
272
|
+
), c(e, "class", "tag svelte-xivfho"), c(
|
|
274
273
|
e,
|
|
275
274
|
"data-tag-id",
|
|
276
275
|
/*id*/
|
|
277
276
|
i[12]
|
|
278
|
-
),
|
|
277
|
+
), h(
|
|
279
278
|
e,
|
|
280
279
|
"unClickable",
|
|
281
280
|
/*tag*/
|
|
282
281
|
i[1].config.clickable === !1
|
|
283
|
-
),
|
|
282
|
+
), h(
|
|
284
283
|
e,
|
|
285
284
|
"disable",
|
|
286
285
|
/*disable*/
|
|
287
286
|
i[11]
|
|
288
|
-
),
|
|
287
|
+
), h(
|
|
289
288
|
e,
|
|
290
289
|
"hide",
|
|
291
290
|
/*hide*/
|
|
292
291
|
i[10]
|
|
293
|
-
),
|
|
292
|
+
), h(
|
|
294
293
|
e,
|
|
295
294
|
"withAnimation",
|
|
296
295
|
/*withAnimation*/
|
|
297
296
|
i[0]
|
|
298
|
-
),
|
|
297
|
+
), k(
|
|
299
298
|
e,
|
|
300
299
|
"z-index",
|
|
301
300
|
/*zIndex*/
|
|
@@ -303,80 +302,80 @@ function at(i) {
|
|
|
303
302
|
);
|
|
304
303
|
},
|
|
305
304
|
m(r, p) {
|
|
306
|
-
|
|
305
|
+
M(r, e, p), j(e, t), d[o].m(t, null), j(t, l), _[s].m(t, null), f = !0;
|
|
307
306
|
},
|
|
308
307
|
p(r, [p]) {
|
|
309
308
|
let m = o;
|
|
310
|
-
o = a(r), o === m ?
|
|
311
|
-
|
|
312
|
-
}),
|
|
313
|
-
let
|
|
314
|
-
|
|
315
|
-
_[
|
|
316
|
-
}),
|
|
317
|
-
2 && g !== (g =
|
|
309
|
+
o = a(r), o === m ? d[o].p(r, p) : (E(), y(d[m], 1, 1, () => {
|
|
310
|
+
d[m] = null;
|
|
311
|
+
}), B(), n = d[o], n ? n.p(r, p) : (n = d[o] = T[o](r), n.c()), w(n, 1), n.m(t, l));
|
|
312
|
+
let b = s;
|
|
313
|
+
s = P(r), s === b ? _[s].p(r, p) : (E(), y(_[b], 1, 1, () => {
|
|
314
|
+
_[b] = null;
|
|
315
|
+
}), B(), u = _[s], u ? u.p(r, p) : (u = _[s] = A[s](r), u.c()), w(u, 1), u.m(t, null)), (!f || p & /*tag*/
|
|
316
|
+
2 && g !== (g = V(G(
|
|
318
317
|
"wrapper",
|
|
319
318
|
/*tag*/
|
|
320
319
|
r[1].className ? `${/*tag*/
|
|
321
320
|
r[1].className}__wrapper` : void 0
|
|
322
|
-
)) + " svelte-
|
|
323
|
-
64) &&
|
|
321
|
+
)) + " svelte-xivfho")) && c(t, "class", g), (!f || p & /*unfolded*/
|
|
322
|
+
64) && c(
|
|
324
323
|
t,
|
|
325
324
|
"data-tag-unfolded",
|
|
326
325
|
/*unfolded*/
|
|
327
326
|
r[6]
|
|
328
|
-
), (!
|
|
329
|
-
4096) &&
|
|
327
|
+
), (!f || p & /*id*/
|
|
328
|
+
4096) && c(
|
|
330
329
|
t,
|
|
331
330
|
"data-tag-id",
|
|
332
331
|
/*id*/
|
|
333
332
|
r[12]
|
|
334
|
-
), (!
|
|
335
|
-
2 &&
|
|
336
|
-
r[1].contentType)) &&
|
|
337
|
-
512 &&
|
|
333
|
+
), (!f || p & /*tag*/
|
|
334
|
+
2 && v !== (v = /*tag*/
|
|
335
|
+
r[1].contentType)) && c(t, "data-content-type", v), p & /*left*/
|
|
336
|
+
512 && k(
|
|
338
337
|
t,
|
|
339
338
|
"left",
|
|
340
339
|
/*left*/
|
|
341
340
|
r[9]
|
|
342
341
|
), p & /*top*/
|
|
343
|
-
256 &&
|
|
342
|
+
256 && k(
|
|
344
343
|
t,
|
|
345
344
|
"top",
|
|
346
345
|
/*top*/
|
|
347
346
|
r[8]
|
|
348
|
-
), (!
|
|
349
|
-
4096) &&
|
|
347
|
+
), (!f || p & /*id*/
|
|
348
|
+
4096) && c(
|
|
350
349
|
e,
|
|
351
350
|
"data-tag-id",
|
|
352
351
|
/*id*/
|
|
353
352
|
r[12]
|
|
354
|
-
), (!
|
|
355
|
-
2) &&
|
|
353
|
+
), (!f || p & /*tag*/
|
|
354
|
+
2) && h(
|
|
356
355
|
e,
|
|
357
356
|
"unClickable",
|
|
358
357
|
/*tag*/
|
|
359
358
|
r[1].config.clickable === !1
|
|
360
|
-
), (!
|
|
361
|
-
2048) &&
|
|
359
|
+
), (!f || p & /*disable*/
|
|
360
|
+
2048) && h(
|
|
362
361
|
e,
|
|
363
362
|
"disable",
|
|
364
363
|
/*disable*/
|
|
365
364
|
r[11]
|
|
366
|
-
), (!
|
|
367
|
-
1024) &&
|
|
365
|
+
), (!f || p & /*hide*/
|
|
366
|
+
1024) && h(
|
|
368
367
|
e,
|
|
369
368
|
"hide",
|
|
370
369
|
/*hide*/
|
|
371
370
|
r[10]
|
|
372
|
-
), (!
|
|
373
|
-
1) &&
|
|
371
|
+
), (!f || p & /*withAnimation*/
|
|
372
|
+
1) && h(
|
|
374
373
|
e,
|
|
375
374
|
"withAnimation",
|
|
376
375
|
/*withAnimation*/
|
|
377
376
|
r[0]
|
|
378
377
|
), p & /*zIndex*/
|
|
379
|
-
128 &&
|
|
378
|
+
128 && k(
|
|
380
379
|
e,
|
|
381
380
|
"z-index",
|
|
382
381
|
/*zIndex*/
|
|
@@ -384,63 +383,63 @@ function at(i) {
|
|
|
384
383
|
);
|
|
385
384
|
},
|
|
386
385
|
i(r) {
|
|
387
|
-
|
|
386
|
+
f || (w(n), w(u), f = !0);
|
|
388
387
|
},
|
|
389
388
|
o(r) {
|
|
390
|
-
|
|
389
|
+
y(n), y(u), f = !1;
|
|
391
390
|
},
|
|
392
391
|
d(r) {
|
|
393
|
-
r &&
|
|
392
|
+
r && z(e), d[o].d(), _[s].d();
|
|
394
393
|
}
|
|
395
394
|
};
|
|
396
395
|
}
|
|
397
|
-
function
|
|
398
|
-
let o, n, l,
|
|
399
|
-
const p =
|
|
396
|
+
function nt(i, e, t) {
|
|
397
|
+
let o, n, l, s, u, g, v, f, T, { withAnimation: d = !1 } = e, { tag: a } = e, { mediaStore: A } = e, { renderMap: _ = /* @__PURE__ */ new Map() } = e, { state: P } = e, { temporaryState: r } = e;
|
|
398
|
+
const p = Y("hooks");
|
|
400
399
|
return i.$$set = (m) => {
|
|
401
|
-
"withAnimation" in m && t(0,
|
|
400
|
+
"withAnimation" in m && t(0, d = m.withAnimation), "tag" in m && t(1, a = m.tag), "mediaStore" in m && t(2, A = m.mediaStore), "renderMap" in m && t(3, _ = m.renderMap), "state" in m && t(4, P = m.state), "temporaryState" in m && t(5, r = m.temporaryState);
|
|
402
401
|
}, i.$$.update = () => {
|
|
403
|
-
var m,
|
|
402
|
+
var m, b, N, I, L, q;
|
|
404
403
|
i.$$.dirty & /*tag*/
|
|
405
404
|
2 && t(14, o = (() => {
|
|
406
|
-
var
|
|
407
|
-
return !(((
|
|
405
|
+
var D, R;
|
|
406
|
+
return !(((R = (D = a.style) == null ? void 0 : D.point) == null ? void 0 : R.enabled) === !1 || a.contentType === "Sticker" || a.contentType === "Link" || a.contentType === "VRLink" || a.contentType === "PanoLink" || a.contentType === "Audio" && a.data.appearance === "plane");
|
|
408
407
|
})()), i.$$.dirty & /*tag*/
|
|
409
408
|
2 && t(13, n = (() => a.stickType === "2DPoint")()), i.$$.dirty & /*tag*/
|
|
410
409
|
2 && t(12, l = a.id), i.$$.dirty & /*tag*/
|
|
411
|
-
2 && t(11,
|
|
412
|
-
2 && t(10,
|
|
413
|
-
2 && t(6, g = (
|
|
414
|
-
2 && t(9,
|
|
415
|
-
2 && t(8,
|
|
416
|
-
66 && t(7,
|
|
410
|
+
2 && t(11, s = a.enabled === !1 || !a.state), i.$$.dirty & /*tag*/
|
|
411
|
+
2 && t(10, u = !((m = a.state) != null && m.visible) || ((b = a.temporaryState) == null ? void 0 : b.visible) === !1 || !a.screenPosition), i.$$.dirty & /*tag*/
|
|
412
|
+
2 && t(6, g = (N = a.state) == null ? void 0 : N.unfolded), i.$$.dirty & /*tag*/
|
|
413
|
+
2 && t(9, v = ((I = a.screenPosition) == null ? void 0 : I.leftPercent) + "%"), i.$$.dirty & /*tag*/
|
|
414
|
+
2 && t(8, f = ((L = a.screenPosition) == null ? void 0 : L.topPercent) + "%"), i.$$.dirty & /*tag, unfolded*/
|
|
415
|
+
66 && t(7, T = ((q = a.zIndex) != null ? q : 0) + (g ? 1e6 : 0));
|
|
417
416
|
}, [
|
|
418
|
-
|
|
417
|
+
d,
|
|
419
418
|
a,
|
|
420
|
-
|
|
419
|
+
A,
|
|
421
420
|
_,
|
|
422
|
-
|
|
421
|
+
P,
|
|
423
422
|
r,
|
|
424
423
|
g,
|
|
425
|
-
|
|
426
|
-
s,
|
|
427
|
-
b,
|
|
428
|
-
d,
|
|
424
|
+
T,
|
|
429
425
|
f,
|
|
426
|
+
v,
|
|
427
|
+
u,
|
|
428
|
+
s,
|
|
430
429
|
l,
|
|
431
430
|
n,
|
|
432
431
|
o,
|
|
433
432
|
p
|
|
434
433
|
];
|
|
435
434
|
}
|
|
436
|
-
class
|
|
435
|
+
class Je extends O {
|
|
437
436
|
constructor(e) {
|
|
438
|
-
super(),
|
|
437
|
+
super(), Q(
|
|
439
438
|
this,
|
|
440
439
|
e,
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
440
|
+
nt,
|
|
441
|
+
rt,
|
|
442
|
+
U,
|
|
444
443
|
{
|
|
445
444
|
withAnimation: 0,
|
|
446
445
|
tag: 1,
|
|
@@ -449,10 +448,10 @@ class Qe extends U {
|
|
|
449
448
|
state: 4,
|
|
450
449
|
temporaryState: 5
|
|
451
450
|
},
|
|
452
|
-
|
|
451
|
+
$
|
|
453
452
|
);
|
|
454
453
|
}
|
|
455
454
|
}
|
|
456
455
|
export {
|
|
457
|
-
|
|
456
|
+
Je as default
|
|
458
457
|
};
|
|
@@ -8,14 +8,14 @@ export declare abstract class TagCache extends BasePlugin.Controller<State, Even
|
|
|
8
8
|
/**
|
|
9
9
|
* @description: 获取缓存
|
|
10
10
|
*/
|
|
11
|
-
protected
|
|
11
|
+
protected getPanoIndexCache(params?: {
|
|
12
12
|
panoIndex?: number;
|
|
13
13
|
}): Map<TagId, TagCacheInterface>;
|
|
14
|
-
protected
|
|
14
|
+
protected getPanoIndexCache(params?: {
|
|
15
15
|
panoIndex?: number;
|
|
16
16
|
id: TagId;
|
|
17
17
|
}): TagCacheInterface;
|
|
18
|
-
protected
|
|
18
|
+
protected getPanoIndexCache(params?: {
|
|
19
19
|
panoIndex?: number;
|
|
20
20
|
id: TagId;
|
|
21
21
|
key: keyof TagCacheInterface;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { Controller as
|
|
1
|
+
var C = Object.defineProperty;
|
|
2
|
+
var g = (r, e, t) => e in r ? C(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
+
var s = (r, e, t) => (g(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
+
import { Controller as l } from "../../base/BasePlugin.js";
|
|
5
5
|
import "../../shared-utils/Subscribe.js";
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import "three";
|
|
@@ -21,17 +21,17 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
21
21
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
22
22
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
23
23
|
import "../../shared-utils/absoluteUrl.js";
|
|
24
|
-
class
|
|
24
|
+
class A extends l {
|
|
25
25
|
constructor(t) {
|
|
26
26
|
super(t);
|
|
27
|
-
|
|
27
|
+
s(this, "tagCacheByPanoIndex", {});
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
var h
|
|
31
|
-
const { five:
|
|
32
|
-
if (
|
|
33
|
-
throw new Error(`TagCacheController
|
|
34
|
-
const p = `${
|
|
29
|
+
getPanoIndexCache(t) {
|
|
30
|
+
var h;
|
|
31
|
+
const { five: a } = this, { panoIndex: n, id: i, key: m } = t != null ? t : {}, c = n != null ? n : a.getCurrentState().panoIndex;
|
|
32
|
+
if (c === void 0)
|
|
33
|
+
throw new Error(`TagCacheController getPanoIndexCache(): fivePanoIndex is ${c}`);
|
|
34
|
+
const p = `${a.model.uuid}__${c}`;
|
|
35
35
|
let o = this.tagCacheByPanoIndex[p];
|
|
36
36
|
if (o || (o = /* @__PURE__ */ new Map(), this.tagCacheByPanoIndex[p] = o), i === void 0)
|
|
37
37
|
return o;
|
|
@@ -39,7 +39,7 @@ class G extends u {
|
|
|
39
39
|
const d = o.get(i);
|
|
40
40
|
return d || (o.set(i, {}), o.get(i));
|
|
41
41
|
}
|
|
42
|
-
return (
|
|
42
|
+
return (h = o.get(i)) == null ? void 0 : h[m];
|
|
43
43
|
}
|
|
44
44
|
clearCache() {
|
|
45
45
|
this.tagCacheByPanoIndex = {};
|
|
@@ -48,5 +48,5 @@ class G extends u {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
export {
|
|
51
|
-
|
|
51
|
+
A as TagCache
|
|
52
52
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Five,
|
|
1
|
+
import type { Five, State as FiveState } from '@realsee/five';
|
|
2
2
|
import type { TagInstance } from '../typings';
|
|
3
3
|
import { TagUtil } from './TagUtil';
|
|
4
4
|
export declare abstract class TagComputer extends TagUtil {
|
|
@@ -6,11 +6,7 @@ export declare abstract class TagComputer extends TagUtil {
|
|
|
6
6
|
/**
|
|
7
7
|
* @description: 获取是否可见
|
|
8
8
|
*/
|
|
9
|
-
|
|
10
|
-
getVisibleByFiveMode(tag: TagInstance, mode?: Mode): boolean;
|
|
11
|
-
getVisible(tag: TagInstance, state?: Partial<FiveState>): boolean;
|
|
12
|
-
/** 获取当前点位上模型中的多媒体是否应该展示 */
|
|
13
|
-
getModelMedialVisibleByPanoIndex(tag: TagInstance, panoIndex?: number): boolean;
|
|
9
|
+
getVisible(tag: TagInstance, fiveState?: Partial<FiveState>): boolean;
|
|
14
10
|
/**
|
|
15
11
|
* @description: 获取是否展开
|
|
16
12
|
*/
|
|
@@ -19,18 +15,16 @@ export declare abstract class TagComputer extends TagUtil {
|
|
|
19
15
|
* @description: 获取是否展开
|
|
20
16
|
*/
|
|
21
17
|
getUnfoldedByCamera(tag: TagInstance): boolean;
|
|
22
|
-
protected
|
|
23
|
-
protected
|
|
18
|
+
protected setTagZIndex(tags: TagInstance[]): void;
|
|
19
|
+
protected calculateTagZIndex(tag: TagInstance): number;
|
|
24
20
|
/**
|
|
25
21
|
* @description: 一个点的标签
|
|
26
22
|
*/
|
|
27
23
|
protected setPointTagPosition(): void;
|
|
28
|
-
protected setVisible(): void;
|
|
29
|
-
protected setVisibleByPanoIndex(): void;
|
|
30
|
-
protected setModelMedialVisible(): void;
|
|
24
|
+
protected setVisible(tags?: TagInstance[]): void;
|
|
31
25
|
protected setUnfoldedByPanoIndex(): void;
|
|
32
26
|
/**
|
|
33
|
-
* @description
|
|
27
|
+
* @description 一个点的标签
|
|
34
28
|
*/
|
|
35
29
|
protected getTagProject(tag: TagInstance): {
|
|
36
30
|
x: number;
|