@realsee/dnalogel 3.12.3 → 3.12.5
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 +10 -11
- package/dist/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +65 -65
- package/dist/index.js +4730 -4558
- package/dist/index.umd.js +56 -56
- package/docs/.nojekyll +1 -0
- package/docs/assets/custom.css +0 -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 +730 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +693 -0
- package/docs/classes/CSS3DRender.html +777 -0
- package/docs/classes/GuideLineItem.GuideLineItem.html +480 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +860 -0
- package/docs/classes/Magnifier.html +484 -0
- package/docs/classes/ModelRoomLabelController.html +402 -0
- package/docs/classes/MoveController.html +680 -0
- package/docs/classes/Object3DHelperController.html +644 -0
- package/docs/classes/PaintBrush.html +506 -0
- package/docs/classes/PanoMeasurePluginLine.html +526 -0
- package/docs/classes/PanoMeasurePluginModel.html +575 -0
- package/docs/classes/PanoMeasurePluginPoint.html +366 -0
- package/docs/classes/PanoMeasurePluginPolyline.html +571 -0
- package/docs/classes/PanoTagPluginController.html +1131 -0
- package/docs/classes/Util.BetterTween.html +420 -0
- package/docs/classes/Util.Interval.html +436 -0
- package/docs/classes/Util.LineSegments.html +388 -0
- package/docs/classes/Util.Magnifier.html +507 -0
- package/docs/classes/Util.Object3D.html +410 -0
- package/docs/classes/Util.PointDomHelper.html +411 -0
- package/docs/classes/Util.PointHelper.html +402 -0
- package/docs/classes/Util.PointSelectorHelper.html +458 -0
- package/docs/classes/Util.Rectangle.html +459 -0
- package/docs/classes/WalkController.html +699 -0
- package/docs/enums/CameraMovementEffect.html +314 -0
- package/docs/enums/ContentType.html +460 -0
- package/docs/enums/DIRECTION.html +324 -0
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +324 -0
- package/docs/enums/DimensionType.html +314 -0
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +317 -0
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +324 -0
- package/docs/enums/PaintBrushTypeEnum.html +317 -0
- package/docs/enums/PointType.html +314 -0
- package/docs/enums/Rotation.html +321 -0
- package/docs/functions/AreaMakerPlugin.html +294 -0
- package/docs/functions/CSS3DRenderPlugin.html +292 -0
- package/docs/functions/CameraMovementPlugin.html +297 -0
- package/docs/functions/CruisePlugin.html +294 -0
- package/docs/functions/CurrentPanoImagePlugin.html +294 -0
- package/docs/functions/GuideLinePlugin.html +294 -0
- package/docs/functions/ItemLabelPlugin.html +294 -0
- package/docs/functions/MapviewFloorplanPlugin.html +294 -0
- package/docs/functions/ModelChassisCompassPlugin.html +297 -0
- package/docs/functions/ModelEntryDoorGuidePlugin.html +297 -0
- package/docs/functions/ModelFloorplanPlugin.html +294 -0
- package/docs/functions/ModelItemLabelPlugin.html +294 -0
- package/docs/functions/ModelRoomLabelPlugin.html +292 -0
- package/docs/functions/ModelTVVideoPlugin.html +294 -0
- package/docs/functions/ModelViewPlugin.html +297 -0
- package/docs/functions/MovePlugin.html +294 -0
- package/docs/functions/Object3DHelperPlugin.html +292 -0
- package/docs/functions/PanoCompassPlugin.html +294 -0
- package/docs/functions/PanoCursorRaycasterPlugin.html +298 -0
- package/docs/functions/PanoDoorLabelPlugin.html +294 -0
- package/docs/functions/PanoFloorplanRadarPlugin.html +294 -0
- package/docs/functions/PanoMeasurePlugin.html +294 -0
- package/docs/functions/PanoRulerPlugin.html +297 -0
- package/docs/functions/PanoRulerProPlugin.html +297 -0
- package/docs/functions/PanoSpatialTagPlugin.html +297 -0
- package/docs/functions/PanoTagPlugin.html +299 -0
- package/docs/functions/PanoVideoPlugin.html +303 -0
- package/docs/functions/PipelinePlugin.html +292 -0
- package/docs/functions/TopviewFloorplanPlugin.html +294 -0
- package/docs/functions/Util.absoluteUrl.html +330 -0
- package/docs/functions/Util.checkFiveModelLoaded.html +333 -0
- package/docs/functions/Util.equal.html +342 -0
- package/docs/functions/Util.getCoordsFromClient.html +332 -0
- package/docs/functions/Util.getCoordsFromElement.html +332 -0
- package/docs/functions/Util.getFrameTime.html +324 -0
- package/docs/functions/Util.getIntersectFromRelativePosition.html +332 -0
- package/docs/functions/Util.getRaycasterFromFivePointer.html +332 -0
- package/docs/functions/Util.isAbsoluteURL.html +325 -0
- package/docs/functions/Util.isModelLike.html +325 -0
- package/docs/functions/Util.isNil.html +333 -0
- package/docs/functions/Util.isPanoramaLike.html +325 -0
- package/docs/functions/Util.nextFrame.html +338 -0
- package/docs/functions/Util.notNil.html +333 -0
- package/docs/functions/Util.requestAnimationFrameInterval.html +354 -0
- package/docs/functions/Util.tweenProgress.html +327 -0
- package/docs/functions/Util.uuid.html +323 -0
- package/docs/functions/pluginFlag.html +292 -0
- package/docs/index.html +357 -0
- package/docs/interfaces/AddTagConfig.html +307 -0
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +334 -0
- package/docs/interfaces/AreaMakerPluginType.Config.html +339 -0
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +625 -0
- package/docs/interfaces/AreaMakerPluginType.Params.html +338 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +396 -0
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +381 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +338 -0
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +331 -0
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +330 -0
- package/docs/interfaces/AreaMakerPluginType.State.html +359 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +453 -0
- package/docs/interfaces/CSS3DRenderPluginState.html +329 -0
- package/docs/interfaces/CameraMovementPluginExportType.html +362 -0
- package/docs/interfaces/CruisePluginTypes.Config.html +363 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +365 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +723 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +389 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +425 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +415 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +355 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +323 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +391 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +386 -0
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +525 -0
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +327 -0
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +319 -0
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +341 -0
- package/docs/interfaces/EventMap.html +546 -0
- package/docs/interfaces/FloorplanBounding.html +336 -0
- package/docs/interfaces/FloorplanData.html +339 -0
- package/docs/interfaces/FloorplanEntrance.html +364 -0
- package/docs/interfaces/FloorplanExtraObject.html +354 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +343 -0
- package/docs/interfaces/FloorplanFloorData.html +332 -0
- package/docs/interfaces/FloorplanImagePosition.html +318 -0
- package/docs/interfaces/FloorplanObserver.html +336 -0
- package/docs/interfaces/FloorplanOutlineItem.html +332 -0
- package/docs/interfaces/FloorplanPosition.html +318 -0
- package/docs/interfaces/FloorplanRoomItem.html +383 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +324 -0
- package/docs/interfaces/FloorplanServerBounding.html +336 -0
- package/docs/interfaces/FloorplanServerComputedData.html +335 -0
- package/docs/interfaces/FloorplanServerData.html +318 -0
- package/docs/interfaces/FloorplanServerDoorItem.html +335 -0
- package/docs/interfaces/FloorplanServerDoorPosition.html +321 -0
- package/docs/interfaces/FloorplanServerEntrance.html +364 -0
- package/docs/interfaces/FloorplanServerFloorData.html +332 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +318 -0
- package/docs/interfaces/FloorplanServerObserver.html +336 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +332 -0
- package/docs/interfaces/FloorplanServerPosition.html +318 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +395 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +324 -0
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +327 -0
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +366 -0
- package/docs/interfaces/GuideLinePluginType.EventMap.html +530 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +361 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +352 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +419 -0
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +341 -0
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +351 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +487 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +348 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +487 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +313 -0
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +334 -0
- package/docs/interfaces/GuideLinePluginType.PluginState.html +359 -0
- package/docs/interfaces/GuideLinePluginType.Route.html +375 -0
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +357 -0
- package/docs/interfaces/HelperOffset.html +336 -0
- package/docs/interfaces/ImagePlaneGroup.html +310 -0
- package/docs/interfaces/ItemLabelPluginData.html +307 -0
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +392 -0
- package/docs/interfaces/ItemLabelPluginParametersType.html +328 -0
- package/docs/interfaces/MinMax.html +314 -0
- package/docs/interfaces/ModelChassisCompassPluginData.html +314 -0
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +350 -0
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +314 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +321 -0
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +358 -0
- package/docs/interfaces/ModelItemLabelPluginData.html +307 -0
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +392 -0
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +314 -0
- package/docs/interfaces/ModelRoomLabelPluginData.html +307 -0
- package/docs/interfaces/ModelTVVideoPluginData.html +328 -0
- package/docs/interfaces/ModelTVVideoPluginExportType.html +352 -0
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +307 -0
- package/docs/interfaces/ModelViewPluginExportType.html +420 -0
- package/docs/interfaces/Object3DHelperState.html +321 -0
- package/docs/interfaces/ObjectHelperControllers.html +328 -0
- package/docs/interfaces/PaintBrushAction.html +367 -0
- package/docs/interfaces/PaintBrushConfigs.html +365 -0
- package/docs/interfaces/PaintBrushState.html +349 -0
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +429 -0
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +286 -0
- package/docs/interfaces/PanoMeasureParameterType.html +453 -0
- package/docs/interfaces/PanoMeasurePluginLineJson.html +321 -0
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +318 -0
- package/docs/interfaces/PanoMeasurePluginPointJson.html +314 -0
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +324 -0
- package/docs/interfaces/PanoRulerPluginExportType.html +381 -0
- package/docs/interfaces/PanoRulerPluginOptions.html +330 -0
- package/docs/interfaces/PanoRulerPluginParameterType.html +321 -0
- package/docs/interfaces/PanoRulerProPluginExportType.html +357 -0
- package/docs/interfaces/PanoRulerProPluginOptions.html +327 -0
- package/docs/interfaces/PanoRulerProPluginParameterType.html +314 -0
- package/docs/interfaces/PanoRulerProPluginState.html +321 -0
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +300 -0
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +289 -0
- package/docs/interfaces/PanoSpatialTagPluginData.html +357 -0
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +339 -0
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +435 -0
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +335 -0
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +356 -0
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +342 -0
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +335 -0
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +327 -0
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +345 -0
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +318 -0
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +424 -0
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +318 -0
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +353 -0
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +372 -0
- package/docs/interfaces/Point.html +321 -0
- package/docs/interfaces/Room.html +328 -0
- package/docs/interfaces/RoomInfo.html +314 -0
- package/docs/interfaces/RoomLabel.html +390 -0
- package/docs/interfaces/RoomRules.html +289 -0
- package/docs/interfaces/Rooms.html +289 -0
- package/docs/interfaces/Scissor.html +348 -0
- package/docs/interfaces/State.html +335 -0
- package/docs/interfaces/TagCacheInterface.html +366 -0
- package/docs/interfaces/TagConfig.html +569 -0
- package/docs/interfaces/TagGLTFObjectGroup.html +310 -0
- package/docs/interfaces/TagIconUrl.html +367 -0
- package/docs/interfaces/TagObjectGroup.html +310 -0
- package/docs/interfaces/TagStyle.html +320 -0
- package/docs/interfaces/Tags.html +2824 -0
- package/docs/interfaces/TemporaryState.html +307 -0
- package/docs/interfaces/Util.MagnifierParameter.html +395 -0
- package/docs/interfaces/Util.MouseGroupParameter.html +354 -0
- package/docs/interfaces/Util.PointIntersection.html +369 -0
- package/docs/modules/AreaMakerPluginType.html +329 -0
- package/docs/modules/CruisePluginTypes.html +332 -0
- package/docs/modules/CurrentPanoImagePluginType.html +301 -0
- package/docs/modules/GuideLineItem.html +293 -0
- package/docs/modules/GuideLineModeItem.html +298 -0
- package/docs/modules/GuideLinePluginType.html +354 -0
- package/docs/modules/PanoVideoPluginType.html +305 -0
- package/docs/modules/Util.html +355 -0
- package/docs/modules.html +562 -0
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +358 -0
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +324 -0
- package/docs/types/AreaMakerPluginType.PluginData.html +306 -0
- package/docs/types/AreaMakerPluginType.ServerData.html +306 -0
- package/docs/types/ArrayPosition.html +283 -0
- package/docs/types/AudioAppearance.html +283 -0
- package/docs/types/AudioTagTypeConfigKey.html +283 -0
- package/docs/types/CSS3DRenderExportType.html +283 -0
- package/docs/types/CSS3DRenderPluginExportType.html +283 -0
- package/docs/types/CSS3DRenderPluginParameterType.html +283 -0
- package/docs/types/ClassFunctionParameters.html +290 -0
- package/docs/types/Color.html +283 -0
- package/docs/types/ContentTypeConfigKey.html +283 -0
- package/docs/types/ContentTypeConfigKeySplit.html +283 -0
- package/docs/types/ContentTypeMap.html +283 -0
- package/docs/types/Create3DDomContainerReturnType.html +283 -0
- package/docs/types/Create3DElementReturnType.html +283 -0
- package/docs/types/CruisePluginExportType.html +283 -0
- package/docs/types/CruisePluginTypes.CruiseData.html +322 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +299 -0
- package/docs/types/CurrentPanoImagePluginExportType.html +283 -0
- package/docs/types/DeprecatedMediaPlaneProperty.html +295 -0
- package/docs/types/DeprecatedTagProperty.html +298 -0
- package/docs/types/Direction-1.html +283 -0
- package/docs/types/Direction4.html +283 -0
- package/docs/types/ElementRenderer.html +307 -0
- package/docs/types/FloorplanRuleLabels.html +286 -0
- package/docs/types/FloorplanServerRuleLabels.html +283 -0
- package/docs/types/GuideLinePluginExportType.html +283 -0
- package/docs/types/GuideLinePluginType.GuideLineItem.html +356 -0
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +377 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +310 -0
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +313 -0
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +313 -0
- package/docs/types/GuideLinePluginType.PathItem.html +313 -0
- package/docs/types/GuideLinePluginType.PluginData.html +322 -0
- package/docs/types/HelperEventMap.html +521 -0
- package/docs/types/LoadTagConfig.html +283 -0
- package/docs/types/MapviewFloorplanPluginParameterType.html +283 -0
- package/docs/types/MapviewFloorplanPluginReturnType.html +283 -0
- package/docs/types/MediaData.html +304 -0
- package/docs/types/MediaStore.html +288 -0
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +290 -0
- package/docs/types/ModelFloorplanPluginParameterType.html +283 -0
- package/docs/types/ModelFloorplanPluginReturnType.html +283 -0
- package/docs/types/ModelId.html +283 -0
- package/docs/types/ModelRoomLabelPluginParameters.html +283 -0
- package/docs/types/ModelRoomLabelPluginReturnType.html +283 -0
- package/docs/types/MoveArgs.html +293 -0
- package/docs/types/MoveOpts.html +291 -0
- package/docs/types/Object3DHelperEventMap.html +376 -0
- package/docs/types/ObjectFit.html +283 -0
- package/docs/types/PaintBrushEventMap.html +314 -0
- package/docs/types/PanoCompassPluginData.html +283 -0
- package/docs/types/PanoCompassPluginExportType.html +283 -0
- package/docs/types/PanoCompassPluginParameterType.html +283 -0
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +283 -0
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +283 -0
- package/docs/types/PanoIndex.html +283 -0
- package/docs/types/PanoMeasurePluginEvent.html +283 -0
- package/docs/types/PanoMeasureReturnType.html +283 -0
- package/docs/types/PanoSpatialTagPluginId.html +283 -0
- package/docs/types/PanoTagPluginExportInterface.html +283 -0
- package/docs/types/PanoTagPluginParamsInterface.html +283 -0
- package/docs/types/PanoVideoPluginParameterType.html +283 -0
- package/docs/types/PanoVideoPluginReturnType.html +283 -0
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +291 -0
- package/docs/types/PipelinePluginParameterType.html +283 -0
- package/docs/types/PipelinePluginReturnType.html +283 -0
- package/docs/types/PlaneTag.html +291 -0
- package/docs/types/Point2DTag.html +291 -0
- package/docs/types/Point3DTag.html +291 -0
- package/docs/types/PointTag.html +288 -0
- package/docs/types/PointTagInstance.html +288 -0
- package/docs/types/Position.html +283 -0
- package/docs/types/RotateArgs.html +295 -0
- package/docs/types/RotateOpts.html +291 -0
- package/docs/types/RuleLabelsKey.html +283 -0
- package/docs/types/RuleLabelsValue.html +283 -0
- package/docs/types/StickType.html +283 -0
- package/docs/types/Tag.html +349 -0
- package/docs/types/Tag2D.html +291 -0
- package/docs/types/Tag3D.html +291 -0
- package/docs/types/TagConfigByKey.html +288 -0
- package/docs/types/TagContentType.html +283 -0
- package/docs/types/TagContentTypeMapping.html +283 -0
- package/docs/types/TagDimensionType.html +285 -0
- package/docs/types/TagElement.html +293 -0
- package/docs/types/TagEvents.html +336 -0
- package/docs/types/TagGLTFObject.html +306 -0
- package/docs/types/TagHooks.html +283 -0
- package/docs/types/TagId.html +283 -0
- package/docs/types/TagInstance.html +361 -0
- package/docs/types/TagPointType.html +286 -0
- package/docs/types/TagRendererMap.html +290 -0
- package/docs/types/TopviewFloorplanPluginParameterType.html +283 -0
- package/docs/types/TopviewFloorplanPluginReturnType.html +283 -0
- package/docs/types/WorkCode.html +283 -0
- package/docs/variables/FLOOR_TYPE_MAP.html +293 -0
- package/docs/variables/PLUGIN.html +283 -0
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +286 -0
- package/docs/variables/ROOM_TYPE_MAP.html +293 -0
- package/docs/variables/defaultGlobalConfig.html +283 -0
- package/docs/variables/itemLabelPluginServerParams.html +290 -0
- package/docs/variables/modelItemLabelPluginServerParams.html +290 -0
- package/docs/variables/modelRoomLabelPluginServerParams.html +290 -0
- package/libs/AreaMakerPlugin/Controller.js +54 -44
- package/libs/AreaMakerPlugin/index.js +13 -3
- package/libs/AreaMakerPlugin/utils/Item.js +13 -3
- package/libs/CruisePlugin/Work.js +19 -6
- package/libs/CruisePlugin/index.js +23 -10
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +46 -33
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +24 -11
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +72 -62
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +74 -63
- package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
- package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
- package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +33 -22
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +216 -198
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +155 -142
- package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
- package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +37 -22
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +32 -19
- package/libs/PanoTagPlugin/index.js +28 -15
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/AreaLabel/LabelItem.js +59 -54
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +41 -32
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +54 -49
- package/libs/floorplan/Components/Main.js +56 -47
- package/libs/floorplan/Components/MissingFloor.js +24 -21
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +24 -12
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +33 -21
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +138 -124
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/classnames/index.js +32 -32
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +11 -8
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -2,15 +2,15 @@ var $ = Object.defineProperty, B = Object.defineProperties;
|
|
|
2
2
|
var U = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var C = Object.getOwnPropertySymbols;
|
|
4
4
|
var G = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var T = (p, a,
|
|
6
|
-
for (var
|
|
7
|
-
G.call(a,
|
|
5
|
+
var T = (p, a, i) => a in p ? $(p, a, { enumerable: !0, configurable: !0, writable: !0, value: i }) : p[a] = i, H = (p, a) => {
|
|
6
|
+
for (var i in a || (a = {}))
|
|
7
|
+
G.call(a, i) && T(p, i, a[i]);
|
|
8
8
|
if (C)
|
|
9
|
-
for (var
|
|
10
|
-
N.call(a,
|
|
9
|
+
for (var i of C(a))
|
|
10
|
+
N.call(a, i) && T(p, i, a[i]);
|
|
11
11
|
return p;
|
|
12
12
|
}, W = (p, a) => B(p, U(a));
|
|
13
|
-
var r = (p, a,
|
|
13
|
+
var r = (p, a, i) => (T(p, typeof a != "symbol" ? a + "" : a, i), i);
|
|
14
14
|
import { Raycaster as Q, Vector3 as V, Quaternion as j, Euler as z } from "three";
|
|
15
15
|
import { BasePanoPluginController as q } from "./BaseController.js";
|
|
16
16
|
import X from "./DoorLabelItem.js";
|
|
@@ -36,12 +36,22 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
36
36
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
37
37
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
38
38
|
import "../shared-utils/url/absoluteUrl.js";
|
|
39
|
-
import "../vendor/svelte/internal/
|
|
39
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
40
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
41
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
42
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
43
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
44
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
45
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
46
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
47
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
48
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
49
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
40
50
|
import "../vendor/classnames/index.js";
|
|
41
|
-
const
|
|
42
|
-
class
|
|
43
|
-
constructor(
|
|
44
|
-
super(
|
|
51
|
+
const ii = { userAction: !0 };
|
|
52
|
+
class Ri extends q {
|
|
53
|
+
constructor(i) {
|
|
54
|
+
super(i);
|
|
45
55
|
r(this, "MinVisibledistance", 1.8);
|
|
46
56
|
r(this, "MaxVisibledistance", 5);
|
|
47
57
|
r(this, "OffsetHeight", -1.3);
|
|
@@ -57,51 +67,51 @@ class Oe extends q {
|
|
|
57
67
|
/** 数据 */
|
|
58
68
|
r(this, "doorLabels");
|
|
59
69
|
r(this, "roomObservers");
|
|
60
|
-
r(this, "loadData", (
|
|
70
|
+
r(this, "loadData", (i, n) => {
|
|
61
71
|
n && (this.MaxVisibledistance = n.MaxVisibledistance, this.MinVisibledistance = n.MinVisibledistance, this.OffsetHeight = n.OffsetHeight), this.doorLabelItems && this.doorLabelItems.length > 0 && this.doorLabelItems.forEach((d) => {
|
|
62
72
|
d.$destroy();
|
|
63
|
-
}), this.labelItems = [], this.doorLabels = [], this.doorLabelItems = [], this.floorplanServerData =
|
|
73
|
+
}), this.labelItems = [], this.doorLabels = [], this.doorLabelItems = [], this.floorplanServerData = i, typeof this.five.ready == "function" ? this.five.ready().then(() => this.initData()) : this.five.once("panoArrived", () => {
|
|
64
74
|
this.initData();
|
|
65
75
|
});
|
|
66
76
|
});
|
|
67
77
|
r(this, "initRoomObservers", () => {
|
|
68
78
|
var l, h;
|
|
69
|
-
const
|
|
70
|
-
const s = o.panoIndex, f = o.floorIndex,
|
|
71
|
-
if (
|
|
72
|
-
const
|
|
73
|
-
if (
|
|
74
|
-
return { panoIndex: s, floorIndex: f, name:
|
|
79
|
+
const i = this.floorplanServerData.computed_data.floor_datas || [], d = (((h = (l = this.five) == null ? void 0 : l.work) == null ? void 0 : h.observers) || []).map((o) => {
|
|
80
|
+
const s = o.panoIndex, f = o.floorIndex, t = i == null ? void 0 : i.find((e) => e.floor_index === f);
|
|
81
|
+
if (t) {
|
|
82
|
+
const e = t.rooms.find((c) => c.observer_indexs.includes(s));
|
|
83
|
+
if (e)
|
|
84
|
+
return { panoIndex: s, floorIndex: f, name: e.name };
|
|
75
85
|
}
|
|
76
86
|
}).filter(Boolean);
|
|
77
87
|
this.roomObservers = d;
|
|
78
88
|
});
|
|
79
89
|
r(this, "hideAllLabels", () => {
|
|
80
|
-
this.labelItems.forEach((
|
|
81
|
-
|
|
90
|
+
this.labelItems.forEach((i) => {
|
|
91
|
+
i.visible = !1, i.inSight = !1;
|
|
82
92
|
}), this.render();
|
|
83
93
|
});
|
|
84
94
|
r(this, "fixDoorVisibleAndPosition", () => {
|
|
85
95
|
this.initRoomObservers();
|
|
86
|
-
const { panoIndex:
|
|
87
|
-
if (!this.visible || this.five.model.empty ||
|
|
96
|
+
const { panoIndex: i } = this.five;
|
|
97
|
+
if (!this.visible || this.five.model.empty || i === null || !this.roomObservers.find((o) => o.panoIndex === i))
|
|
88
98
|
return;
|
|
89
|
-
const n = this.roomObservers.find((o) => o.panoIndex ===
|
|
90
|
-
if (this.visibleLabelMap.has(
|
|
91
|
-
return this.visibleLabelMap.get(
|
|
99
|
+
const n = this.roomObservers.find((o) => o.panoIndex === i), l = this.five.work.observers.find((o) => o.panoIndex === i).position.clone(), h = (() => {
|
|
100
|
+
if (this.visibleLabelMap.has(i))
|
|
101
|
+
return this.visibleLabelMap.get(i);
|
|
92
102
|
{
|
|
93
103
|
const o = [];
|
|
94
104
|
return this.doorLabels.forEach((s, f) => {
|
|
95
105
|
if (s.roomName === n.name)
|
|
96
106
|
return;
|
|
97
|
-
const
|
|
98
|
-
if (
|
|
107
|
+
const t = s.position.clone(), e = t.distanceTo(l);
|
|
108
|
+
if (e < this.MinVisibledistance || e > this.MaxVisibledistance)
|
|
99
109
|
return;
|
|
100
|
-
const c = new Q(), v =
|
|
110
|
+
const c = new Q(), v = t.clone().sub(l).normalize();
|
|
101
111
|
c.set(l, v);
|
|
102
112
|
const [b] = this.five.model.intersectRaycaster(c);
|
|
103
|
-
b && b.distance + 0.1 <
|
|
104
|
-
}), this.visibleLabelMap.set(
|
|
113
|
+
b && b.distance + 0.1 < e || o.push(f);
|
|
114
|
+
}), this.visibleLabelMap.set(i, o), o;
|
|
105
115
|
}
|
|
106
116
|
})();
|
|
107
117
|
this.labelItems.forEach((o, s) => {
|
|
@@ -109,9 +119,9 @@ class Oe extends q {
|
|
|
109
119
|
}), this.fixDoorPosition();
|
|
110
120
|
});
|
|
111
121
|
r(this, "fixDoorPosition", () => {
|
|
112
|
-
var
|
|
113
|
-
const { panoIndex:
|
|
114
|
-
if (
|
|
122
|
+
var t, e, c, v, b, y, g, w, L, E, _, S;
|
|
123
|
+
const { panoIndex: i, camera: n } = this.five;
|
|
124
|
+
if (i === null)
|
|
115
125
|
return;
|
|
116
126
|
if (this.five.currentMode !== "Panorama")
|
|
117
127
|
return this.hideAllLabels();
|
|
@@ -132,7 +142,7 @@ class Oe extends q {
|
|
|
132
142
|
const R = {
|
|
133
143
|
left: l * M / 100,
|
|
134
144
|
top: h * k / 100,
|
|
135
|
-
width: (c = (
|
|
145
|
+
width: (c = (e = (t = I.children) == null ? void 0 : t[0]) == null ? void 0 : e.clientWidth) != null ? c : 0,
|
|
136
146
|
height: (y = (b = (v = I.children) == null ? void 0 : v[0]) == null ? void 0 : b.clientHeight) != null ? y : 0
|
|
137
147
|
}, F = {
|
|
138
148
|
left: l * O / 100,
|
|
@@ -145,21 +155,21 @@ class Oe extends q {
|
|
|
145
155
|
}
|
|
146
156
|
this.labelItems = f, this.render();
|
|
147
157
|
});
|
|
148
|
-
r(this, "onClick", (
|
|
158
|
+
r(this, "onClick", (i, n) => {
|
|
149
159
|
if (!this.roomObservers)
|
|
150
160
|
return;
|
|
151
161
|
const { work: d } = this.five;
|
|
152
162
|
let l, h, o = 1 / 0;
|
|
153
163
|
for (const s of d.observers)
|
|
154
|
-
if (this.roomObservers.find((
|
|
155
|
-
const
|
|
156
|
-
|
|
164
|
+
if (this.roomObservers.find((t) => t.panoIndex === s.panoIndex && t.name === i)) {
|
|
165
|
+
const t = s.standingPosition, e = n.distanceTo(t);
|
|
166
|
+
e < o && (l = s.panoIndex, h = t.clone().sub(n).normalize(), o = e);
|
|
157
167
|
}
|
|
158
168
|
if (h !== null && l !== null) {
|
|
159
169
|
const s = {};
|
|
160
170
|
if (o > 0) {
|
|
161
|
-
const
|
|
162
|
-
c.setFromUnitVectors(
|
|
171
|
+
const t = new V(0, 0, -1), e = h.clone(), c = new j();
|
|
172
|
+
c.setFromUnitVectors(t, e);
|
|
163
173
|
const v = new z();
|
|
164
174
|
v.setFromQuaternion(c, "YXZ"), s.longitude = v.y;
|
|
165
175
|
}
|
|
@@ -169,27 +179,27 @@ class Oe extends q {
|
|
|
169
179
|
r(this, "initData", () => {
|
|
170
180
|
var l;
|
|
171
181
|
this.doorLabels = [];
|
|
172
|
-
const
|
|
182
|
+
const i = this.five.panoIndex, n = this.floorplanServerData.computed_data.observers[i].floor_index, d = n !== void 0 && ((l = this.floorplanServerData.computed_data.floor_datas[n]) == null ? void 0 : l.rooms);
|
|
173
183
|
this.rooms = d, this.rooms && this.rooms.length > 0 && this.rooms.forEach((h) => {
|
|
174
184
|
var f;
|
|
175
|
-
const o = (f = this.floorplanServerData.computed_data.doors) == null ? void 0 : f.filter((
|
|
176
|
-
o && o.forEach((
|
|
177
|
-
const
|
|
185
|
+
const o = (f = this.floorplanServerData.computed_data.doors) == null ? void 0 : f.filter((t) => !!(t && t.name === h.name)), s = this.five.work.observers.filter((t, e) => !!h.observer_indexs.find((c) => c === e));
|
|
186
|
+
o && o.forEach((t) => {
|
|
187
|
+
const e = t.position;
|
|
178
188
|
let c = 1 / 0, v;
|
|
179
189
|
s.forEach((y) => {
|
|
180
190
|
const g = y.standingPosition, w = {
|
|
181
191
|
x: g.x,
|
|
182
192
|
y: g.y,
|
|
183
193
|
z: g.z
|
|
184
|
-
}, L = J(
|
|
194
|
+
}, L = J(e, w);
|
|
185
195
|
L < c && (c = L, v = w);
|
|
186
|
-
}), v && (
|
|
187
|
-
const b = new V(
|
|
188
|
-
b.add(new V(-0.2, 1.8, 0).applyEuler(new z(0,
|
|
196
|
+
}), v && (e.y = v.y + 0.01);
|
|
197
|
+
const b = new V(e.x, e.y, e.z);
|
|
198
|
+
b.add(new V(-0.2, 1.8, 0).applyEuler(new z(0, t.rad, 0))), this.doorLabels.push({
|
|
189
199
|
roomName: h.name,
|
|
190
|
-
name:
|
|
200
|
+
name: t.name,
|
|
191
201
|
position: b,
|
|
192
|
-
toward: K(
|
|
202
|
+
toward: K(t.rad)
|
|
193
203
|
});
|
|
194
204
|
});
|
|
195
205
|
}), this.labelItems = this.doorLabels.map((h) => W(H({}, h), {
|
|
@@ -202,33 +212,33 @@ class Oe extends q {
|
|
|
202
212
|
})), this.five.on("wantsToMoveToPano", this.hideAllLabels), this.five.on("modelLoaded", this.fixDoorVisibleAndPosition), this.five.on("panoArrived", this.fixDoorVisibleAndPosition), this.five.on("initAnimationEnded", this.fixDoorPosition), this.five.on("cameraUpdate", this.fixDoorPosition), this.five.on("mouseWheel", this.fixDoorPosition), this.five.on("pinchGesture", this.fixDoorPosition), this.fixDoorVisibleAndPosition();
|
|
203
213
|
});
|
|
204
214
|
}
|
|
205
|
-
stateChangedCallback(
|
|
215
|
+
stateChangedCallback(i, n) {
|
|
206
216
|
if (this.hooks.hasListener("stateChange")) {
|
|
207
217
|
const d = {
|
|
208
218
|
state: this.state,
|
|
209
|
-
prevState:
|
|
210
|
-
userAction: n ? n.userAction :
|
|
219
|
+
prevState: i,
|
|
220
|
+
userAction: n ? n.userAction : ii.userAction
|
|
211
221
|
};
|
|
212
222
|
this.hooks.emit("stateChange", d);
|
|
213
223
|
}
|
|
214
224
|
}
|
|
215
225
|
render() {
|
|
216
226
|
if (!this.enabled) {
|
|
217
|
-
this.doorLabelItems && this.doorLabelItems.length > 0 && this.doorLabelItems.forEach((
|
|
218
|
-
|
|
227
|
+
this.doorLabelItems && this.doorLabelItems.length > 0 && this.doorLabelItems.forEach((i) => {
|
|
228
|
+
i == null || i.$destroy();
|
|
219
229
|
}), this.doorLabels = void 0;
|
|
220
230
|
return;
|
|
221
231
|
}
|
|
222
|
-
this.doorLabelItems && this.doorLabelItems.forEach((
|
|
223
|
-
|
|
224
|
-
}), this.doorLabelItems = [], this.labelItems.forEach((
|
|
232
|
+
this.doorLabelItems && this.doorLabelItems.forEach((i) => {
|
|
233
|
+
i.$destroy();
|
|
234
|
+
}), this.doorLabelItems = [], this.labelItems.forEach((i) => {
|
|
225
235
|
this.doorLabelItems.push(
|
|
226
236
|
new X({
|
|
227
237
|
target: this.container,
|
|
228
238
|
props: {
|
|
229
|
-
props:
|
|
239
|
+
props: i,
|
|
230
240
|
onClick: () => {
|
|
231
|
-
this.onClick(
|
|
241
|
+
this.onClick(i.name, i.position);
|
|
232
242
|
}
|
|
233
243
|
}
|
|
234
244
|
})
|
|
@@ -243,5 +253,5 @@ class Oe extends q {
|
|
|
243
253
|
}
|
|
244
254
|
}
|
|
245
255
|
export {
|
|
246
|
-
|
|
256
|
+
Ri as PanoDoorLabelPluginController
|
|
247
257
|
};
|
|
@@ -1,89 +1,99 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { safe_not_equal as T, null_to_empty as u, noop as d } from "../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as L, element as C, space as p, attr as M, insert as O, append as j, listen as S, detach as y } from "../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { binding_callbacks as P } from "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
4
|
+
import { SvelteComponent as v, init as Z } from "../vendor/svelte/src/runtime/internal/Component.js";
|
|
5
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
2
6
|
import { classnames as s } from "../vendor/classnames/index.js";
|
|
3
|
-
|
|
4
|
-
|
|
7
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
8
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
9
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
10
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
11
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
12
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
13
|
+
function k(i) {
|
|
14
|
+
L(i, "svelte-1irjijd", '.plugin-DoorLabelPlugin-item.svelte-1irjijd.svelte-1irjijd{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;transition:opacity 0.3s ease}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd{position:absolute;top:50%;left:50%;border-radius:0.125rem;background:rgba(0, 0, 0, 0.35);line-height:0.75rem;padding:0.375rem;white-space:nowrap;font-size:0.75rem;font-style:normal;color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform ease 1s, background ease 0.3s, color ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd::after{content:"";display:block;position:absolute;top:-0.0625rem;left:-0.0625rem;bottom:-0.0625rem;right:-0.0625rem;border-radius:0.125rem;border:0.0625rem solid rgba(0, 0, 0, 0);-o-border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUAAAD///+l2Z/dAAAAAnRSTlMAIE397fAAAAAVSURBVAjXY2BjgCMQ+PABhIAASRwARxwD8fgzCQAAAAAASUVORK5CYII=") 4;border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUAAAD///+l2Z/dAAAAAnRSTlMAIE397fAAAAAVSURBVAjXY2BjgCMQ+PABhIAASRwARxwD8fgzCQAAAAAASUVORK5CYII=") 4;transition:opacity ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd:active,.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd:focus{background:rgba(0, 0, 0, 0.5);color:rgba(255, 255, 255, 0.5)}.plugin-DoorLabelPlugin-icon.svelte-1irjijd.svelte-1irjijd{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSIxMHB4IiB2aWV3Qm94PSIwIDAgMTAgMTAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aW1hZ2Ut566t5aS0PC90aXRsZT4KICAgIDxkZWZzPgogICAgICAgIDxyZWN0IGlkPSJwYXRoLTEiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PC9yZWN0PgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iNjYuMDYyMTk3NSUiIHkxPSI1MCUiIHgyPSItMS4xMzY4NjgzOGUtMTElIiB5Mj0iNTAlIiBpZD0ibGluZWFyR3JhZGllbnQtMyI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiNGRkZGRkYiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0ZGRkZGRiIgc3RvcC1vcGFjaXR5PSIwLjg1IiBvZmZzZXQ9IjEwMCUiPjwvc3RvcD4KICAgICAgICA8L2xpbmVhckdyYWRpZW50PgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4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NDg0MDc5MTIgMS4yODE2NDI4Nyw1LjQyNzg3NTMyIDEuMjY2MjA5NzcsNS4zNjU3ODM5OCBDMS4yNTQ2OTI1Niw1LjMxOTQ0NzMyIDEuMjU2MzY2OTgsNS4yNjk4MzE4MiAxLjI3Mjc1MzMzLDUuMjIzMDU0MDUgTDEuMjcyNzUzMzMsNS4yMjMwNTQwNSBaIiBpZD0i566t5aS0IiBzdHJva2U9InVybCgjbGluZWFyR3JhZGllbnQtNCkiIHN0cm9rZS13aWR0aD0iMC41IiBmaWxsPSJ1cmwoI2xpbmVhckdyYWRpZW50LTMpIiBtYXNrPSJ1cmwoI21hc2stMikiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUuMDM5MjAwLCA1LjMwNTQ4MCkgc2NhbGUoMSwgLTEpIHJvdGF0ZSgtOTAuMDAwMDAwKSB0cmFuc2xhdGUoLTUuMDM5MjAwLCAtNS4zMDU0ODApICI+PC9wYXRoPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=") no-repeat;background-size:100%;display:inline-block;width:0.625rem;height:0.625rem;margin-left:0.25rem;transform-origin:center}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].left.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].forward.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].back.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].right.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd.svelte-1irjijd{color:#f9eac1}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSI4cHgiIHZpZXdCb3g9IjAgMCAxMCA4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGx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rand.svelte-1irjijd.svelte-1irjijd:focus{background:rgba(0, 0, 0, 0.5);color:rgba(249, 234, 193, 0.5)}');
|
|
5
15
|
}
|
|
6
|
-
function x(
|
|
7
|
-
let I,
|
|
16
|
+
function x(i) {
|
|
17
|
+
let I, g, l, a, A, t, r, n;
|
|
8
18
|
return {
|
|
9
19
|
c() {
|
|
10
|
-
I = C("div"),
|
|
11
|
-
|
|
20
|
+
I = C("div"), g = C("div"), l = C("span"), l.textContent = `${/*name*/
|
|
21
|
+
i[8]}`, a = p(), A = C("i"), M(l, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), M(A, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), M(g, "class", t = u(s(
|
|
12
22
|
"plugin-DoorLabelPlugin-cnt",
|
|
13
23
|
/*props*/
|
|
14
|
-
|
|
15
|
-
)) + " svelte-1irjijd"), M(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
24
|
+
i[0].toward
|
|
25
|
+
)) + " svelte-1irjijd"), M(g, "style", `transform: ${/*transform*/
|
|
26
|
+
i[6] || "initial"};pointer-events: ${/*inSight*/
|
|
27
|
+
i[5] ? "auto" : "none"};opacity: ${/*inSight*/
|
|
28
|
+
i[5] ? 1 : 0}`), M(
|
|
29
|
+
g,
|
|
20
30
|
"data-camera-toward",
|
|
21
31
|
/*cameraToward*/
|
|
22
|
-
|
|
32
|
+
i[7]
|
|
23
33
|
), M(I, "style", `left: ${/*left*/
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
34
|
+
i[3] || 0}%;top: ${/*top*/
|
|
35
|
+
i[4] || 0}%;opacity: ${/*inSight*/
|
|
36
|
+
i[5] ? 1 : 0}`), M(I, "class", "plugin-DoorLabelPlugin-item svelte-1irjijd");
|
|
27
37
|
},
|
|
28
|
-
m(
|
|
29
|
-
|
|
30
|
-
|
|
38
|
+
m(o, D) {
|
|
39
|
+
O(o, I, D), j(I, g), j(g, l), j(g, a), j(g, A), i[10](I), r || (n = S(
|
|
40
|
+
g,
|
|
31
41
|
"click",
|
|
32
42
|
/*click_handler*/
|
|
33
|
-
|
|
43
|
+
i[9]
|
|
34
44
|
), r = !0);
|
|
35
45
|
},
|
|
36
|
-
p(
|
|
46
|
+
p(o, [D]) {
|
|
37
47
|
D & /*props*/
|
|
38
|
-
1 &&
|
|
48
|
+
1 && t !== (t = u(s(
|
|
39
49
|
"plugin-DoorLabelPlugin-cnt",
|
|
40
50
|
/*props*/
|
|
41
|
-
|
|
42
|
-
)) + " svelte-1irjijd") && M(
|
|
51
|
+
o[0].toward
|
|
52
|
+
)) + " svelte-1irjijd") && M(g, "class", t);
|
|
43
53
|
},
|
|
44
54
|
i: d,
|
|
45
55
|
o: d,
|
|
46
|
-
d(
|
|
47
|
-
|
|
56
|
+
d(o) {
|
|
57
|
+
o && y(I), i[10](null), r = !1, n();
|
|
48
58
|
}
|
|
49
59
|
};
|
|
50
60
|
}
|
|
51
|
-
function U(
|
|
52
|
-
let { props:
|
|
61
|
+
function U(i, I, g) {
|
|
62
|
+
let { props: l } = I, { onClick: a } = I, A, { left: t, top: r, inSight: n, transform: o, panoIndex: D, cameraToward: N, name: w } = l;
|
|
53
63
|
const z = () => {
|
|
54
|
-
if (!
|
|
64
|
+
if (!t || !r || !n || !A)
|
|
55
65
|
return;
|
|
56
66
|
const e = A.current.clientWidth / window.innerWidth * 100, c = A.current.clientHeight / window.innerHeight * 100;
|
|
57
|
-
|
|
58
|
-
},
|
|
67
|
+
t <= e / 2 || t >= 100 - e / 2 || r <= c / 2 || r >= 100 - c / 2;
|
|
68
|
+
}, m = (e) => {
|
|
59
69
|
a && a();
|
|
60
70
|
};
|
|
61
|
-
function
|
|
62
|
-
|
|
63
|
-
A = e,
|
|
71
|
+
function b(e) {
|
|
72
|
+
P[e ? "unshift" : "push"](() => {
|
|
73
|
+
A = e, g(2, A);
|
|
64
74
|
});
|
|
65
75
|
}
|
|
66
|
-
return
|
|
67
|
-
"props" in e &&
|
|
76
|
+
return i.$$set = (e) => {
|
|
77
|
+
"props" in e && g(0, l = e.props), "onClick" in e && g(1, a = e.onClick);
|
|
68
78
|
}, z(), [
|
|
69
|
-
|
|
79
|
+
l,
|
|
70
80
|
a,
|
|
71
81
|
A,
|
|
72
|
-
|
|
82
|
+
t,
|
|
73
83
|
r,
|
|
74
|
-
o,
|
|
75
84
|
n,
|
|
85
|
+
o,
|
|
76
86
|
N,
|
|
77
87
|
w,
|
|
78
|
-
|
|
79
|
-
|
|
88
|
+
m,
|
|
89
|
+
b
|
|
80
90
|
];
|
|
81
91
|
}
|
|
82
|
-
class
|
|
92
|
+
class F extends v {
|
|
83
93
|
constructor(I) {
|
|
84
|
-
super(),
|
|
94
|
+
super(), Z(this, I, U, x, T, { props: 0, onClick: 1 }, k);
|
|
85
95
|
}
|
|
86
96
|
}
|
|
87
97
|
export {
|
|
88
|
-
|
|
98
|
+
F as default
|
|
89
99
|
};
|
|
@@ -23,11 +23,21 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
24
|
import "../shared-utils/url/absoluteUrl.js";
|
|
25
25
|
import "./DoorLabelItem.js";
|
|
26
|
-
import "../vendor/svelte/internal/
|
|
26
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
27
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
28
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
29
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
30
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
31
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
32
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
33
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
34
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
35
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
36
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
27
37
|
import "../vendor/classnames/index.js";
|
|
28
38
|
import "./utils.js";
|
|
29
|
-
const
|
|
39
|
+
const N = (o) => new r(o);
|
|
30
40
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
41
|
+
N as PanoDoorLabelPlugin,
|
|
42
|
+
N as default
|
|
33
43
|
};
|