@realsee/dnalogel 3.59.7 → 3.59.8
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/CHANGELOG.md +5 -0
- package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +1 -0
- package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +1 -16
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +5 -3
- package/dist/PanoTagPlugin/controller/Tag/ModelTag.d.ts +2 -0
- package/dist/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +3 -0
- package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +2 -0
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +3 -13
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +1 -3
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
- package/dist/index.cjs.js +75 -75
- package/dist/index.js +8733 -8637
- package/dist/index.umd.js +64 -64
- package/dist/shared-utils/CSS3DRender/CSS3DObject.d.ts +44 -0
- package/dist/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +14 -0
- package/dist/shared-utils/CSS3DRender/index.d.ts +2 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +4 -4
- 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 +5 -5
- package/docs/classes/ModelRoomLabelController.html +2 -2
- package/docs/classes/MoveController.html +5 -5
- package/docs/classes/Object3DHelperController.html +5 -5
- 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 +33 -36
- 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 +5 -5
- 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 +5 -5
- package/libs/AreaMakerPlugin/index.js +5 -5
- package/libs/AreaMakerPlugin/utils/Item.js +5 -5
- package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +5 -5
- package/libs/CSS3DRenderPlugin/index.js +5 -5
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +1 -0
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +2 -1
- package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/index.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +5 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +5 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +1 -16
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +5 -52
- package/libs/CruisePlugin/BaseController.js +5 -5
- package/libs/CruisePlugin/Move.js +47 -51
- package/libs/CruisePlugin/Work.js +65 -69
- package/libs/CruisePlugin/index.js +53 -57
- package/libs/CurrentPanoImagePlugin/Controller.js +5 -5
- package/libs/CurrentPanoImagePlugin/index.js +5 -5
- package/libs/GuideLinePlugin/Controller.js +51 -55
- package/libs/GuideLinePlugin/GuideLineItem.js +53 -57
- package/libs/GuideLinePlugin/GuideLineModeItem.js +53 -57
- package/libs/GuideLinePlugin/index.js +51 -55
- package/libs/ModelMakerPlugin/Controller.js +5 -5
- package/libs/ModelMakerPlugin/index.js +5 -5
- package/libs/ModelMakerPlugin/item/prismItem.js +5 -5
- package/libs/ModelTVVideoPlugin/Plugin.js +5 -5
- package/libs/ModelTVVideoPlugin/index.js +5 -5
- package/libs/Object3DHelperPlugin/Controller.js +5 -5
- package/libs/Object3DHelperPlugin/index.js +5 -5
- package/libs/PanoCompassPlugin/Controller.js +5 -5
- package/libs/PanoCompassPlugin/index.js +5 -5
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -5
- package/libs/PanoDoorLabelPlugin/index.js +5 -5
- package/libs/PanoMeasurePlugin/Components/Controller0.js +5 -5
- package/libs/PanoMeasurePlugin/Components/Controller1.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/index.js +5 -5
- package/libs/PanoMeasurePlugin/Model/area.js +5 -5
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +5 -5
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +5 -5
- package/libs/PanoMeasurePlugin/index.js +5 -5
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +5 -5
- package/libs/PanoRulerProPlugin/Controller.js +5 -5
- package/libs/PanoRulerProPlugin/RulerItems.js +5 -5
- package/libs/PanoRulerProPlugin/index.js +5 -5
- package/libs/PanoSpatialTagPlugin/Plugin.js +5 -5
- package/libs/PanoSpatialTagPlugin/index.js +5 -5
- package/libs/PanoTagPlugin/Components/Common/Media.js +150 -150
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +5 -5
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -5
- package/libs/PanoTagPlugin/Components/Tag/index.js +67 -62
- package/libs/PanoTagPlugin/Components/TagContainer.js +11 -7
- package/libs/PanoTagPlugin/Components/TagItem.js +11 -7
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +5 -3
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +28 -28
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.d.ts +2 -0
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +206 -81
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +3 -0
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +199 -62
- package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +2 -0
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +32 -26
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +3 -13
- package/libs/PanoTagPlugin/controller/TagRender.js +52 -246
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +1 -3
- package/libs/PanoTagPlugin/controller/TagUtil.js +82 -97
- package/libs/PanoTagPlugin/controller/index.js +131 -143
- package/libs/PanoTagPlugin/index.js +114 -118
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +5 -5
- package/libs/PanoVideoPlugin/Controller.js +5 -5
- package/libs/PanoVideoPlugin/VideoMeshController.js +5 -5
- package/libs/PanoVideoPlugin/index.js +5 -5
- package/libs/PipelinePlugin/Controller.js +5 -5
- package/libs/PipelinePlugin/index.js +5 -5
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +5 -5
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +5 -5
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +5 -5
- package/libs/base/BasePlugin.js +5 -5
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -5
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -5
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -5
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -5
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -5
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -5
- package/libs/index.js +182 -180
- package/libs/shared-utils/CSS3DRender/CSS3DObject.d.ts +44 -0
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +91 -0
- package/libs/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +14 -0
- package/libs/shared-utils/CSS3DRender/CSS3DRenderer.js +51 -0
- package/libs/{CSS3DRenderPlugin/utils/three → shared-utils/CSS3DRender}/OpacityMesh.js +6 -6
- package/libs/shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js +74 -0
- package/libs/shared-utils/CSS3DRender/index.d.ts +2 -0
- package/libs/shared-utils/CSS3DRender/index.js +31 -0
- package/libs/{CSS3DRenderPlugin/utils → shared-utils}/createResizeObserver.js +1 -1
- package/libs/shared-utils/five/initialCSS3DRender.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/PointSelector/index.js +3 -3
- package/package.json +2 -2
- package/libs/CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js +0 -66
- /package/dist/{CSS3DRenderPlugin/utils/three → shared-utils/CSS3DRender}/OpacityMesh.d.ts +0 -0
- /package/dist/{CSS3DRenderPlugin/utils → shared-utils}/createResizeObserver.d.ts +0 -0
- /package/dist/{CSS3DRenderPlugin/utils → shared-utils}/even.d.ts +0 -0
- /package/libs/{CSS3DRenderPlugin/utils/three → shared-utils/CSS3DRender}/OpacityMesh.d.ts +0 -0
- /package/libs/{CSS3DRenderPlugin/utils → shared-utils}/createResizeObserver.d.ts +0 -0
- /package/libs/{CSS3DRenderPlugin/utils → shared-utils}/even.d.ts +0 -0
- /package/libs/{CSS3DRenderPlugin/utils → shared-utils}/even.js +0 -0
|
@@ -32,15 +32,15 @@ import "../../../shared-utils/three/Magnifier.js";
|
|
|
32
32
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
33
33
|
import "../../../shared-utils/three/Assets/index.js";
|
|
34
34
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
35
|
-
import "../../../
|
|
36
|
-
import "../../../
|
|
35
|
+
import "../../../shared-utils/even.js";
|
|
36
|
+
import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
37
37
|
import "../../../shared-utils/three/centerPoint.js";
|
|
38
38
|
import "../../../shared-utils/three/getObjectVisible.js";
|
|
39
39
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
40
40
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
41
|
-
import "../../../
|
|
42
|
-
import "../../../
|
|
43
|
-
import "../../../
|
|
41
|
+
import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
42
|
+
import "../../../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
43
|
+
import "../../../shared-utils/createResizeObserver.js";
|
|
44
44
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
45
45
|
import "../../../Sculpt/Meshes/Line.js";
|
|
46
46
|
import "../../../Sculpt/typings/style.js";
|
|
@@ -4,9 +4,9 @@ import aA from "./ImageTextTag.js";
|
|
|
4
4
|
import mA from "./MarketingTag.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import { noTypecheck as c } from "../../utils/noTypecheck.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
7
|
+
import pA from "./AudioTag/index.js";
|
|
8
|
+
import sA from "./MediaPlane.js";
|
|
9
|
+
import fA from "./LinkTag.js";
|
|
10
10
|
import gA from "./PanoramaTag.js";
|
|
11
11
|
import uA from "./CustomTag.js";
|
|
12
12
|
import { classnames as S } from "../../../vendor/classnames/index.js";
|
|
@@ -92,15 +92,15 @@ import "../../../shared-utils/three/Magnifier.js";
|
|
|
92
92
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
93
93
|
import "../../../shared-utils/three/Assets/index.js";
|
|
94
94
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
95
|
-
import "../../../
|
|
96
|
-
import "../../../
|
|
95
|
+
import "../../../shared-utils/even.js";
|
|
96
|
+
import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
97
97
|
import "../../../shared-utils/three/centerPoint.js";
|
|
98
98
|
import "../../../shared-utils/three/getObjectVisible.js";
|
|
99
99
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
100
100
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
101
|
-
import "../../../
|
|
102
|
-
import "../../../
|
|
103
|
-
import "../../../
|
|
101
|
+
import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
102
|
+
import "../../../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
103
|
+
import "../../../shared-utils/createResizeObserver.js";
|
|
104
104
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
105
105
|
import "../../../Sculpt/Meshes/Line.js";
|
|
106
106
|
import "../../../Sculpt/typings/style.js";
|
|
@@ -127,6 +127,10 @@ import "../Common/Icon/audioIcon.js";
|
|
|
127
127
|
import "./AudioTag/AudioPlaneTag.js";
|
|
128
128
|
import "../Common/Icon/Icon.js";
|
|
129
129
|
import "../../utils/getImageInfo.js";
|
|
130
|
+
import "../../../shared-utils/CSS3DRender/index.js";
|
|
131
|
+
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
132
|
+
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
133
|
+
import "../../../shared-utils/CSS3DRender/CSS3DObject.js";
|
|
130
134
|
import "../../../shared-utils/three/GLTFLoader.js";
|
|
131
135
|
import "@realsee/five/gltf-loader";
|
|
132
136
|
import "../../utils/planeNormal.js";
|
|
@@ -141,6 +145,7 @@ import "../../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
141
145
|
import "../../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
142
146
|
import "../../../shared-utils/three/getNormal.js";
|
|
143
147
|
import "../../../shared-utils/constants.js";
|
|
148
|
+
import "./index.js";
|
|
144
149
|
import "../../controller/Tag/BaseTag.js";
|
|
145
150
|
import "../../utils/tag/calculateTagConfig.js";
|
|
146
151
|
import "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -185,7 +190,7 @@ function _A(i) {
|
|
|
185
190
|
};
|
|
186
191
|
}
|
|
187
192
|
function QA(i) {
|
|
188
|
-
let A, t, e, n, l, d, g, m, o,
|
|
193
|
+
let A, t, e, n, l, d, g, m, o, p, s, u, b, h, B, E, T;
|
|
189
194
|
const Y = [
|
|
190
195
|
vA,
|
|
191
196
|
MA,
|
|
@@ -195,15 +200,15 @@ function QA(i) {
|
|
|
195
200
|
CA,
|
|
196
201
|
kA
|
|
197
202
|
], C = [];
|
|
198
|
-
function J(r,
|
|
199
|
-
return
|
|
200
|
-
9 && (n = null),
|
|
201
|
-
9 && (l = null),
|
|
202
|
-
9 && (d = null),
|
|
203
|
-
9 && (g = null),
|
|
204
|
-
9 && (m = null),
|
|
205
|
-
9 && (o = null),
|
|
206
|
-
9 && (
|
|
203
|
+
function J(r, f) {
|
|
204
|
+
return f & /*tag, contentTypeMap*/
|
|
205
|
+
9 && (n = null), f & /*tag, contentTypeMap*/
|
|
206
|
+
9 && (l = null), f & /*tag, contentTypeMap*/
|
|
207
|
+
9 && (d = null), f & /*tag, contentTypeMap*/
|
|
208
|
+
9 && (g = null), f & /*tag, contentTypeMap*/
|
|
209
|
+
9 && (m = null), f & /*tag, contentTypeMap*/
|
|
210
|
+
9 && (o = null), f & /*tag, contentTypeMap*/
|
|
211
|
+
9 && (p = null), n == null && (n = !!(["Text"].includes(
|
|
207
212
|
/*tag*/
|
|
208
213
|
r[0].contentType
|
|
209
214
|
) || ["Text"].includes(
|
|
@@ -257,7 +262,7 @@ function QA(i) {
|
|
|
257
262
|
/*tag*/
|
|
258
263
|
r[0].contentType
|
|
259
264
|
)
|
|
260
|
-
))), o ? 5 : (
|
|
265
|
+
))), o ? 5 : (p == null && (p = !!(["Panorama"].includes(
|
|
261
266
|
/*tag*/
|
|
262
267
|
r[0].contentType
|
|
263
268
|
) || ["Panorama"].includes(
|
|
@@ -266,9 +271,9 @@ function QA(i) {
|
|
|
266
271
|
/*tag*/
|
|
267
272
|
r[0].contentType
|
|
268
273
|
)
|
|
269
|
-
))),
|
|
274
|
+
))), p ? 6 : -1))))));
|
|
270
275
|
}
|
|
271
|
-
return ~(
|
|
276
|
+
return ~(s = J(i, -1)) && (u = C[s] = Y[s](i)), {
|
|
272
277
|
c() {
|
|
273
278
|
var r;
|
|
274
279
|
A = P("div"), t = P("div"), e = P("div"), u && u.c(), _(e, "class", "content svelte-elzzn6"), Q(
|
|
@@ -310,8 +315,8 @@ function QA(i) {
|
|
|
310
315
|
i[0].contentType === "MediaModel" ? "100%" : 0
|
|
311
316
|
);
|
|
312
317
|
},
|
|
313
|
-
m(r,
|
|
314
|
-
F(r, A,
|
|
318
|
+
m(r, f) {
|
|
319
|
+
F(r, A, f), x(A, t), x(t, e), ~s && C[s].m(e, null), i[16](A), B = !0, E || (T = eA(
|
|
315
320
|
A,
|
|
316
321
|
"click",
|
|
317
322
|
/*click_handler_1*/
|
|
@@ -319,50 +324,50 @@ function QA(i) {
|
|
|
319
324
|
!0
|
|
320
325
|
), E = !0);
|
|
321
326
|
},
|
|
322
|
-
p(r,
|
|
327
|
+
p(r, f) {
|
|
323
328
|
var a;
|
|
324
|
-
let y =
|
|
325
|
-
|
|
329
|
+
let y = s;
|
|
330
|
+
s = J(r, f), s === y ? ~s && C[s].p(r, f) : (u && (AA(), w(C[y], 1, 1, () => {
|
|
326
331
|
C[y] = null;
|
|
327
|
-
}), $()), ~
|
|
332
|
+
}), $()), ~s ? (u = C[s], u ? u.p(r, f) : (u = C[s] = Y[s](r), u.c()), k(u, 1), u.m(e, null)) : u = null), (!B || f & /*tag*/
|
|
328
333
|
1) && Q(
|
|
329
334
|
e,
|
|
330
335
|
"unfolded",
|
|
331
336
|
/*tag*/
|
|
332
337
|
(a = r[0].state) == null ? void 0 : a.unfolded
|
|
333
|
-
), (!B ||
|
|
338
|
+
), (!B || f & /*tag*/
|
|
334
339
|
1 && b !== (b = W(S(
|
|
335
340
|
"content__container",
|
|
336
341
|
/*tag*/
|
|
337
342
|
r[0].className
|
|
338
|
-
)) + " svelte-elzzn6")) && _(A, "class", b), (!B ||
|
|
343
|
+
)) + " svelte-elzzn6")) && _(A, "class", b), (!B || f & /*tag*/
|
|
339
344
|
1 && h !== (h = /*tag*/
|
|
340
|
-
r[0].id)) && _(A, "data-id", h), (!B ||
|
|
345
|
+
r[0].id)) && _(A, "data-id", h), (!B || f & /*tag, tag*/
|
|
341
346
|
1) && Q(
|
|
342
347
|
A,
|
|
343
348
|
"disable",
|
|
344
349
|
/*tag*/
|
|
345
350
|
r[0].enabled === !1
|
|
346
|
-
), (!B ||
|
|
351
|
+
), (!B || f & /*tag, isHide*/
|
|
347
352
|
33) && Q(
|
|
348
353
|
A,
|
|
349
354
|
"hide",
|
|
350
355
|
/*isHide*/
|
|
351
356
|
r[5]
|
|
352
|
-
), (!B ||
|
|
357
|
+
), (!B || f & /*tag, tag*/
|
|
353
358
|
1) && Q(
|
|
354
359
|
A,
|
|
355
360
|
"unClickable",
|
|
356
361
|
/*tag*/
|
|
357
362
|
r[0].config.clickable === !1
|
|
358
|
-
),
|
|
363
|
+
), f & /*tag*/
|
|
359
364
|
1 && U(
|
|
360
365
|
A,
|
|
361
366
|
"width",
|
|
362
367
|
/*tag*/
|
|
363
368
|
r[0].stickType === "Plane" || /*tag*/
|
|
364
369
|
r[0].contentType === "MediaModel" ? "100%" : 0
|
|
365
|
-
),
|
|
370
|
+
), f & /*tag*/
|
|
366
371
|
1 && U(
|
|
367
372
|
A,
|
|
368
373
|
"height",
|
|
@@ -378,7 +383,7 @@ function QA(i) {
|
|
|
378
383
|
w(u), B = !1;
|
|
379
384
|
},
|
|
380
385
|
d(r) {
|
|
381
|
-
r && L(A), ~
|
|
386
|
+
r && L(A), ~s && C[s].d(), i[16](null), E = !1, T();
|
|
382
387
|
}
|
|
383
388
|
};
|
|
384
389
|
}
|
|
@@ -423,14 +428,14 @@ function wA(i) {
|
|
|
423
428
|
), d = !0);
|
|
424
429
|
},
|
|
425
430
|
p(m, o) {
|
|
426
|
-
const
|
|
431
|
+
const p = {};
|
|
427
432
|
o & /*tag*/
|
|
428
|
-
1 && (
|
|
433
|
+
1 && (p.tag = c(
|
|
429
434
|
/*tag*/
|
|
430
435
|
m[0]
|
|
431
436
|
)), o & /*rendererMap*/
|
|
432
|
-
4 && (
|
|
433
|
-
m[2]), t.$set(
|
|
437
|
+
4 && (p.rendererMap = /*rendererMap*/
|
|
438
|
+
m[2]), t.$set(p), (!l || o & /*tag*/
|
|
434
439
|
1 && e !== (e = W(S(
|
|
435
440
|
"content__container",
|
|
436
441
|
/*tag*/
|
|
@@ -497,7 +502,7 @@ function kA(i) {
|
|
|
497
502
|
}
|
|
498
503
|
function CA(i) {
|
|
499
504
|
let A, t;
|
|
500
|
-
return A = new
|
|
505
|
+
return A = new sA({
|
|
501
506
|
props: { tag: c(
|
|
502
507
|
/*tag*/
|
|
503
508
|
i[0]
|
|
@@ -530,7 +535,7 @@ function CA(i) {
|
|
|
530
535
|
}
|
|
531
536
|
function bA(i) {
|
|
532
537
|
let A, t;
|
|
533
|
-
return A = new
|
|
538
|
+
return A = new fA({
|
|
534
539
|
props: { tag: c(
|
|
535
540
|
/*tag*/
|
|
536
541
|
i[0]
|
|
@@ -596,7 +601,7 @@ function hA(i) {
|
|
|
596
601
|
}
|
|
597
602
|
function DA(i) {
|
|
598
603
|
let A, t;
|
|
599
|
-
return A = new
|
|
604
|
+
return A = new pA({
|
|
600
605
|
props: { tag: c(
|
|
601
606
|
/*tag*/
|
|
602
607
|
i[0]
|
|
@@ -696,8 +701,8 @@ function vA(i) {
|
|
|
696
701
|
function EA(i) {
|
|
697
702
|
let A, t, e, n, l;
|
|
698
703
|
const d = [wA, QA, _A], g = [];
|
|
699
|
-
function m(o,
|
|
700
|
-
return
|
|
704
|
+
function m(o, p) {
|
|
705
|
+
return p & /*tag, rendererMap*/
|
|
701
706
|
5 && (A = null), A == null && (A = !!/*tag*/
|
|
702
707
|
(o[0].element || /*rendererMap*/
|
|
703
708
|
o[2].has(
|
|
@@ -712,14 +717,14 @@ function EA(i) {
|
|
|
712
717
|
c() {
|
|
713
718
|
e.c(), n = rA();
|
|
714
719
|
},
|
|
715
|
-
m(o,
|
|
716
|
-
g[t].m(o,
|
|
720
|
+
m(o, p) {
|
|
721
|
+
g[t].m(o, p), F(o, n, p), l = !0;
|
|
717
722
|
},
|
|
718
|
-
p(o, [
|
|
719
|
-
let
|
|
720
|
-
t = m(o,
|
|
721
|
-
g[
|
|
722
|
-
}), $(), e = g[t], e ? e.p(o,
|
|
723
|
+
p(o, [p]) {
|
|
724
|
+
let s = t;
|
|
725
|
+
t = m(o, p), t === s ? g[t].p(o, p) : (AA(), w(g[s], 1, 1, () => {
|
|
726
|
+
g[s] = null;
|
|
727
|
+
}), $(), e = g[t], e ? e.p(o, p) : (e = g[t] = d[t](o), e.c()), k(e, 1), e.m(n.parentNode, n));
|
|
723
728
|
},
|
|
724
729
|
i(o) {
|
|
725
730
|
l || (k(e), l = !0);
|
|
@@ -733,11 +738,11 @@ function EA(i) {
|
|
|
733
738
|
};
|
|
734
739
|
}
|
|
735
740
|
function TA(i, A, t) {
|
|
736
|
-
let e, n, l, d, g, m, { tag: o } = A, { hooks:
|
|
737
|
-
q("hooks",
|
|
741
|
+
let e, n, l, d, g, m, { tag: o } = A, { hooks: p } = A, { rendererMap: s = /* @__PURE__ */ new Map() } = A, { contentTypeMap: u = /* @__PURE__ */ new Map() } = A, { state: b } = A, { mediaStore: h } = A, { temporaryState: B } = A;
|
|
742
|
+
q("hooks", p), q("mediaStore", h);
|
|
738
743
|
let E, T;
|
|
739
744
|
function Y(a) {
|
|
740
|
-
a ?
|
|
745
|
+
a ? p.emit("exposure", { id: d, type: "start" }) : p.emit("exposure", { id: d, type: "end" });
|
|
741
746
|
}
|
|
742
747
|
function C(a, z, H) {
|
|
743
748
|
var G, I;
|
|
@@ -748,17 +753,17 @@ function TA(i, A, t) {
|
|
|
748
753
|
o.contentDom = a, t(0, o);
|
|
749
754
|
});
|
|
750
755
|
}
|
|
751
|
-
const r = (a) =>
|
|
752
|
-
function
|
|
756
|
+
const r = (a) => p.emit("click", { event: a, target: "TagContent", tag: o });
|
|
757
|
+
function f(a) {
|
|
753
758
|
X[a ? "unshift" : "push"](() => {
|
|
754
759
|
o.contentDom = a, t(0, o);
|
|
755
760
|
});
|
|
756
761
|
}
|
|
757
762
|
const y = (a) => {
|
|
758
|
-
o.entryFromModel && dA(o.five.state.mode) ? (a.stopPropagation(), o.find({ targetMode: "Panorama" })) :
|
|
763
|
+
o.entryFromModel && dA(o.five.state.mode) ? (a.stopPropagation(), o.find({ targetMode: "Panorama" })) : p.emit("click", { event: a, target: "TagContent", tag: o });
|
|
759
764
|
};
|
|
760
765
|
return i.$$set = (a) => {
|
|
761
|
-
"tag" in a && t(0, o = a.tag), "hooks" in a && t(1,
|
|
766
|
+
"tag" in a && t(0, o = a.tag), "hooks" in a && t(1, p = a.hooks), "rendererMap" in a && t(2, s = a.rendererMap), "contentTypeMap" in a && t(3, u = a.contentTypeMap), "state" in a && t(6, b = a.state), "mediaStore" in a && t(7, h = a.mediaStore), "temporaryState" in a && t(8, B = a.temporaryState);
|
|
762
767
|
}, i.$$.update = () => {
|
|
763
768
|
var a, z, H, G, I, O, V, Z, K, N, R;
|
|
764
769
|
i.$$.dirty & /*tag*/
|
|
@@ -772,8 +777,8 @@ function TA(i, A, t) {
|
|
|
772
777
|
1 && t(4, m = (() => !(typeof o.config.unfoldedConfig == "object" && o.config.unfoldedConfig.keep === "folded"))());
|
|
773
778
|
}, [
|
|
774
779
|
o,
|
|
780
|
+
p,
|
|
775
781
|
s,
|
|
776
|
-
f,
|
|
777
782
|
u,
|
|
778
783
|
m,
|
|
779
784
|
g,
|
|
@@ -787,11 +792,11 @@ function TA(i, A, t) {
|
|
|
787
792
|
l,
|
|
788
793
|
J,
|
|
789
794
|
r,
|
|
790
|
-
|
|
795
|
+
f,
|
|
791
796
|
y
|
|
792
797
|
];
|
|
793
798
|
}
|
|
794
|
-
class
|
|
799
|
+
class Pi extends tA {
|
|
795
800
|
constructor(A) {
|
|
796
801
|
super(), iA(
|
|
797
802
|
this,
|
|
@@ -813,5 +818,5 @@ class Ti extends tA {
|
|
|
813
818
|
}
|
|
814
819
|
}
|
|
815
820
|
export {
|
|
816
|
-
|
|
821
|
+
Pi as default
|
|
817
822
|
};
|
|
@@ -80,8 +80,8 @@ import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
|
80
80
|
import "../../shared-utils/three/Assets/index.js";
|
|
81
81
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
82
82
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
83
|
-
import "../../
|
|
84
|
-
import "../../
|
|
83
|
+
import "../../shared-utils/even.js";
|
|
84
|
+
import "../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
85
85
|
import "../../shared-utils/three/centerPoint.js";
|
|
86
86
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
87
87
|
import "@realsee/five/line";
|
|
@@ -92,9 +92,9 @@ import "../../shared-utils/five/FivePuppet.js";
|
|
|
92
92
|
import "@realsee/five";
|
|
93
93
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
94
94
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
95
|
-
import "../../
|
|
96
|
-
import "../../
|
|
97
|
-
import "../../
|
|
95
|
+
import "../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
96
|
+
import "../../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
97
|
+
import "../../shared-utils/createResizeObserver.js";
|
|
98
98
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
99
99
|
import "../../Sculpt/Meshes/Line.js";
|
|
100
100
|
import "../../Sculpt/typings/style.js";
|
|
@@ -128,6 +128,10 @@ import "./Tag/PanoramaTag.js";
|
|
|
128
128
|
import "./Tag/CustomTag.js";
|
|
129
129
|
import "../../vendor/classnames/index.js";
|
|
130
130
|
import "../controller/Tag/ModelTag.js";
|
|
131
|
+
import "../../shared-utils/CSS3DRender/index.js";
|
|
132
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
133
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
134
|
+
import "../../shared-utils/CSS3DRender/CSS3DObject.js";
|
|
131
135
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
132
136
|
import "@realsee/five/gltf-loader";
|
|
133
137
|
import "../utils/planeNormal.js";
|
|
@@ -350,7 +354,7 @@ function O(a, t, o) {
|
|
|
350
354
|
m
|
|
351
355
|
];
|
|
352
356
|
}
|
|
353
|
-
class
|
|
357
|
+
class Yo extends w {
|
|
354
358
|
constructor(t) {
|
|
355
359
|
super(), T(
|
|
356
360
|
this,
|
|
@@ -373,5 +377,5 @@ class Uo extends w {
|
|
|
373
377
|
}
|
|
374
378
|
}
|
|
375
379
|
export {
|
|
376
|
-
|
|
380
|
+
Yo as default
|
|
377
381
|
};
|
|
@@ -87,15 +87,15 @@ import "../../shared-utils/three/Magnifier.js";
|
|
|
87
87
|
import "../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
88
88
|
import "../../shared-utils/three/Assets/index.js";
|
|
89
89
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
90
|
-
import "../../
|
|
91
|
-
import "../../
|
|
90
|
+
import "../../shared-utils/even.js";
|
|
91
|
+
import "../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
92
92
|
import "../../shared-utils/three/centerPoint.js";
|
|
93
93
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
94
94
|
import "../../shared-utils/three/PointSelector/utils/html.js";
|
|
95
95
|
import "../../shared-utils/five/initialCSS3DRender.js";
|
|
96
|
-
import "../../
|
|
97
|
-
import "../../
|
|
98
|
-
import "../../
|
|
96
|
+
import "../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
97
|
+
import "../../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
98
|
+
import "../../shared-utils/createResizeObserver.js";
|
|
99
99
|
import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
100
100
|
import "../../Sculpt/Meshes/Line.js";
|
|
101
101
|
import "../../Sculpt/typings/style.js";
|
|
@@ -129,6 +129,10 @@ import "./Tag/PanoramaTag.js";
|
|
|
129
129
|
import "./Tag/CustomTag.js";
|
|
130
130
|
import "../../vendor/classnames/index.js";
|
|
131
131
|
import "../controller/Tag/ModelTag.js";
|
|
132
|
+
import "../../shared-utils/CSS3DRender/index.js";
|
|
133
|
+
import "../../shared-utils/five/fiveModelLoad.js";
|
|
134
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
135
|
+
import "../../shared-utils/CSS3DRender/CSS3DObject.js";
|
|
132
136
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
133
137
|
import "@realsee/five/gltf-loader";
|
|
134
138
|
import "../utils/planeNormal.js";
|
|
@@ -499,7 +503,7 @@ function at(o, t, i) {
|
|
|
499
503
|
H
|
|
500
504
|
];
|
|
501
505
|
}
|
|
502
|
-
class
|
|
506
|
+
class _o extends J {
|
|
503
507
|
constructor(t) {
|
|
504
508
|
super(), K(
|
|
505
509
|
this,
|
|
@@ -520,5 +524,5 @@ class fo extends J {
|
|
|
520
524
|
}
|
|
521
525
|
}
|
|
522
526
|
export {
|
|
523
|
-
|
|
527
|
+
_o as default
|
|
524
528
|
};
|
|
@@ -7,10 +7,10 @@ import * as THREE from 'three';
|
|
|
7
7
|
import type { ImagePlane, VideoPlane } from '../../utils/model/mediaPlane';
|
|
8
8
|
import { Cache } from '../../utils/Cache';
|
|
9
9
|
import type { AnimeParams } from 'animejs';
|
|
10
|
-
import type { Create3DDomContainerReturnType } from '../../../CSS3DRenderPlugin';
|
|
11
10
|
import type TagContentSvelte from '../../Components/Tag/index.svelte';
|
|
12
11
|
import type { PartialObjectDeep } from '../../../typings/typings';
|
|
13
12
|
import type { LiteralUnion } from 'type-fest';
|
|
13
|
+
import type { CSS3DObjectPlus } from '../../../shared-utils/CSS3DRender/CSS3DObject';
|
|
14
14
|
/**
|
|
15
15
|
* @description 标签实例
|
|
16
16
|
* @property `id` 标签id
|
|
@@ -73,8 +73,10 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
|
|
|
73
73
|
tag3DContentSvelte?: {
|
|
74
74
|
svelteApp: TagContentSvelte;
|
|
75
75
|
/** @deprecated rename to css3DInstance */
|
|
76
|
-
domContainer:
|
|
77
|
-
|
|
76
|
+
domContainer: {
|
|
77
|
+
css3DObject: CSS3DObjectPlus;
|
|
78
|
+
};
|
|
79
|
+
css3DInstance: CSS3DObjectPlus;
|
|
78
80
|
initialNormal: THREE.Vector3;
|
|
79
81
|
currentNormal: THREE.Vector3;
|
|
80
82
|
dispose: () => void;
|
|
@@ -87,15 +87,15 @@ import "../../../shared-utils/three/Magnifier.js";
|
|
|
87
87
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
88
88
|
import "../../../shared-utils/three/Assets/index.js";
|
|
89
89
|
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
90
|
-
import "../../../
|
|
91
|
-
import "../../../
|
|
90
|
+
import "../../../shared-utils/even.js";
|
|
91
|
+
import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
92
92
|
import "../../../shared-utils/three/getObjectVisible.js";
|
|
93
93
|
import "../../../shared-utils/three/core/Raycaster.js";
|
|
94
94
|
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
95
95
|
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
96
|
-
import "../../../
|
|
97
|
-
import "../../../
|
|
98
|
-
import "../../../
|
|
96
|
+
import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
97
|
+
import "../../../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
98
|
+
import "../../../shared-utils/createResizeObserver.js";
|
|
99
99
|
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
100
100
|
import "../../../Sculpt/Meshes/Line.js";
|
|
101
101
|
import "../../../Sculpt/typings/style.js";
|
|
@@ -158,14 +158,14 @@ class Oi {
|
|
|
158
158
|
}
|
|
159
159
|
return i;
|
|
160
160
|
});
|
|
161
|
-
var n, d,
|
|
161
|
+
var n, d, h, u;
|
|
162
162
|
this.plugin = i;
|
|
163
163
|
const t = ee(e);
|
|
164
164
|
e.stickType = t;
|
|
165
165
|
const r = JSON.parse(JSON.stringify(e.data)), s = (n = e.initialConfig) != null ? n : e.config ? JSON.parse(JSON.stringify(e.config)) : {};
|
|
166
166
|
e.initialConfig = s;
|
|
167
167
|
const l = U(e, i.config), o = this.getConfig(e);
|
|
168
|
-
e.config = o, this.id = (d = e.id) != null ? d : le(), this.enabled = (
|
|
168
|
+
e.config = o, this.id = (d = e.id) != null ? d : le(), 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
169
|
visible: void 0,
|
|
170
170
|
unfolded: !this.can("fold")
|
|
171
171
|
}, o.initialState), this.originPosition = e.position, e.originPosition = this.originPosition, this.position = (() => {
|
|
@@ -173,7 +173,7 @@ class Oi {
|
|
|
173
173
|
if (!a)
|
|
174
174
|
return;
|
|
175
175
|
const m = i.workUtil.transform;
|
|
176
|
-
return Array.isArray(a) && a.length === 4 ? a.map(O).map((
|
|
176
|
+
return Array.isArray(a) && a.length === 4 ? a.map(O).map((p) => L(p, m).toArray()) : L(O(a), m).toArray();
|
|
177
177
|
})(), this.matrix = e.matrix ? (() => {
|
|
178
178
|
const a = new B.Matrix4().fromArray(e.matrix);
|
|
179
179
|
return a.premultiply(i.workUtil.transform), a.elements;
|
|
@@ -241,7 +241,7 @@ class Oi {
|
|
|
241
241
|
*/
|
|
242
242
|
blink(i) {
|
|
243
243
|
return y(this, null, function* () {
|
|
244
|
-
var o, n, d,
|
|
244
|
+
var o, n, d, h;
|
|
245
245
|
yield this.ready();
|
|
246
246
|
const e = (o = this.enabled) != null ? o : !0, t = (n = this.state) == null ? void 0 : n.visible, r = e && t;
|
|
247
247
|
r === !1 && (this.state.visible = !0, this.enabled = !0, this.applyVisible(), this.plugin.render(), this.computeRenderType() !== "Mesh" ? yield new Promise((u) => y(this, null, function* () {
|
|
@@ -252,7 +252,7 @@ class Oi {
|
|
|
252
252
|
const a = setInterval(() => {
|
|
253
253
|
(this.dom || this.contentDom) && (u(), clearInterval(a));
|
|
254
254
|
}, 16.7);
|
|
255
|
-
})) : this.stickType === "Model" && !((d = this.model) != null && d.object) ? yield (
|
|
255
|
+
})) : this.stickType === "Model" && !((d = this.model) != null && d.object) ? yield (h = this.model) == null ? void 0 : h.promise : this.stickType === "Plane" && (yield new Promise((u) => y(this, null, function* () {
|
|
256
256
|
if (this.mediaPlane) {
|
|
257
257
|
u();
|
|
258
258
|
return;
|
|
@@ -262,9 +262,9 @@ class Oi {
|
|
|
262
262
|
}, 16.7);
|
|
263
263
|
}))), this.dom && (this.dom.style.visibility = "hidden"), this.contentDom && (this.contentDom.style.visibility = "hidden"));
|
|
264
264
|
const s = (() => {
|
|
265
|
-
var a, m
|
|
265
|
+
var a, m;
|
|
266
266
|
const u = [];
|
|
267
|
-
return u.push(this.dom), u.push((
|
|
267
|
+
return u.push(this.dom), u.push((a = this.tag3DContentSvelte) == null ? void 0 : a.css3DInstance), u.push((m = this.model) == null ? void 0 : m.object), u.push(this.mediaPlane), u.filter(Boolean);
|
|
268
268
|
})();
|
|
269
269
|
if (!s.length) {
|
|
270
270
|
console.warn("tagDom is empty");
|
|
@@ -452,8 +452,8 @@ class Oi {
|
|
|
452
452
|
if ((m == null ? void 0 : m.value) === !1)
|
|
453
453
|
return m;
|
|
454
454
|
if (n.followModelVisibility === !0 && ["poincare", "aerophoto", "sand"].includes(this.workUtil.fromType) && (r === "Floorplan" || r === "Mapview")) {
|
|
455
|
-
const
|
|
456
|
-
if (
|
|
455
|
+
const h = this.computeVisibleByFloorIndex(), { value: p } = h, v = A(h, ["value"]);
|
|
456
|
+
if (p === !1)
|
|
457
457
|
return g({ value: !1, checkedList: s, reason: "followModelVisibility check failed" }, v);
|
|
458
458
|
}
|
|
459
459
|
if (T(r) && n.visiblePanoIndex !== void 0 && n.visiblePanoIndex !== "all" && t !== void 0) {
|
|
@@ -471,14 +471,14 @@ class Oi {
|
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
473
|
if (n.visibleDistance !== void 0 && (s.push("visibleDistance"), n.visibleDistance !== "unLimited")) {
|
|
474
|
-
const
|
|
475
|
-
if (x(
|
|
474
|
+
const p = this.getDistance(e, 1);
|
|
475
|
+
if (x(p, n.visibleDistance) === !1)
|
|
476
476
|
return {
|
|
477
477
|
value: !1,
|
|
478
478
|
checkedList: s,
|
|
479
479
|
panoIndex: t,
|
|
480
480
|
visibleDistance: n.visibleDistance,
|
|
481
|
-
reason: `distance is not in visibleDistance. distance: ${
|
|
481
|
+
reason: `distance is not in visibleDistance. distance: ${p}, visibleDistance: ${n.visibleDistance.min} - ${n.visibleDistance.max}`
|
|
482
482
|
};
|
|
483
483
|
}
|
|
484
484
|
if (n.intersectRaycaster !== !1 && (typeof n.intersectRaycaster != "object" || n.intersectRaycaster.enabled !== !1)) {
|
|
@@ -488,9 +488,9 @@ class Oi {
|
|
|
488
488
|
checkedList: s,
|
|
489
489
|
reason: `intersectRaycaster check failed: panoIndex is ${t}`
|
|
490
490
|
};
|
|
491
|
-
const
|
|
492
|
-
if (
|
|
493
|
-
return Object.assign(
|
|
491
|
+
const p = this.computeVisibleByIntersect(t);
|
|
492
|
+
if (p.value === !1)
|
|
493
|
+
return Object.assign(p, { checkedList: s });
|
|
494
494
|
}
|
|
495
495
|
return {
|
|
496
496
|
value: !0,
|
|
@@ -537,7 +537,7 @@ class Oi {
|
|
|
537
537
|
}
|
|
538
538
|
/** 通过射线检测标签可用性 */
|
|
539
539
|
computeVisibleByIntersect(i) {
|
|
540
|
-
var n, d,
|
|
540
|
+
var n, d, h, u;
|
|
541
541
|
const e = J(J((n = this.getConfig().visibleConfig) != null ? n : {}).intersectRaycaster), t = i != null ? i : this.five.getCurrentState().panoIndex, r = T(this.five.getCurrentState().mode) ? this.workUtil.getObserverPosition(t) : this.five.camera.position;
|
|
542
542
|
if (r === void 0)
|
|
543
543
|
return { value: !1, reason: { type: "startPosition is undefined", fivePanoIndex: t } };
|
|
@@ -551,10 +551,10 @@ class Oi {
|
|
|
551
551
|
let l = 0, o = 0;
|
|
552
552
|
for (const a of s) {
|
|
553
553
|
const m = new B.Vector3().subVectors(a, r).normalize();
|
|
554
|
-
let
|
|
554
|
+
let p;
|
|
555
555
|
S.set(r, m);
|
|
556
556
|
const [v] = this.fiveUtil.model.intersectRaycaster(S);
|
|
557
|
-
|
|
557
|
+
p = v == null ? void 0 : v.distance;
|
|
558
558
|
const I = (() => {
|
|
559
559
|
if (!V(this))
|
|
560
560
|
return;
|
|
@@ -564,7 +564,7 @@ class Oi {
|
|
|
564
564
|
}).filter(E), [X] = S.intersectObjects(H, !0);
|
|
565
565
|
return X;
|
|
566
566
|
})(), _ = r.distanceTo(a), W = (d = e.distanceAccuracy) != null ? d : 0.01;
|
|
567
|
-
|
|
567
|
+
p = Math.min(p != null ? p : 1 / 0, (h = I == null ? void 0 : I.distance) != null ? h : 1 / 0), p + W >= _ ? l++ : o++;
|
|
568
568
|
const q = (u = e.needPassed) != null ? u : 1;
|
|
569
569
|
if (l >= q)
|
|
570
570
|
return { value: !0 };
|
|
@@ -580,12 +580,12 @@ class Oi {
|
|
|
580
580
|
};
|
|
581
581
|
}
|
|
582
582
|
computeVisibleByFloorIndex() {
|
|
583
|
-
var r, s, l, o, n, d,
|
|
583
|
+
var r, s, l, o, n, d, h;
|
|
584
584
|
let i = 0;
|
|
585
585
|
const e = (r = this.fiveState) == null ? void 0 : r.panoIndex;
|
|
586
586
|
e !== void 0 ? i = (s = this.workUtil.getObserver(e)) == null ? void 0 : s.floorIndex : i = fe(
|
|
587
587
|
this.workUtil.work,
|
|
588
|
-
(
|
|
588
|
+
(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 : z(this)
|
|
589
589
|
);
|
|
590
590
|
const t = this.fiveUtil.model.shownFloor;
|
|
591
591
|
return {
|
|
@@ -634,8 +634,8 @@ class Oi {
|
|
|
634
634
|
const n = this.computeTagProject();
|
|
635
635
|
if (!n)
|
|
636
636
|
return !1;
|
|
637
|
-
const { x: d, y:
|
|
638
|
-
return !(Math.abs(u) > 1 || Math.abs(d) > 1 || Math.abs(
|
|
637
|
+
const { x: d, y: h, z: u } = n;
|
|
638
|
+
return !(Math.abs(u) > 1 || Math.abs(d) > 1 || Math.abs(h) > 1);
|
|
639
639
|
}).map((o) => ({ tag: o, id: o.id, tagConfig: o.getConfig().unfoldedConfig })).filter(({ tagConfig: o }) => {
|
|
640
640
|
var n, d;
|
|
641
641
|
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");
|