@realsee/dnalogel 3.60.1-alpha.5 → 3.60.2-alpha.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/components/index.js +13 -13
- package/dist/index.cjs.js +48 -48
- package/dist/index.js +6402 -6341
- package/dist/index.umd.js +60 -60
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
- package/docs/classes/CSS3DRender.html +2 -2
- package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
- package/docs/classes/ModelMakerPluginInstance.html +2 -2
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +2 -2
- package/docs/classes/Object3DHelperController.html +2 -2
- package/docs/classes/PaintBrush.html +2 -2
- package/docs/classes/PanoMeasurePluginLine.html +2 -2
- package/docs/classes/PanoMeasurePluginModel.html +2 -2
- package/docs/classes/PanoMeasurePluginPoint.html +2 -2
- package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
- package/docs/classes/PanoTagPluginController.html +2 -2
- package/docs/classes/Sculpt.html +2 -2
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +2 -2
- package/docs/classes/Util.FivePuppet.html +2 -2
- package/docs/classes/Util.Interval.html +2 -2
- package/docs/classes/Util.LightTag.html +2 -2
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +2 -2
- package/docs/classes/Util.Object3D.html +2 -2
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +2 -2
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +2 -2
- package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
- package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.LineMesh.html +2 -2
- package/docs/classes/Util.sculpt.PointMesh.html +2 -2
- package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
- package/docs/classes/WalkController.html +2 -2
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/ContentType.html +2 -2
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +2 -2
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/PaintBrushTypeEnum.html +2 -2
- package/docs/enums/PointType.html +2 -2
- package/docs/enums/Rotation.html +2 -2
- package/docs/functions/AreaMakerPlugin.html +1 -1
- package/docs/functions/CSS3DRenderPlugin.html +1 -1
- package/docs/functions/CameraMovementPlugin.html +2 -2
- package/docs/functions/CruisePlugin.html +1 -1
- package/docs/functions/CurrentPanoImagePlugin.html +1 -1
- package/docs/functions/GuideLinePlugin.html +1 -1
- package/docs/functions/ItemLabelPlugin.html +1 -1
- package/docs/functions/MapviewFloorplanPlugin.html +1 -1
- package/docs/functions/ModelChassisCompassPlugin.html +2 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
- package/docs/functions/ModelFloorplanPlugin.html +1 -1
- package/docs/functions/ModelItemLabelPlugin.html +1 -1
- package/docs/functions/ModelMakerPlugin.html +1 -1
- package/docs/functions/ModelRoomLabelPlugin.html +1 -1
- package/docs/functions/ModelTVVideoPlugin.html +1 -1
- package/docs/functions/ModelViewPlugin.html +2 -2
- package/docs/functions/MovePlugin.html +1 -1
- package/docs/functions/Object3DHelperPlugin.html +1 -1
- package/docs/functions/PanoCompassPlugin.html +1 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
- package/docs/functions/PanoDoorLabelPlugin.html +1 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
- package/docs/functions/PanoMeasurePlugin.html +1 -1
- package/docs/functions/PanoRulerPlugin.html +2 -2
- package/docs/functions/PanoRulerProPlugin.html +2 -2
- package/docs/functions/PanoSpatialTagPlugin.html +2 -2
- package/docs/functions/PanoTagPlugin.html +1 -1
- package/docs/functions/PanoVideoPlugin.html +2 -2
- package/docs/functions/PipelinePlugin.html +1 -1
- package/docs/functions/SculptPlugin.html +2 -2
- package/docs/functions/TopviewFloorplanPlugin.html +1 -1
- package/docs/functions/Util.absoluteUrl.html +2 -2
- package/docs/functions/Util.awaitNextFrame.html +1 -1
- package/docs/functions/Util.blink.html +2 -2
- package/docs/functions/Util.bounding.html +1 -1
- package/docs/functions/Util.boundingBox.html +1 -1
- package/docs/functions/Util.boundingSphere.html +1 -1
- package/docs/functions/Util.boxVertex.html +2 -2
- package/docs/functions/Util.boxVertexes.html +1 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
- package/docs/functions/Util.convexHull.html +2 -2
- package/docs/functions/Util.equal.html +2 -2
- package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
- package/docs/functions/Util.getCoordsFromClient.html +1 -1
- package/docs/functions/Util.getCoordsFromElement.html +1 -1
- package/docs/functions/Util.getFrameTime.html +2 -2
- package/docs/functions/Util.inside.html +1 -1
- package/docs/functions/Util.isAbsoluteURL.html +1 -1
- package/docs/functions/Util.isModelLike.html +1 -1
- package/docs/functions/Util.isNil.html +2 -2
- package/docs/functions/Util.isPanoramaLike.html +1 -1
- package/docs/functions/Util.lookObject.html +2 -2
- package/docs/functions/Util.lookPoint.html +2 -2
- package/docs/functions/Util.nextFrame.html +1 -1
- package/docs/functions/Util.notNil.html +2 -2
- package/docs/functions/Util.reblink.html +2 -2
- package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
- package/docs/functions/Util.sculpt.createBox.html +1 -1
- package/docs/functions/Util.sculpt.createCircle.html +1 -1
- package/docs/functions/Util.sculpt.createCylinder.html +1 -1
- package/docs/functions/Util.sculpt.createLine.html +2 -2
- package/docs/functions/Util.sculpt.createPoint.html +1 -1
- package/docs/functions/Util.sculpt.createPolygon.html +1 -1
- package/docs/functions/Util.sculpt.createPrism.html +1 -1
- package/docs/functions/Util.sculpt.createRectangle.html +2 -2
- package/docs/functions/Util.tag.html +1 -1
- package/docs/functions/Util.tweenProgress.html +1 -1
- package/docs/functions/Util.uuid.html +2 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
- package/docs/functions/Util.worldBounding.html +1 -1
- package/docs/functions/Util.worldBoundingBox.html +1 -1
- package/docs/functions/Util.worldBoundingSphere.html +1 -1
- package/docs/functions/createPolyline.html +2 -2
- package/docs/functions/pluginFlag.html +1 -1
- package/docs/hierarchy.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/ContentTypeMapInterface.html +2 -2
- package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +2 -2
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +2 -2
- package/docs/interfaces/FloorplanExtraObject.html +2 -2
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +2 -2
- package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
- package/docs/interfaces/FloorplanServerBounding.html +2 -2
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +2 -2
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
- package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
- package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +2 -2
- package/docs/interfaces/HelperOffset.html +2 -2
- package/docs/interfaces/ImagePlaneGroup.html +2 -2
- package/docs/interfaces/ItemLabelPluginData.html +2 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/MinMax.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
- package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
- package/docs/interfaces/ModelViewPluginExportType.html +2 -2
- package/docs/interfaces/Object3DHelperState.html +2 -2
- package/docs/interfaces/ObjectHelperControllers.html +2 -2
- package/docs/interfaces/PaintBrushAction.html +2 -2
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +2 -2
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
- package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
- package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
- package/docs/interfaces/PanoRulerProPluginState.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
- package/docs/interfaces/PluginEventMap.html +2 -2
- package/docs/interfaces/Point.html +2 -2
- package/docs/interfaces/Room.html +2 -2
- package/docs/interfaces/RoomInfo.html +2 -2
- package/docs/interfaces/RoomLabel.html +2 -2
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +2 -2
- package/docs/interfaces/State.html +2 -2
- package/docs/interfaces/TagCacheInterface.html +2 -2
- package/docs/interfaces/TagConfig.html +2 -2
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +2 -2
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +2 -2
- package/docs/interfaces/TemporaryState.html +2 -2
- package/docs/interfaces/Util.AnimeInstance.html +2 -2
- package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
- package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
- package/docs/interfaces/Util.MagnifierParameter.html +2 -2
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +2 -2
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
- package/docs/modules/AreaMakerPluginType.html +2 -2
- package/docs/modules/CruisePluginTypes.html +2 -2
- package/docs/modules/CurrentPanoImagePluginType.html +2 -2
- package/docs/modules/GuideLineItem.html +2 -2
- package/docs/modules/GuideLineModeItem.html +2 -2
- package/docs/modules/GuideLinePluginType.html +2 -2
- package/docs/modules/ModelMakerPluginType.html +2 -2
- package/docs/modules/PanoVideoPluginType.html +2 -2
- package/docs/modules/SculptData.html +2 -2
- package/docs/modules/Util.html +2 -2
- package/docs/modules/Util.sculpt.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AddObject3DHelperConfig.html +2 -2
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
- package/docs/types/ArrayPosition.html +1 -1
- package/docs/types/AudioAppearance.html +1 -1
- package/docs/types/CSS3DRenderExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginExportType.html +1 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
- package/docs/types/ClassFunctionParameters.html +1 -1
- package/docs/types/Color.html +1 -1
- package/docs/types/ContentTypeConfigKey.html +1 -1
- package/docs/types/ContentTypeConfigKeySplit.html +1 -1
- package/docs/types/ContentTypeMap.html +1 -1
- package/docs/types/Create3DDomContainerReturnType.html +1 -1
- package/docs/types/Create3DElementReturnType.html +1 -1
- package/docs/types/CruisePluginExportType.html +1 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
- package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
- package/docs/types/DeprecatedTagProperty.html +2 -2
- package/docs/types/Direction-1.html +1 -1
- package/docs/types/Direction4.html +1 -1
- package/docs/types/ElementRenderer.html +2 -2
- package/docs/types/FloorplanRuleLabels.html +2 -2
- package/docs/types/FloorplanServerRuleLabels.html +1 -1
- package/docs/types/GuideLinePluginExportType.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
- package/docs/types/GuideLinePluginType.PathItem.html +2 -2
- package/docs/types/GuideLinePluginType.PluginData.html +2 -2
- package/docs/types/HelperEventMap.html +1 -1
- package/docs/types/InternalHelperEventMap.html +1 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/MediaData.html +2 -2
- package/docs/types/MediaStore.html +1 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
- package/docs/types/ModelId.html +1 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
- package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
- package/docs/types/MoveArgs.html +2 -2
- package/docs/types/MoveOpts.html +2 -2
- package/docs/types/Object3DHelperEventMap.html +1 -1
- package/docs/types/ObjectFit.html +1 -1
- package/docs/types/PaintBrushEventMap.html +1 -1
- package/docs/types/PanoCompassPluginData.html +1 -1
- package/docs/types/PanoCompassPluginExportType.html +1 -1
- package/docs/types/PanoCompassPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
- package/docs/types/PanoIndex.html +1 -1
- package/docs/types/PanoMeasurePluginEvent.html +1 -1
- package/docs/types/PanoMeasureReturnType.html +1 -1
- package/docs/types/PanoSpatialTagPluginId.html +1 -1
- package/docs/types/PanoTagPluginExportInterface.html +1 -1
- package/docs/types/PanoTagPluginParamsInterface.html +1 -1
- package/docs/types/PanoVideoPluginParameterType.html +1 -1
- package/docs/types/PanoVideoPluginReturnType.html +1 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
- package/docs/types/PipelinePluginParameterType.html +1 -1
- package/docs/types/PipelinePluginReturnType.html +1 -1
- package/docs/types/PlaneTag.html +2 -2
- package/docs/types/Point2DTag.html +2 -2
- package/docs/types/Point3DTag.html +2 -2
- package/docs/types/PointTagInstance.html +1 -1
- package/docs/types/Position.html +1 -1
- package/docs/types/PositionFrom.html +1 -1
- package/docs/types/RotateArgs.html +2 -2
- package/docs/types/RotateOpts.html +2 -2
- package/docs/types/RuleLabelsKey.html +1 -1
- package/docs/types/RuleLabelsValue.html +1 -1
- package/docs/types/ScaleCallback.html +1 -1
- package/docs/types/ScalePosition.html +2 -2
- package/docs/types/SculptData.BoxData.html +1 -1
- package/docs/types/SculptData.CircleData.html +1 -1
- package/docs/types/SculptData.CylinderData.html +1 -1
- package/docs/types/SculptData.PointData.html +1 -1
- package/docs/types/SculptData.PolygonData.html +1 -1
- package/docs/types/SculptData.PolylineData.html +1 -1
- package/docs/types/SculptData.PrismData.html +1 -1
- package/docs/types/SculptData.RectangleData.html +1 -1
- package/docs/types/StickType.html +1 -1
- package/docs/types/Tag.html +2 -2
- package/docs/types/Tag2D.html +2 -2
- package/docs/types/Tag3D.html +2 -2
- package/docs/types/TagClickParams.html +1 -1
- package/docs/types/TagConfigByKey.html +1 -1
- package/docs/types/TagContentType.html +1 -1
- package/docs/types/TagContentTypeMapping.html +1 -1
- package/docs/types/TagDimensionType.html +1 -1
- package/docs/types/TagElement.html +2 -2
- package/docs/types/TagEvents.html +1 -1
- package/docs/types/TagGLTFObject.html +1 -1
- package/docs/types/TagHooks.html +1 -1
- package/docs/types/TagId.html +1 -1
- package/docs/types/TagInstance.html +1 -1
- package/docs/types/TagPointType.html +2 -2
- package/docs/types/TagRendererMap.html +1 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
- package/docs/types/Util.ActionIfNoModelUnderMouse.html +1 -1
- package/docs/types/Util.PointSelectorConfig.html +1 -1
- package/docs/types/WorkCode.html +1 -1
- package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
- package/docs/variables/PLUGIN.html +1 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
- package/docs/variables/ROOM_TYPE_MAP.html +2 -2
- package/docs/variables/Util.animeMap.html +1 -1
- package/docs/variables/defaultGlobalConfig.html +1 -1
- package/docs/variables/itemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
- package/libs/AreaMakerPlugin/Controller.js +88 -134
- package/libs/AreaMakerPlugin/index.js +13 -59
- package/libs/AreaMakerPlugin/utils/Item.js +49 -100
- package/libs/CSS3DRenderPlugin/Controller.js +31 -73
- package/libs/CSS3DRenderPlugin/index.js +13 -55
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +39 -88
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +109 -153
- package/libs/CruisePlugin/BaseController.js +50 -100
- package/libs/CruisePlugin/Move.js +27 -58
- package/libs/CruisePlugin/Work.js +57 -88
- package/libs/CruisePlugin/index.js +37 -68
- package/libs/CurrentPanoImagePlugin/Controller.js +52 -101
- package/libs/CurrentPanoImagePlugin/index.js +6 -55
- package/libs/GuideLinePlugin/Controller.js +67 -98
- package/libs/GuideLinePlugin/GuideLineItem.js +34 -65
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +47 -55
- package/libs/GuideLinePlugin/GuideLineModeItem.js +34 -65
- package/libs/GuideLinePlugin/index.js +35 -66
- package/libs/ModelChassisCompassPlugin/Plugin.js +1 -1
- package/libs/ModelMakerPlugin/Controller.js +62 -86
- package/libs/ModelMakerPlugin/index.js +28 -52
- package/libs/ModelMakerPlugin/item/baseItem.js +14 -53
- package/libs/ModelMakerPlugin/item/boxItem.js +12 -51
- package/libs/ModelMakerPlugin/item/polygonItem.js +14 -53
- package/libs/ModelMakerPlugin/item/prismItem.js +23 -61
- package/libs/ModelTVVideoPlugin/Plugin.js +52 -94
- package/libs/ModelTVVideoPlugin/index.js +5 -47
- package/libs/Object3DHelperPlugin/Controller.js +82 -118
- package/libs/Object3DHelperPlugin/index.js +44 -80
- package/libs/PanoCompassPlugin/Controller.js +30 -66
- package/libs/PanoCompassPlugin/index.js +17 -53
- package/libs/PanoDoorLabelPlugin/Controller.js +107 -156
- package/libs/PanoDoorLabelPlugin/index.js +5 -54
- package/libs/PanoMeasurePlugin/Components/Controller0.js +24 -28
- package/libs/PanoMeasurePlugin/Components/Controller1.js +24 -28
- package/libs/PanoMeasurePlugin/Controller/EditController.js +61 -65
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +91 -140
- package/libs/PanoMeasurePlugin/Controller/index.js +43 -46
- package/libs/PanoMeasurePlugin/Model/area.js +37 -88
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -56
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +31 -35
- package/libs/PanoMeasurePlugin/index.js +36 -39
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +25 -79
- package/libs/PanoRulerProPlugin/Controller.js +41 -95
- package/libs/PanoRulerProPlugin/RulerItems.js +101 -155
- package/libs/PanoRulerProPlugin/index.js +6 -60
- package/libs/PanoSpatialTagPlugin/Plugin.js +116 -157
- package/libs/PanoSpatialTagPlugin/index.js +3 -44
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +54 -110
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +219 -275
- package/libs/PanoTagPlugin/Components/Tag/index.js +146 -182
- package/libs/PanoTagPlugin/Components/TagContainer.js +100 -136
- package/libs/PanoTagPlugin/Components/TagItem.js +77 -113
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +62 -104
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +39 -75
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +76 -112
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +52 -94
- package/libs/PanoTagPlugin/controller/TagRender.js +25 -71
- package/libs/PanoTagPlugin/controller/TagUtil.js +66 -112
- package/libs/PanoTagPlugin/controller/index.js +52 -83
- package/libs/PanoTagPlugin/index.js +32 -63
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +42 -98
- package/libs/PanoVideoPlugin/Controller.js +68 -117
- package/libs/PanoVideoPlugin/VideoMeshController.js +75 -130
- package/libs/PanoVideoPlugin/index.js +11 -60
- package/libs/PipelinePlugin/Controller.js +63 -111
- package/libs/PipelinePlugin/index.js +10 -58
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +26 -81
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +17 -72
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +48 -103
- package/libs/Sculpt/Meshes/Circle.js +14 -24
- package/libs/Sculpt/Meshes/Cylinder.js +22 -32
- package/libs/Sculpt/Meshes/Line.js +33 -40
- package/libs/Sculpt/Meshes/LineWithDots.js +12 -21
- package/libs/Sculpt/Meshes/Point.js +27 -36
- package/libs/Sculpt/Meshes/Polygon.js +16 -25
- package/libs/Sculpt/Meshes/Rectangle.js +18 -29
- package/libs/Sculpt/Objects/Line/Editor.js +22 -33
- package/libs/Sculpt/index.js +57 -68
- package/libs/Sculpt/utils/three/ColoredMesh.js +21 -31
- package/libs/base/BasePlugin.js +15 -26
- package/libs/components/AreaLabel/LabelItem.js +43 -42
- package/libs/components/PaintBrush/style.js +2 -2
- package/libs/components/index.js +1 -2
- package/libs/floorplan/Components/BaseImage.js +14 -13
- package/libs/floorplan/Components/Camera.js +13 -12
- package/libs/floorplan/Components/Compass.js +23 -22
- package/libs/floorplan/Components/CurrentFloor.js +19 -18
- package/libs/floorplan/Components/Main.js +14 -13
- package/libs/floorplan/Components/MissingFloor.js +40 -39
- package/libs/floorplan/Components/Normalmage.js +7 -6
- package/libs/floorplan/Components/RoomHighlight/Room.js +27 -26
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +3 -2
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +3 -2
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +3 -2
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +60 -59
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +24 -23
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +35 -34
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +22 -21
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +55 -54
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +47 -46
- package/libs/floorplan/Components/SvgImage.js +17 -16
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +63 -111
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -54
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +60 -109
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -54
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +71 -120
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -54
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +80 -129
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -54
- package/libs/floorplan/index.js +0 -12
- package/libs/index.js +210 -210
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +13 -22
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +4 -4
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +6 -6
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +5 -7
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -10
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -4
- package/libs/shared-utils/Object3DHelper/utils/index.js +1 -1
- package/libs/shared-utils/animationFrame/index.js +6 -7
- package/libs/shared-utils/exports.js +62 -62
- package/libs/shared-utils/five/index.js +2 -13
- package/libs/shared-utils/five/initialCSS3DRender.js +1 -1
- package/libs/shared-utils/five/lookObject.js +24 -33
- package/libs/shared-utils/index.js +1 -11
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/object3d2LocalMatrix.js +9 -9
- package/libs/shared-utils/tag.js +14 -23
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +9 -12
- package/libs/shared-utils/three/index.js +1 -11
- package/libs/shared-utils/three/libs/NURBSCurve.js +1 -1
- package/libs/shared-utils/three/transformPositionToVector3.js +2 -2
- package/package.json +3 -2
|
@@ -39,81 +39,39 @@ var y = (c, i, e) => new Promise((t, r) => {
|
|
|
39
39
|
import { Subscribe as Y } from "../../../shared-utils/Subscribe.js";
|
|
40
40
|
import { calculateTagConfig as U } from "../../utils/tag/calculateTagConfig.js";
|
|
41
41
|
import { getTagStickType as ee } from "../../utils/tag/format.js";
|
|
42
|
-
import "../../../shared-utils/tag.js";
|
|
43
|
-
import { isPanoramaLike as T, isModelLike as k } from "../../../shared-utils/five/mode.js";
|
|
44
|
-
import * as B from "three";
|
|
45
|
-
import "../../../vendor/hammerjs/hammer.js";
|
|
46
|
-
import "../../../shared-utils/three/PointSelector/index.js";
|
|
47
|
-
import { centerPoint as ie } from "../../../shared-utils/three/centerPoint.js";
|
|
48
|
-
import "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
49
|
-
import { anyPositionToVector3 as O } from "../../../shared-utils/positionToVector3.js";
|
|
50
|
-
import { toArray as te } from "../../../shared-utils/util.js";
|
|
51
|
-
import "@realsee/five/line";
|
|
52
|
-
import { isNil as R, notNil as E } from "../../../shared-utils/isNil.js";
|
|
53
|
-
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
54
|
-
import "../../../shared-utils/three/core/Sphere.js";
|
|
55
|
-
import { blink as se, reblink as ne } from "../../../shared-utils/three/blink.js";
|
|
56
|
-
import { vectorToCoordinates as oe } from "../../../shared-utils/vectorToCoordinate.js";
|
|
57
|
-
import { transformPosition as L } from "../../../shared-utils/five/transformPosition.js";
|
|
58
|
-
import { lookPoint as re } from "../../../shared-utils/five/lookPoint.js";
|
|
59
|
-
import { uuid as le } from "../../../shared-utils/uuid.js";
|
|
60
|
-
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
61
|
-
import "../../../shared-utils/five/FivePuppet.js";
|
|
62
42
|
import { objectAssignDeepExports as b } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
43
|
+
import { anyPositionToVector3 as B } from "../../../shared-utils/positionToVector3.js";
|
|
44
|
+
import { transformPosition as O } from "../../../shared-utils/five/transformPosition.js";
|
|
45
|
+
import * as R from "three";
|
|
46
|
+
import { getTagPosition as E, getTagCenterPosition as L } from "../../utils/tagPosition.js";
|
|
47
|
+
import { checkRange as k } from "../../utils/checkRange.js";
|
|
48
|
+
import { centerPoint as ie } from "../../../shared-utils/three/centerPoint.js";
|
|
49
|
+
import { isMediaPlaneTag as te, isMediaModelTag as T } from "../../utils/tag/tagCheck.js";
|
|
50
|
+
import { getUrlExt as $ } from "../../../shared-utils/url/getUrl.js";
|
|
51
|
+
import { getFloorIndex as se } from "../../../shared-utils/five/getFloorIndex.js";
|
|
52
|
+
import { safeObj as z } from "../../../shared-utils/safeObj.js";
|
|
53
|
+
import { toArray as ne } from "../../../shared-utils/util.js";
|
|
54
|
+
import { Cache as oe } from "../../utils/Cache.js";
|
|
55
|
+
import { vectorToCoordinates as re } from "../../../shared-utils/vectorToCoordinate.js";
|
|
56
|
+
import { _raycaster as S } from "../../../shared-utils/three/temp.js";
|
|
57
|
+
import { withResolvers as le } from "../../../shared-utils/promise/withResolvers.js";
|
|
58
|
+
import { uuid as ae } from "../../../shared-utils/uuid.js";
|
|
59
|
+
import { lookPoint as fe } from "../../../shared-utils/five/lookPoint.js";
|
|
60
|
+
import { blink as de, reblink as ce } from "../../../shared-utils/three/blink.js";
|
|
61
|
+
import { isNil as N, notNil as J } from "../../../shared-utils/isNil.js";
|
|
62
|
+
import { isPanoramaLike as V, isModelLike as x } from "../../../shared-utils/five/mode.js";
|
|
72
63
|
import "../../../shared-utils/typescript/entries.js";
|
|
73
64
|
import "../../utils/tag/adaptConfig.js";
|
|
74
65
|
import "../../typings/tag/TagConfig.js";
|
|
75
66
|
import "@realsee/five";
|
|
76
|
-
import "../../../
|
|
77
|
-
import "../../../shared-utils/
|
|
78
|
-
import "../../../shared-utils/five/getFiveModel.js";
|
|
67
|
+
import "../../../shared-utils/formatRad.js";
|
|
68
|
+
import "../../../shared-utils/three/core/Raycaster.js";
|
|
79
69
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
80
70
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
81
71
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
82
|
-
import "../../../shared-utils/
|
|
83
|
-
import "../../../
|
|
84
|
-
|
|
85
|
-
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
86
|
-
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
87
|
-
import "../../../shared-utils/three/Magnifier.js";
|
|
88
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
89
|
-
import "../../../shared-utils/three/Assets/index.js";
|
|
90
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
91
|
-
import "../../../shared-utils/even.js";
|
|
92
|
-
import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
93
|
-
import "../../../shared-utils/three/getObjectVisible.js";
|
|
94
|
-
import "../../../shared-utils/three/core/Raycaster.js";
|
|
95
|
-
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
96
|
-
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
97
|
-
import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
98
|
-
import "../../../shared-utils/createResizeObserver.js";
|
|
99
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
100
|
-
import "../../../Sculpt/Meshes/Line.js";
|
|
101
|
-
import "../../../Sculpt/typings/style.js";
|
|
102
|
-
import "../../../shared-utils/three/IObject3D.js";
|
|
103
|
-
import "../../../Sculpt/utils/removeAllTag.js";
|
|
104
|
-
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
105
|
-
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
106
|
-
import "../../../shared-utils/three/core/LineGeometry.js";
|
|
107
|
-
import "../../../shared-utils/three/core/LineMaterial.js";
|
|
108
|
-
import "../../../shared-utils/three/core/Line2.js";
|
|
109
|
-
import "../../../shared-utils/three/core/LineMaterial2.js";
|
|
110
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
111
|
-
import "../../../shared-utils/isTouchDevice.js";
|
|
112
|
-
import "../../../shared-utils/five/getPosition.js";
|
|
113
|
-
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
114
|
-
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
115
|
-
import "../../../shared-utils/formatRad.js";
|
|
116
|
-
class Oi {
|
|
72
|
+
import "../../../shared-utils/five/getFiveModel.js";
|
|
73
|
+
import "../../../vendor/animejs/lib/anime.es.js";
|
|
74
|
+
class Xe {
|
|
117
75
|
constructor(i, e) {
|
|
118
76
|
f(this, "plugin");
|
|
119
77
|
f(this, "id");
|
|
@@ -145,7 +103,7 @@ class Oi {
|
|
|
145
103
|
f(this, "entryFromModel");
|
|
146
104
|
f(this, "_updating", !1);
|
|
147
105
|
f(this, "ready", () => {
|
|
148
|
-
const { promise: i, resolve: e } =
|
|
106
|
+
const { promise: i, resolve: e } = le();
|
|
149
107
|
if (!this._updating)
|
|
150
108
|
e();
|
|
151
109
|
else {
|
|
@@ -165,7 +123,7 @@ class Oi {
|
|
|
165
123
|
const r = JSON.parse(JSON.stringify(e.data)), s = (n = e.initialConfig) != null ? n : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
|
|
166
124
|
e.initialConfig = s;
|
|
167
125
|
const l = U(e, i.config), o = this.getConfig(e);
|
|
168
|
-
e.config = o, this.id = (d = e.id) != null ? d :
|
|
126
|
+
e.config = o, this.id = (d = e.id) != null ? d : ae(), this.enabled = (h = e.enabled) != null ? h : !0, this.contentType = e.contentType, this.data = (u = o.initialData) != null && u.important ? b(e.data, r, o.initialData) : b(e.data, o.initialData, r), this.state = g({
|
|
169
127
|
visible: void 0,
|
|
170
128
|
unfolded: !this.can("fold")
|
|
171
129
|
}, o.initialState), this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
|
|
@@ -173,11 +131,11 @@ class Oi {
|
|
|
173
131
|
if (!a)
|
|
174
132
|
return;
|
|
175
133
|
const m = i.workUtil.transform;
|
|
176
|
-
return Array.isArray(a) && a.length === 4 ? a.map(
|
|
134
|
+
return Array.isArray(a) && a.length === 4 ? a.map(B).map((p) => O(p, m).toArray()) : O(B(a), m).toArray();
|
|
177
135
|
})(), this.matrix = e.matrix ? (() => {
|
|
178
|
-
const a = new
|
|
136
|
+
const a = new R.Matrix4().fromArray(e.matrix);
|
|
179
137
|
return a.premultiply(i.workUtil.transform), a.elements;
|
|
180
|
-
})() : e.matrix, this.initialConfig = s, this.computedConfig = l, this.stickType = t, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new
|
|
138
|
+
})() : e.matrix, this.initialConfig = s, this.computedConfig = l, this.stickType = t, this.config = e.config, this.fiveState = e.fiveState, this.normal = e.normal, this.cache = new oe(), this.hooks = new Y(), Object.keys(e).forEach((a) => {
|
|
181
139
|
this[a] === void 0 && e[a] !== void 0 && (this[a] = e[a]);
|
|
182
140
|
});
|
|
183
141
|
}
|
|
@@ -195,7 +153,7 @@ class Oi {
|
|
|
195
153
|
return this.plugin.workUtil;
|
|
196
154
|
}
|
|
197
155
|
get centerPosition() {
|
|
198
|
-
const i =
|
|
156
|
+
const i = E(this);
|
|
199
157
|
return ie(...Array.isArray(i) ? i : [i]);
|
|
200
158
|
}
|
|
201
159
|
get currentConfig() {
|
|
@@ -227,16 +185,16 @@ class Oi {
|
|
|
227
185
|
const t = (r = i == null ? void 0 : i.targetMode) != null ? r : this.five.state.mode;
|
|
228
186
|
if (t === "Panorama") {
|
|
229
187
|
const s = e == null ? void 0 : e.panoIndex;
|
|
230
|
-
if (
|
|
188
|
+
if (N(s))
|
|
231
189
|
return this;
|
|
232
190
|
const l = this.workUtil.getObserverPosition(s), o = this.centerPosition.clone().sub(l).normalize();
|
|
233
191
|
this.five.setState(g({
|
|
234
192
|
mode: "Panorama",
|
|
235
193
|
workCode: this.workUtil.workCode,
|
|
236
194
|
panoIndex: s
|
|
237
|
-
},
|
|
195
|
+
}, re(o))), yield this.five.ready();
|
|
238
196
|
} else
|
|
239
|
-
t === "Mapview" && (yield
|
|
197
|
+
t === "Mapview" && (yield fe(this.five, this.centerPosition, i == null ? void 0 : i.pointConfig));
|
|
240
198
|
return this;
|
|
241
199
|
});
|
|
242
200
|
}
|
|
@@ -274,7 +232,7 @@ class Oi {
|
|
|
274
232
|
console.warn("tagDom is empty");
|
|
275
233
|
return;
|
|
276
234
|
}
|
|
277
|
-
yield (r ?
|
|
235
|
+
yield (r ? de : ce)(s, g({
|
|
278
236
|
begin: () => {
|
|
279
237
|
r === !1 && (this.dom && (this.dom.style.visibility = ""), this.contentDom && (this.contentDom.style.visibility = ""));
|
|
280
238
|
},
|
|
@@ -383,7 +341,7 @@ class Oi {
|
|
|
383
341
|
return !1;
|
|
384
342
|
const e = g(g({}, this.five.getCurrentState()), i);
|
|
385
343
|
let t = this.cache.getVisible(this, e);
|
|
386
|
-
return
|
|
344
|
+
return N(t) && (t = this.computeVisible(e).value, this.cache.setVisible(this, e, t)), t;
|
|
387
345
|
}
|
|
388
346
|
getUnfoldedByPanoIndex(i) {
|
|
389
347
|
if (!this.currentVisible)
|
|
@@ -423,15 +381,15 @@ class Oi {
|
|
|
423
381
|
return;
|
|
424
382
|
const t = this.data.mediaData;
|
|
425
383
|
if (!(!t || t.length === 0) && e.renderType === "Mesh") {
|
|
426
|
-
if (
|
|
384
|
+
if (te(this)) {
|
|
427
385
|
if (t.length === 1) {
|
|
428
386
|
if (t[0].type === "Video")
|
|
429
387
|
return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
|
|
430
388
|
if (t[0].type === "Image")
|
|
431
|
-
return
|
|
389
|
+
return $(t[0].url) === "gif" ? "Dom" : "Mesh";
|
|
432
390
|
}
|
|
433
|
-
} else if (
|
|
434
|
-
return t.length === 1 && t[0].type === "Image" ?
|
|
391
|
+
} else if (T(this))
|
|
392
|
+
return t.length === 1 && t[0].type === "Image" ? $(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
|
|
435
393
|
}
|
|
436
394
|
})();
|
|
437
395
|
return i != null ? i : "Dom";
|
|
@@ -460,7 +418,7 @@ class Oi {
|
|
|
460
418
|
if (p === !1)
|
|
461
419
|
return g({ value: !1, checkedList: s, reason: "followModelVisibility check failed" }, v);
|
|
462
420
|
}
|
|
463
|
-
if (
|
|
421
|
+
if (V(r) && n.visiblePanoIndex !== void 0 && n.visiblePanoIndex !== "all" && t !== void 0) {
|
|
464
422
|
if (s.push("visiblePanoIndex"), Array.isArray(n.visiblePanoIndex) && !n.visiblePanoIndex.includes(t))
|
|
465
423
|
return {
|
|
466
424
|
value: !1,
|
|
@@ -476,7 +434,7 @@ class Oi {
|
|
|
476
434
|
}
|
|
477
435
|
if (n.visibleDistance !== void 0 && (s.push("visibleDistance"), n.visibleDistance !== "unLimited")) {
|
|
478
436
|
const p = this.getDistance(e, 1);
|
|
479
|
-
if (
|
|
437
|
+
if (k(p, n.visibleDistance) === !1)
|
|
480
438
|
return {
|
|
481
439
|
value: !1,
|
|
482
440
|
checkedList: s,
|
|
@@ -514,9 +472,9 @@ class Oi {
|
|
|
514
472
|
if (s || (s = (o = (l = this.fiveState) == null ? void 0 : l.mode) != null ? o : this.workUtil.observers.length ? "Panorama" : "ModelLike"), Array.isArray(s))
|
|
515
473
|
return s.includes(e);
|
|
516
474
|
if (s === "ModelLike")
|
|
517
|
-
return
|
|
475
|
+
return x(e);
|
|
518
476
|
if (s === "PanoramaLike")
|
|
519
|
-
return !
|
|
477
|
+
return !V(e);
|
|
520
478
|
if (s === "all")
|
|
521
479
|
return !0;
|
|
522
480
|
if (typeof s == "string")
|
|
@@ -525,8 +483,8 @@ class Oi {
|
|
|
525
483
|
if ((() => {
|
|
526
484
|
var l;
|
|
527
485
|
const s = t();
|
|
528
|
-
if (
|
|
529
|
-
if (
|
|
486
|
+
if (J((l = this.fiveState) == null ? void 0 : l.panoIndex) && i.entryFromModel) {
|
|
487
|
+
if (x(e) && s ? this.entryFromModel = !1 : this.entryFromModel = !0, x(e))
|
|
530
488
|
return !0;
|
|
531
489
|
} else
|
|
532
490
|
this.entryFromModel = !1;
|
|
@@ -542,30 +500,30 @@ class Oi {
|
|
|
542
500
|
/** 通过射线检测标签可用性 */
|
|
543
501
|
computeVisibleByIntersect(i) {
|
|
544
502
|
var n, d, h, u;
|
|
545
|
-
const e =
|
|
503
|
+
const e = z(z((n = this.getConfig().visibleConfig) != null ? n : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, r = V(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
|
|
546
504
|
if (r === void 0)
|
|
547
505
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
|
|
548
|
-
const s =
|
|
506
|
+
const s = ne(
|
|
549
507
|
(() => {
|
|
550
508
|
var m;
|
|
551
509
|
const a = (m = e.checkPoints) != null ? m : "center";
|
|
552
|
-
return a === "center" ?
|
|
510
|
+
return a === "center" ? L(this) : a === "corner" ? E(this) : Array.isArray(a) ? a : [];
|
|
553
511
|
})()
|
|
554
512
|
);
|
|
555
513
|
let l = 0, o = 0;
|
|
556
514
|
for (const a of s) {
|
|
557
|
-
const m = new
|
|
515
|
+
const m = new R.Vector3().subVectors(a, r).normalize();
|
|
558
516
|
let p;
|
|
559
|
-
|
|
560
|
-
const [v] = this.fiveUtil.model.intersectRaycaster(
|
|
517
|
+
S.set(r, m);
|
|
518
|
+
const [v] = this.fiveUtil.model.intersectRaycaster(S);
|
|
561
519
|
p = v == null ? void 0 : v.distance;
|
|
562
520
|
const I = (() => {
|
|
563
|
-
if (!
|
|
521
|
+
if (!T(this))
|
|
564
522
|
return;
|
|
565
|
-
const H = this.plugin.tags.filter(
|
|
523
|
+
const H = this.plugin.tags.filter(T).map((Z) => {
|
|
566
524
|
var F;
|
|
567
525
|
return (F = Z.model) == null ? void 0 : F.object;
|
|
568
|
-
}).filter(
|
|
526
|
+
}).filter(J), [X] = S.intersectObjects(H, !0);
|
|
569
527
|
return X;
|
|
570
528
|
})(), _ = r.distanceTo(a), W = (d = e.distanceAccuracy) != null ? d : 0.01;
|
|
571
529
|
p = Math.min(p != null ? p : 1 / 0, (h = I == null ? void 0 : I.distance) != null ? h : 1 / 0), p + W >= _ ? l++ : o++;
|
|
@@ -587,9 +545,9 @@ class Oi {
|
|
|
587
545
|
var r, s, l, o, n, d, h;
|
|
588
546
|
let i = 0;
|
|
589
547
|
const e = (r = this.fiveState) == null ? void 0 : r.panoIndex;
|
|
590
|
-
e !== void 0 ? i = (s = this.workUtil.getObserver(e)) == null ? void 0 : s.floorIndex : i =
|
|
548
|
+
e !== void 0 ? i = (s = this.workUtil.getObserver(e)) == null ? void 0 : s.floorIndex : i = se(
|
|
591
549
|
this.workUtil.work,
|
|
592
|
-
(h = (d = (o = (l = this.model) == null ? void 0 : l.object) == null ? void 0 : o.position) != null ? d : (n = this.mediaPlane) == null ? void 0 : n.position) != null ? h :
|
|
550
|
+
(h = (d = (o = (l = this.model) == null ? void 0 : l.object) == null ? void 0 : o.position) != null ? d : (n = this.mediaPlane) == null ? void 0 : n.position) != null ? h : L(this)
|
|
593
551
|
);
|
|
594
552
|
const t = this.fiveUtil.model.shownFloor;
|
|
595
553
|
return {
|
|
@@ -610,13 +568,13 @@ class Oi {
|
|
|
610
568
|
return !1;
|
|
611
569
|
if (e.keep === "unfolded")
|
|
612
570
|
return !0;
|
|
613
|
-
if (e.unfoldDistance &&
|
|
571
|
+
if (e.unfoldDistance && k(this.getDistance({ panoIndex: i }), e.unfoldDistance) === !1)
|
|
614
572
|
return !1;
|
|
615
573
|
}
|
|
616
574
|
}
|
|
617
575
|
computeUnfoldedByCamera() {
|
|
618
576
|
var e;
|
|
619
|
-
if (this.entryFromModel &&
|
|
577
|
+
if (this.entryFromModel && x(this.five.state.mode))
|
|
620
578
|
return !1;
|
|
621
579
|
const i = this.getConfig().unfoldedConfig;
|
|
622
580
|
if (i) {
|
|
@@ -630,7 +588,7 @@ class Oi {
|
|
|
630
588
|
return;
|
|
631
589
|
if (i.autoUnfold.strategy === "ScreenPostion") {
|
|
632
590
|
const t = this.computeTagProject();
|
|
633
|
-
if (t &&
|
|
591
|
+
if (t && k(t.x, i.autoUnfold.autoUnfoldProjectX) === !1)
|
|
634
592
|
return !1;
|
|
635
593
|
}
|
|
636
594
|
if (i.autoUnfold.strategy === "MinimumDistance") {
|
|
@@ -645,7 +603,7 @@ class Oi {
|
|
|
645
603
|
return !(typeof o == "function" || o.keep || o.autoUnfold === !1 || ((n = o.autoUnfold) == null ? void 0 : n.enable) === !1 || ((d = o.autoUnfold) == null ? void 0 : d.strategy) !== "MinimumDistance");
|
|
646
604
|
}).map((o) => w(g({}, o), { distance: o.tag.getDistance() })).filter(({ distance: o, tagConfig: n }) => {
|
|
647
605
|
const d = n.autoUnfold.distance;
|
|
648
|
-
return !(d &&
|
|
606
|
+
return !(d && k(o, d) === !1);
|
|
649
607
|
}).sort((o, n) => o.distance - n.distance).findIndex((o) => o.id === this.id);
|
|
650
608
|
if (s === -1 || s <= ((e = i.autoUnfold.maxNumber) != null ? e : 1) - 1 === !1)
|
|
651
609
|
return !1;
|
|
@@ -702,5 +660,5 @@ class Oi {
|
|
|
702
660
|
}
|
|
703
661
|
}
|
|
704
662
|
export {
|
|
705
|
-
|
|
663
|
+
Xe as BaseTag
|
|
706
664
|
};
|
|
@@ -2,30 +2,30 @@ var k = Object.defineProperty, O = Object.defineProperties;
|
|
|
2
2
|
var F = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var C = Object.getOwnPropertySymbols;
|
|
4
4
|
var w = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var f = (
|
|
5
|
+
var f = (r, o, t) => o in r ? k(r, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[o] = t, b = (r, o) => {
|
|
6
6
|
for (var t in o || (o = {}))
|
|
7
|
-
w.call(o, t) && f(
|
|
7
|
+
w.call(o, t) && f(r, t, o[t]);
|
|
8
8
|
if (C)
|
|
9
9
|
for (var t of C(o))
|
|
10
|
-
x.call(o, t) && f(
|
|
11
|
-
return
|
|
12
|
-
}, P = (
|
|
13
|
-
var v = (
|
|
14
|
-
var y = (
|
|
15
|
-
var n = (
|
|
10
|
+
x.call(o, t) && f(r, t, o[t]);
|
|
11
|
+
return r;
|
|
12
|
+
}, P = (r, o) => O(r, F(o));
|
|
13
|
+
var v = (r, o, t) => (f(r, typeof o != "symbol" ? o + "" : o, t), t);
|
|
14
|
+
var y = (r, o, t) => new Promise((m, p) => {
|
|
15
|
+
var n = (e) => {
|
|
16
16
|
try {
|
|
17
|
-
a(t.next(
|
|
17
|
+
a(t.next(e));
|
|
18
18
|
} catch (i) {
|
|
19
19
|
p(i);
|
|
20
20
|
}
|
|
21
|
-
}, d = (
|
|
21
|
+
}, d = (e) => {
|
|
22
22
|
try {
|
|
23
|
-
a(t.throw(
|
|
23
|
+
a(t.throw(e));
|
|
24
24
|
} catch (i) {
|
|
25
25
|
p(i);
|
|
26
26
|
}
|
|
27
|
-
}, a = (
|
|
28
|
-
a((t = t.apply(
|
|
27
|
+
}, a = (e) => e.done ? m(e.value) : Promise.resolve(e.value).then(n, d);
|
|
28
|
+
a((t = t.apply(r, o)).next());
|
|
29
29
|
});
|
|
30
30
|
import { initialCSS3DRender as L } from "../../../shared-utils/CSS3DRender/index.js";
|
|
31
31
|
import { CSS3DObjectPlus as N } from "../../../shared-utils/CSS3DRender/CSS3DObject.js";
|
|
@@ -38,18 +38,9 @@ import { ImagePlane as D } from "../../utils/model/mediaPlane.js";
|
|
|
38
38
|
import I from "../../Components/Tag/index.js";
|
|
39
39
|
import { BaseTag as R } from "./BaseTag.js";
|
|
40
40
|
import { CONST as V } from "../../../shared-utils/constants.js";
|
|
41
|
-
import "../../../shared-utils/tag.js";
|
|
42
|
-
import "../../../vendor/hammerjs/hammer.js";
|
|
43
|
-
import "../../../shared-utils/three/PointSelector/index.js";
|
|
44
|
-
import "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
45
|
-
import "@realsee/five/line";
|
|
46
|
-
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
47
|
-
import "../../../shared-utils/three/core/Sphere.js";
|
|
48
|
-
import "../../../vendor/animejs/lib/anime.es.js";
|
|
49
41
|
import { waitFiveModelLoaded as H } from "../../../shared-utils/five/fiveModelLoad.js";
|
|
50
|
-
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
51
|
-
import "../../../shared-utils/five/FivePuppet.js";
|
|
52
42
|
import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
43
|
+
import "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
53
44
|
import "../../../shared-utils/createResizeObserver.js";
|
|
54
45
|
import "../../../shared-utils/even.js";
|
|
55
46
|
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -76,6 +67,7 @@ import "../../../shared-utils/uuid.js";
|
|
|
76
67
|
import "../../Components/Common/Shadow.js";
|
|
77
68
|
import "../../Components/Common/Text/FlyMText.js";
|
|
78
69
|
import "../../Components/Common/Text/FlyText.js";
|
|
70
|
+
import "../../../vendor/animejs/lib/anime.es.js";
|
|
79
71
|
import "../../utils/search.js";
|
|
80
72
|
import "../../utils/constants.js";
|
|
81
73
|
import "../../Components/Common/Arrow.js";
|
|
@@ -120,44 +112,6 @@ import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
|
120
112
|
import "../../../vendor/svelte-carousel/src/utils/interval.js";
|
|
121
113
|
import "../../Components/Common/MediaItem.js";
|
|
122
114
|
import "../../Components/Tag/MarketingTag.js";
|
|
123
|
-
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
124
|
-
import "../../../shared-utils/five/getFiveModel.js";
|
|
125
|
-
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
126
|
-
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
127
|
-
import "../../../shared-utils/Subscribe.js";
|
|
128
|
-
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
129
|
-
import "../../../shared-utils/five/transformPosition.js";
|
|
130
|
-
import "../../../shared-utils/three/temp.js";
|
|
131
|
-
import "../../../shared-utils/three/core/Raycaster.js";
|
|
132
|
-
import "../../../shared-utils/dom/resizeObserver.js";
|
|
133
|
-
import "../../../shared-utils/five/fiveEveryReadyListener.js";
|
|
134
|
-
import "../../../shared-utils/throttle.js";
|
|
135
|
-
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
136
|
-
import "../../../shared-utils/three/Magnifier.js";
|
|
137
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
138
|
-
import "../../../shared-utils/three/Assets/index.js";
|
|
139
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
140
|
-
import "../../../shared-utils/three/getObjectVisible.js";
|
|
141
|
-
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
142
|
-
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
143
|
-
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
144
|
-
import "../../../Sculpt/Meshes/Line.js";
|
|
145
|
-
import "../../../Sculpt/typings/style.js";
|
|
146
|
-
import "../../../shared-utils/three/IObject3D.js";
|
|
147
|
-
import "../../../Sculpt/utils/removeAllTag.js";
|
|
148
|
-
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
149
|
-
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
150
|
-
import "../../../shared-utils/util.js";
|
|
151
|
-
import "../../../shared-utils/three/core/LineGeometry.js";
|
|
152
|
-
import "../../../shared-utils/three/core/LineMaterial.js";
|
|
153
|
-
import "../../../shared-utils/three/core/Line2.js";
|
|
154
|
-
import "../../../shared-utils/three/core/LineMaterial2.js";
|
|
155
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
156
|
-
import "../../../shared-utils/isTouchDevice.js";
|
|
157
|
-
import "../../../shared-utils/five/getPosition.js";
|
|
158
|
-
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
159
|
-
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
160
|
-
import "@realsee/five";
|
|
161
115
|
import "../../utils/noTypecheck.js";
|
|
162
116
|
import "../../Components/Tag/AudioTag/index.js";
|
|
163
117
|
import "../../Components/Tag/AudioTag/AudioTag.js";
|
|
@@ -175,24 +129,34 @@ import "../../Components/Tag/CustomTag.js";
|
|
|
175
129
|
import "../../../vendor/classnames/index.js";
|
|
176
130
|
import "./ModelTag.js";
|
|
177
131
|
import "../../../shared-utils/five/mode.js";
|
|
132
|
+
import "../../../shared-utils/five/getFiveModel.js";
|
|
133
|
+
import "../../../shared-utils/Subscribe.js";
|
|
178
134
|
import "../../utils/tag/calculateTagConfig.js";
|
|
179
135
|
import "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
180
136
|
import "../../../shared-utils/typescript/entries.js";
|
|
181
137
|
import "../../utils/tag/adaptConfig.js";
|
|
182
138
|
import "../../typings/tag/TagConfig.js";
|
|
139
|
+
import "@realsee/five";
|
|
183
140
|
import "../../utils/tag/format.js";
|
|
184
|
-
import "../../../shared-utils/
|
|
185
|
-
import "../../../shared-utils/vectorToCoordinate.js";
|
|
186
|
-
import "../../../shared-utils/formatRad.js";
|
|
187
|
-
import "../../../shared-utils/five/lookPoint.js";
|
|
141
|
+
import "../../../shared-utils/five/transformPosition.js";
|
|
188
142
|
import "../../utils/tagPosition.js";
|
|
189
143
|
import "../../utils/checkRange.js";
|
|
190
144
|
import "../../../shared-utils/url/getUrl.js";
|
|
191
145
|
import "../../../shared-utils/five/getFloorIndex.js";
|
|
192
146
|
import "../../../shared-utils/safeObj.js";
|
|
147
|
+
import "../../../shared-utils/util.js";
|
|
193
148
|
import "../../utils/Cache.js";
|
|
149
|
+
import "../../../shared-utils/vectorToCoordinate.js";
|
|
150
|
+
import "../../../shared-utils/formatRad.js";
|
|
151
|
+
import "../../../shared-utils/three/temp.js";
|
|
152
|
+
import "../../../shared-utils/three/core/Raycaster.js";
|
|
194
153
|
import "../../../shared-utils/promise/withResolvers.js";
|
|
195
|
-
|
|
154
|
+
import "../../../shared-utils/five/lookPoint.js";
|
|
155
|
+
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
156
|
+
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
157
|
+
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
158
|
+
import "../../../shared-utils/three/blink.js";
|
|
159
|
+
class ao extends R {
|
|
196
160
|
constructor(t, m) {
|
|
197
161
|
super(t, m);
|
|
198
162
|
v(this, "loading", !1);
|
|
@@ -202,13 +166,13 @@ class Uo extends R {
|
|
|
202
166
|
const t = this.data.modelUrl;
|
|
203
167
|
if (!t || (this.loading = !0, yield H(this.five), !this.plugin.tags.includes(this)))
|
|
204
168
|
return;
|
|
205
|
-
const m = A(t).then((
|
|
169
|
+
const m = A(t).then((e) => y(this, null, function* () {
|
|
206
170
|
var l;
|
|
207
|
-
const i = Object.assign(
|
|
171
|
+
const i = Object.assign(e.scene, {
|
|
208
172
|
customID: this.id,
|
|
209
173
|
isTagModel: !0,
|
|
210
174
|
removeEventListener: this.getConfig().clickable === !1 ? () => {
|
|
211
|
-
} : this.addObjectClickHandler(this,
|
|
175
|
+
} : this.addObjectClickHandler(this, e.scene, (g) => {
|
|
212
176
|
this.plugin.hooks.emit("click", { target: "TagModel", tag: this, event: g });
|
|
213
177
|
})
|
|
214
178
|
});
|
|
@@ -219,12 +183,12 @@ class Uo extends R {
|
|
|
219
183
|
if (this.loading = !1, ((d = this.model) == null ? void 0 : d.promise) !== m || !this.plugin.tags.includes(this))
|
|
220
184
|
return;
|
|
221
185
|
this.model.object = p;
|
|
222
|
-
const n = this.plugin.gltfObjectGroup.children.find((
|
|
186
|
+
const n = this.plugin.gltfObjectGroup.children.find((e) => e.customID === this.id);
|
|
223
187
|
if (n && (this.plugin.gltfObjectGroup.remove(n), n.removeEventListener()), G(this)) {
|
|
224
|
-
const
|
|
188
|
+
const e = this.data.mediaPosition.map(S);
|
|
225
189
|
if (this.computeRenderType() === "Mesh" && !this.mediaPlane) {
|
|
226
|
-
this.mediaPlane = new D(this.data.mediaData[0].url,
|
|
227
|
-
const i = new T.Vector3().addVectors(
|
|
190
|
+
this.mediaPlane = new D(this.data.mediaData[0].url, e, { objectFit: this.data.objectFit });
|
|
191
|
+
const i = new T.Vector3().addVectors(e[0], e[2]).divideScalar(2);
|
|
228
192
|
this.mediaPlane.position.copy(i), p.add(this.mediaPlane);
|
|
229
193
|
}
|
|
230
194
|
if (this.computeRenderType() !== "Mesh") {
|
|
@@ -233,7 +197,7 @@ class Uo extends R {
|
|
|
233
197
|
i.classList.add("tag-media-container");
|
|
234
198
|
const c = "black";
|
|
235
199
|
i.style.backgroundColor = c, i.style.border = `3px solid ${c}`;
|
|
236
|
-
const l = b({ mode: "behind", cornerPoints:
|
|
200
|
+
const l = b({ mode: "behind", cornerPoints: e, container: i }, this.config.tag3DConfig), g = this.computeRenderType() === "BehindDom" || l.mode === "behind" ? "behind" : "front", s = new N(P(b({}, l), { mode: g })), u = this.computeNormal();
|
|
237
201
|
s.position.add(u.clone().setLength(V.Z_FIGHTING_OFFSET)), p.add(s);
|
|
238
202
|
let h;
|
|
239
203
|
s.mode === "behind" && this.config.clickable !== !1 && (h = this.addObjectClickHandler(this, s, (M) => {
|
|
@@ -286,5 +250,5 @@ class Uo extends R {
|
|
|
286
250
|
}
|
|
287
251
|
}
|
|
288
252
|
export {
|
|
289
|
-
|
|
253
|
+
ao as ModelTag
|
|
290
254
|
};
|