@realsee/dnalogel 3.60.0 → 3.60.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Object3DHelperPlugin/Controller.d.ts +1 -0
- package/dist/index.cjs.js +5 -5
- package/dist/index.js +192 -192
- package/dist/index.umd.js +5 -5
- package/dist/shared-utils/CSS3DRender/CSS3DObject.d.ts +0 -7
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
- package/docs/classes/CSS3DRender.html +4 -4
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
- package/docs/classes/ModelMakerPluginInstance.html +15 -15
- package/docs/classes/ModelRoomLabelController.html +6 -6
- package/docs/classes/MoveController.html +17 -17
- package/docs/classes/Object3DHelperController.html +15 -15
- package/docs/classes/PaintBrush.html +5 -5
- 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 +4 -4
- package/docs/classes/PanoTagPluginController.html +34 -34
- package/docs/classes/Sculpt.html +23 -23
- package/docs/classes/Util.BetterTween.html +2 -2
- package/docs/classes/Util.FiveDomEvents.html +4 -4
- package/docs/classes/Util.FivePuppet.html +3 -3
- package/docs/classes/Util.Interval.html +5 -5
- package/docs/classes/Util.LightTag.html +14 -14
- package/docs/classes/Util.LineSegments.html +2 -2
- package/docs/classes/Util.Magnifier.html +6 -6
- package/docs/classes/Util.Object3D.html +4 -4
- package/docs/classes/Util.PointHelper.html +2 -2
- package/docs/classes/Util.PointSelector.html +11 -11
- package/docs/classes/Util.PointSelectorHelper.html +2 -2
- package/docs/classes/Util.Rectangle.html +5 -5
- package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
- package/docs/classes/Util.sculpt.BoxMesh.html +6 -6
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
- package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.LineMesh.html +5 -5
- package/docs/classes/Util.sculpt.PointMesh.html +5 -5
- package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMesh.html +6 -6
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
- package/docs/classes/WalkController.html +18 -18
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +18 -18
- package/docs/enums/DIRECTION.html +2 -2
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
- package/docs/enums/DimensionType.html +3 -3
- 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 +3 -3
- package/docs/enums/Rotation.html +3 -3
- 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 +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/ContentTypeMapInterface.html +15 -15
- package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
- package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +5 -5
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +8 -8
- package/docs/interfaces/FloorplanExtraObject.html +5 -5
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +8 -8
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +5 -5
- package/docs/interfaces/FloorplanServerComputedData.html +2 -2
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
- package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
- package/docs/interfaces/FloorplanServerEntrance.html +8 -8
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +9 -9
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
- 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 +10 -10
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
- package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
- 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 +7 -7
- package/docs/interfaces/PaintBrushConfigs.html +2 -2
- package/docs/interfaces/PaintBrushState.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +6 -6
- package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
- 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 +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
- package/docs/interfaces/PluginEventMap.html +4 -4
- 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 +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/interfaces/Scissor.html +6 -6
- package/docs/interfaces/State.html +4 -4
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
- package/docs/interfaces/TagIconUrl.html +7 -7
- package/docs/interfaces/TagObjectGroup.html +2 -2
- package/docs/interfaces/TagStyle.html +2 -2
- package/docs/interfaces/Tags.html +4 -4
- 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 +4 -4
- package/docs/interfaces/Util.FiveDomEvent.html +2 -2
- package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
- package/docs/interfaces/Util.MagnifierParameter.html +5 -5
- package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
- package/docs/interfaces/Util.PointIntersection.html +4 -4
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
- 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/Object3DHelperPlugin/Controller.d.ts +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +54 -49
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +13 -13
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +54 -58
- package/libs/base/BasePlugin.js +5 -5
- package/libs/shared-utils/CSS3DRender/CSS3DObject.d.ts +0 -7
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +18 -19
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +7 -7
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/FBXLoader/index.js +100 -100
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.60.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视空间交互插件合集 - v3.60.1-alpha.1</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.60.1-alpha.1</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="itemLabelPluginServerParams.html">itemLabelPluginServerParams</a></li></ul><h1>Variable itemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.60.1-alpha.1</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.60.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视空间交互插件合集 - v3.60.1-alpha.1</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.60.1-alpha.1</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul><h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Item<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelItemLabelPlugin/index.ts:7</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.60.1-alpha.1</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.60.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视空间交互插件合集 - v3.60.1-alpha.1</title><meta name="description" content="Documentation for 如视空间交互插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.60.1-alpha.1</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">如视空间交互插件合集</a></li><li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul><h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in plugins/src/ModelRoomLabelPlugin/index.ts:9</li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>如视空间交互插件合集 - v3.60.1-alpha.1</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var g = (
|
|
1
|
+
var I = Object.defineProperty;
|
|
2
|
+
var y = Object.getOwnPropertySymbols;
|
|
3
|
+
var W = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var g = (n, o, e) => o in n ? I(n, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[o] = e, p = (n, o) => {
|
|
5
5
|
for (var e in o || (o = {}))
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var e of
|
|
9
|
-
|
|
10
|
-
return
|
|
6
|
+
W.call(o, e) && g(n, e, o[e]);
|
|
7
|
+
if (y)
|
|
8
|
+
for (var e of y(o))
|
|
9
|
+
j.call(o, e) && g(n, e, o[e]);
|
|
10
|
+
return n;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
var w = (
|
|
12
|
+
var c = (n, o, e) => (g(n, typeof o != "symbol" ? o + "" : o, e), e);
|
|
13
|
+
var w = (n, o, e) => new Promise((t, r) => {
|
|
14
14
|
var s = (h) => {
|
|
15
15
|
try {
|
|
16
16
|
b(e.next(h));
|
|
@@ -24,7 +24,7 @@ var w = (p, o, e) => new Promise((t, r) => {
|
|
|
24
24
|
r(l);
|
|
25
25
|
}
|
|
26
26
|
}, b = (h) => h.done ? t(h.value) : Promise.resolve(h.value).then(s, d);
|
|
27
|
-
b((e = e.apply(
|
|
27
|
+
b((e = e.apply(n, o)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as L } from "../base/BasePlugin.js";
|
|
30
30
|
import "three";
|
|
@@ -34,7 +34,7 @@ import { RotateHelper as $ } from "../shared-utils/Object3DHelper/Helper/RotateH
|
|
|
34
34
|
import { CSS3DScaleHelper as F } from "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
35
35
|
import { BoundingBoxHelper as G } from "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
36
36
|
import { MoveController as U } from "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
37
|
-
import { ControllerWrapper as
|
|
37
|
+
import { ControllerWrapper as H } from "./FiveControllerWrapper.js";
|
|
38
38
|
import { Object3DHelper as N } from "../shared-utils/Object3DHelper/index.js";
|
|
39
39
|
import { RotateController as V } from "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
40
40
|
import { CSS3DScaleController as q } from "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
@@ -126,26 +126,27 @@ import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
|
126
126
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
127
127
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
128
128
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
129
|
-
const
|
|
130
|
-
console.error(`${
|
|
129
|
+
const M = "Object3DHelperPlugin", O = M, Z = () => {
|
|
130
|
+
console.error(`${O} is disposed`);
|
|
131
131
|
}, ee = () => {
|
|
132
|
-
console.warn(`${
|
|
132
|
+
console.warn(`${O} is disabled`);
|
|
133
133
|
}, re = () => {
|
|
134
|
-
console.error(`${
|
|
134
|
+
console.error(`${O} is disabled`);
|
|
135
135
|
};
|
|
136
136
|
class Qr extends L {
|
|
137
137
|
constructor(e) {
|
|
138
138
|
super(e);
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
c(this, "name", M);
|
|
140
|
+
c(this, "state", {
|
|
141
141
|
visible: !0,
|
|
142
142
|
enabled: !0,
|
|
143
143
|
disposed: !1
|
|
144
144
|
});
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
145
|
+
c(this, "objectHelperMap", /* @__PURE__ */ new Map());
|
|
146
|
+
c(this, "css3DObjectParentMap", /* @__PURE__ */ new Map());
|
|
147
|
+
c(this, "css3DObjectModeMap", /* @__PURE__ */ new Map());
|
|
148
|
+
c(this, "css3DRender");
|
|
149
|
+
this.five = e, this.css3DRender = new z(this.five.scene), console.warn("Object3DHelper: 使用此插件,需要在初始化five时,设置five参数: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${M.toUpperCase()}_DEBUG__`]: this });
|
|
149
150
|
}
|
|
150
151
|
/**
|
|
151
152
|
* @description Show guide line
|
|
@@ -186,8 +187,8 @@ class Qr extends L {
|
|
|
186
187
|
return Z();
|
|
187
188
|
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
|
|
188
189
|
return re();
|
|
189
|
-
const r =
|
|
190
|
-
this.state =
|
|
190
|
+
const r = p({}, this.state);
|
|
191
|
+
this.state = p(p({}, this.state), e), e.disposed !== void 0 && e.disposed !== r.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== r.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== r.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: r });
|
|
191
192
|
}
|
|
192
193
|
getObject3DHelper(e) {
|
|
193
194
|
return this.objectHelperMap.get(e);
|
|
@@ -200,7 +201,7 @@ class Qr extends L {
|
|
|
200
201
|
* @param { boolean } config.scaleHelper 缩放helper
|
|
201
202
|
*/
|
|
202
203
|
addObject3DHelper(e, t = {}) {
|
|
203
|
-
var
|
|
204
|
+
var E;
|
|
204
205
|
if (!e) {
|
|
205
206
|
console.error("Object3D is undefined");
|
|
206
207
|
return;
|
|
@@ -209,20 +210,20 @@ class Qr extends L {
|
|
|
209
210
|
console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
|
|
210
211
|
return;
|
|
211
212
|
}
|
|
212
|
-
const r = new N(), s = [], d = (
|
|
213
|
+
const r = new N(), s = [], d = (E = this.five.getElement()) == null ? void 0 : E.parentElement, b = this.five.camera, l = p(p({}, {
|
|
213
214
|
moveHelper: !0,
|
|
214
215
|
rotateHelper: !0,
|
|
215
216
|
scaleHelper: !0,
|
|
216
217
|
boundingBoxHelper: !1,
|
|
217
218
|
positionFrom: "objectPosition"
|
|
218
|
-
}), t), { moveHelper:
|
|
219
|
+
}), t), { moveHelper: B, rotateHelper: P, scaleHelper: k, boundingBoxHelper: x } = l, u = r.hooks, v = new X(), C = new Y(this.five.camera, this.five.getElement()), S = (i) => {
|
|
219
220
|
if (i)
|
|
220
221
|
return typeof i == "boolean" ? i : i.enable;
|
|
221
222
|
};
|
|
222
|
-
if (S(
|
|
223
|
-
const i =
|
|
223
|
+
if (S(B)) {
|
|
224
|
+
const i = p(p({}, this.getConfig(l.moveHelper)), l), m = new _(e, p({}, i)), a = new H(
|
|
224
225
|
this.five,
|
|
225
|
-
|
|
226
|
+
C,
|
|
226
227
|
U,
|
|
227
228
|
e,
|
|
228
229
|
m,
|
|
@@ -232,10 +233,10 @@ class Qr extends L {
|
|
|
232
233
|
);
|
|
233
234
|
r.addControllers({ moveController: a.helperController }), s.push(() => a.dispose());
|
|
234
235
|
}
|
|
235
|
-
if (S(
|
|
236
|
-
const i =
|
|
236
|
+
if (S(P)) {
|
|
237
|
+
const i = p(p({}, this.getConfig(l.rotateHelper)), l), m = new $(e, p({ container: d }, i)), a = new H(
|
|
237
238
|
this.five,
|
|
238
|
-
|
|
239
|
+
C,
|
|
239
240
|
V,
|
|
240
241
|
e,
|
|
241
242
|
m,
|
|
@@ -245,10 +246,10 @@ class Qr extends L {
|
|
|
245
246
|
);
|
|
246
247
|
r.addControllers({ rotateController: a.helperController }), s.push(() => a.dispose());
|
|
247
248
|
}
|
|
248
|
-
if (S(
|
|
249
|
-
const i = new G(e), m = new
|
|
249
|
+
if (S(x)) {
|
|
250
|
+
const i = new G(e), m = new H(
|
|
250
251
|
this.five,
|
|
251
|
-
|
|
252
|
+
C,
|
|
252
253
|
J,
|
|
253
254
|
e,
|
|
254
255
|
i,
|
|
@@ -259,10 +260,10 @@ class Qr extends L {
|
|
|
259
260
|
r.addControllers({ boundingBoxController: m.helperController });
|
|
260
261
|
}
|
|
261
262
|
if (S(k))
|
|
262
|
-
if (e.
|
|
263
|
-
const i = new F(e, d, b, this.five.scene), m = new
|
|
263
|
+
if (e.isCSS3DObject && d) {
|
|
264
|
+
const i = new F(e, d, b, this.five.scene), m = new H(
|
|
264
265
|
this.five,
|
|
265
|
-
|
|
266
|
+
C,
|
|
266
267
|
q,
|
|
267
268
|
e,
|
|
268
269
|
i,
|
|
@@ -271,19 +272,20 @@ class Qr extends L {
|
|
|
271
272
|
v
|
|
272
273
|
);
|
|
273
274
|
r.addControllers({ scaleController: m.helperController }), s.push(() => m.dispose()), T(this.five).then(() => {
|
|
274
|
-
var a,
|
|
275
|
+
var a, D;
|
|
275
276
|
if (e.isCSS3DObjectPlus) {
|
|
276
|
-
const
|
|
277
|
-
if (!
|
|
277
|
+
const f = e;
|
|
278
|
+
if (!f || f.mode !== "front")
|
|
278
279
|
return;
|
|
279
|
-
const
|
|
280
|
-
|
|
281
|
-
}
|
|
280
|
+
const R = (a = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? a : A(this.five);
|
|
281
|
+
R && (this.css3DObjectParentMap.set(f, f.parent), f.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(R), (D = this.css3DRender.getBehindCSS3DObjectGroup()) == null || D.add(f), this.css3DRender.render(this.five.camera));
|
|
282
|
+
} else
|
|
283
|
+
e.isCSS3DObject && (this.css3DObjectModeMap.set(e, e.mode), e.mode = "behind");
|
|
282
284
|
});
|
|
283
285
|
} else {
|
|
284
|
-
const i =
|
|
286
|
+
const i = p(p({}, this.getConfig(l.scaleHelper)), l), m = new K(e, i), a = new H(
|
|
285
287
|
this.five,
|
|
286
|
-
|
|
288
|
+
C,
|
|
287
289
|
Q,
|
|
288
290
|
e,
|
|
289
291
|
m,
|
|
@@ -303,6 +305,9 @@ class Qr extends L {
|
|
|
303
305
|
if (e.isCSS3DObjectPlus) {
|
|
304
306
|
const s = e, d = this.css3DObjectParentMap.get(s);
|
|
305
307
|
d && d.add(s), this.css3DRender.render(this.five.camera);
|
|
308
|
+
} else if (e.isCSS3DObject) {
|
|
309
|
+
const s = this.css3DObjectModeMap.get(e);
|
|
310
|
+
e.mode = s;
|
|
306
311
|
}
|
|
307
312
|
this.objectHelperMap.delete(e), t.dispose(), r == null || r.forEach((s) => s == null ? void 0 : s());
|
|
308
313
|
}
|
|
@@ -335,5 +340,5 @@ class Qr extends L {
|
|
|
335
340
|
}
|
|
336
341
|
export {
|
|
337
342
|
Qr as Object3DHelperController,
|
|
338
|
-
|
|
343
|
+
O as PLUGIN
|
|
339
344
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var k = Object.defineProperty, O = Object.defineProperties;
|
|
2
2
|
var F = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var C = Object.getOwnPropertySymbols;
|
|
4
4
|
var w = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var f = (e, o, t) => o in e ? k(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t, b = (e, o) => {
|
|
6
6
|
for (var t in o || (o = {}))
|
|
7
7
|
w.call(o, t) && f(e, t, o[t]);
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
8
|
+
if (C)
|
|
9
|
+
for (var t of C(o))
|
|
10
10
|
x.call(o, t) && f(e, t, o[t]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, P = (e, o) => O(e, F(o));
|
|
13
|
+
var v = (e, o, t) => (f(e, typeof o != "symbol" ? o + "" : o, t), t);
|
|
14
|
+
var y = (e, o, t) => new Promise((m, p) => {
|
|
15
15
|
var n = (r) => {
|
|
16
16
|
try {
|
|
17
17
|
a(t.next(r));
|
|
@@ -195,14 +195,14 @@ import "../../../shared-utils/promise/withResolvers.js";
|
|
|
195
195
|
class Uo extends R {
|
|
196
196
|
constructor(t, m) {
|
|
197
197
|
super(t, m);
|
|
198
|
-
|
|
198
|
+
v(this, "loading", !1);
|
|
199
199
|
/** 加载外部模型 */
|
|
200
|
-
|
|
200
|
+
v(this, "loadModel", () => y(this, null, function* () {
|
|
201
201
|
var d, a;
|
|
202
202
|
const t = this.data.modelUrl;
|
|
203
203
|
if (!t || (this.loading = !0, yield H(this.five), !this.plugin.tags.includes(this)))
|
|
204
204
|
return;
|
|
205
|
-
const m = A(t).then((r) =>
|
|
205
|
+
const m = A(t).then((r) => y(this, null, function* () {
|
|
206
206
|
var l;
|
|
207
207
|
const i = Object.assign(r.scene, {
|
|
208
208
|
customID: this.id,
|
|
@@ -233,13 +233,13 @@ class Uo extends R {
|
|
|
233
233
|
i.classList.add("tag-media-container");
|
|
234
234
|
const c = "black";
|
|
235
235
|
i.style.backgroundColor = c, i.style.border = `3px solid ${c}`;
|
|
236
|
-
const l =
|
|
236
|
+
const l = b({ mode: "behind", cornerPoints: r, 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
237
|
s.position.add(u.clone().setLength(V.Z_FIGHTING_OFFSET)), p.add(s);
|
|
238
238
|
let h;
|
|
239
239
|
s.mode === "behind" && this.config.clickable !== !1 && (h = this.addObjectClickHandler(this, s, (M) => {
|
|
240
240
|
this.plugin.hooks.emit("click", { event: M, target: "TagContent", tag: this });
|
|
241
241
|
}));
|
|
242
|
-
const
|
|
242
|
+
const j = new I({
|
|
243
243
|
target: i,
|
|
244
244
|
props: {
|
|
245
245
|
tag: this,
|
|
@@ -251,7 +251,7 @@ class Uo extends R {
|
|
|
251
251
|
}
|
|
252
252
|
});
|
|
253
253
|
this.tag3DContentSvelte = {
|
|
254
|
-
svelteApp:
|
|
254
|
+
svelteApp: j,
|
|
255
255
|
domContainer: {
|
|
256
256
|
css3DObject: s
|
|
257
257
|
},
|
|
@@ -259,7 +259,7 @@ class Uo extends R {
|
|
|
259
259
|
initialNormal: u,
|
|
260
260
|
currentNormal: u,
|
|
261
261
|
dispose: () => {
|
|
262
|
-
|
|
262
|
+
j.$destroy(), s.dispose(), h == null || h();
|
|
263
263
|
}
|
|
264
264
|
};
|
|
265
265
|
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var b = Object.defineProperty, I = Object.defineProperties;
|
|
2
|
+
var R = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var v = Object.getOwnPropertySymbols;
|
|
4
|
+
var V = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var P = (n, i, t) => i in n ? b(n, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[i] = t, f = (n, i) => {
|
|
6
6
|
for (var t in i || (i = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
|
|
7
|
+
V.call(i, t) && P(n, t, i[t]);
|
|
8
|
+
if (v)
|
|
9
|
+
for (var t of v(i))
|
|
10
|
+
F.call(i, t) && P(n, t, i[t]);
|
|
11
11
|
return n;
|
|
12
|
-
},
|
|
13
|
-
var D = (n, i, t) => new Promise((
|
|
12
|
+
}, y = (n, i) => I(n, R(i));
|
|
13
|
+
var D = (n, i, t) => new Promise((m, o) => {
|
|
14
14
|
var p = (s) => {
|
|
15
15
|
try {
|
|
16
16
|
e(t.next(s));
|
|
17
|
-
} catch (
|
|
18
|
-
|
|
17
|
+
} catch (a) {
|
|
18
|
+
o(a);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, r = (s) => {
|
|
21
21
|
try {
|
|
22
22
|
e(t.throw(s));
|
|
23
|
-
} catch (
|
|
24
|
-
|
|
23
|
+
} catch (a) {
|
|
24
|
+
o(a);
|
|
25
25
|
}
|
|
26
|
-
}, e = (s) => s.done ?
|
|
26
|
+
}, e = (s) => s.done ? m(s.value) : Promise.resolve(s.value).then(p, r);
|
|
27
27
|
e((t = t.apply(n, i)).next());
|
|
28
28
|
});
|
|
29
|
-
import { CONST as
|
|
30
|
-
import { CSS3DObjectPlus as
|
|
31
|
-
import { anyPositionToVector3 as
|
|
29
|
+
import { CONST as M } from "../../../shared-utils/constants.js";
|
|
30
|
+
import { CSS3DObjectPlus as k } from "../../../shared-utils/CSS3DRender/CSS3DObject.js";
|
|
31
|
+
import { anyPositionToVector3 as E, arrayPositionToVector3 as S } from "../../../shared-utils/positionToVector3.js";
|
|
32
32
|
import "three";
|
|
33
|
-
import { planeNormal as
|
|
33
|
+
import { planeNormal as w } from "../../utils/planeNormal.js";
|
|
34
34
|
import { VideoPlane as j, ImagePlane as N } from "../../utils/model/mediaPlane.js";
|
|
35
|
-
import
|
|
35
|
+
import G from "../../Components/Tag/index.js";
|
|
36
36
|
import { BaseTag as A } from "./BaseTag.js";
|
|
37
37
|
import "../../../shared-utils/tag.js";
|
|
38
38
|
import "../../../vendor/hammerjs/hammer.js";
|
|
@@ -45,7 +45,7 @@ import "../../../vendor/animejs/lib/anime.es.js";
|
|
|
45
45
|
import { waitFiveModelLoaded as C } from "../../../shared-utils/five/fiveModelLoad.js";
|
|
46
46
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
47
47
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
48
|
-
import { initialCSS3DRender as
|
|
48
|
+
import { initialCSS3DRender as L } from "../../../shared-utils/CSS3DRender/index.js";
|
|
49
49
|
import "../../../shared-utils/even.js";
|
|
50
50
|
import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
51
51
|
import "../../../shared-utils/three/centerPoint.js";
|
|
@@ -191,14 +191,14 @@ import "../../../shared-utils/five/getFloorIndex.js";
|
|
|
191
191
|
import "../../../shared-utils/safeObj.js";
|
|
192
192
|
import "../../utils/Cache.js";
|
|
193
193
|
import "../../../shared-utils/promise/withResolvers.js";
|
|
194
|
-
const
|
|
195
|
-
class
|
|
194
|
+
const O = /* @__PURE__ */ new Map(), x = /* @__PURE__ */ new Map();
|
|
195
|
+
class Ue extends A {
|
|
196
196
|
constructor(i, t) {
|
|
197
197
|
super(i, t), this.state.unfolded = !0, this.loadModel();
|
|
198
198
|
}
|
|
199
199
|
applyVisible() {
|
|
200
|
-
var t,
|
|
201
|
-
this.computeRenderType() === "Mesh" ? ((
|
|
200
|
+
var t, m, o, p, r, e;
|
|
201
|
+
this.computeRenderType() === "Mesh" ? ((m = (t = this.data.mediaData) == null ? void 0 : t[0]) == null ? void 0 : m.type) === "Video" ? this.renderVideoPlane() : ((p = (o = this.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : p.type) === "Image" && this.renderImagePlane() : ((r = this.tag3DContentSvelte) == null || r.svelteApp.$set({ tag: this, state: this.plugin.state, temporaryState: this.plugin.temporaryState }), (e = this.tag3DContentSvelte) != null && e.css3DInstance && (this.tag3DContentSvelte.css3DInstance.visible = this.visible, this.five.needsRender = !0));
|
|
202
202
|
}
|
|
203
203
|
set(i, t = !0) {
|
|
204
204
|
super.set(i, t), C(this.five).then(() => {
|
|
@@ -206,32 +206,28 @@ class We extends A {
|
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
208
|
setData(...i) {
|
|
209
|
-
var
|
|
210
|
-
super.setData(...i), this.computeRenderType() === "Mesh" ? ((
|
|
209
|
+
var m, o, p, r, e;
|
|
210
|
+
super.setData(...i), this.computeRenderType() === "Mesh" ? ((o = (m = this.data.mediaData) == null ? void 0 : m[0]) == null ? void 0 : o.type) === "Video" ? this.renderVideoPlane() : ((r = (p = this.data.mediaData) == null ? void 0 : p[0]) == null ? void 0 : r.type) === "Image" && this.renderImagePlane() : (e = this.tag3DContentSvelte) == null || e.svelteApp.$set({ tag: this });
|
|
211
211
|
}
|
|
212
212
|
loadModel() {
|
|
213
213
|
return D(this, null, function* () {
|
|
214
|
-
var t,
|
|
214
|
+
var t, m, o, p, r, e;
|
|
215
215
|
if (yield C(this.five), this.computeRenderType() === "Mesh")
|
|
216
|
-
((
|
|
216
|
+
((m = (t = this.data.mediaData) == null ? void 0 : t[0]) == null ? void 0 : m.type) === "Video" ? this.renderVideoPlane() : ((p = (o = this.data.mediaData) == null ? void 0 : o[0]) == null ? void 0 : p.type) === "Image" && this.renderImagePlane();
|
|
217
217
|
else {
|
|
218
|
-
|
|
219
|
-
const s = this.position.map(
|
|
220
|
-
(e = (
|
|
221
|
-
const
|
|
222
|
-
|
|
223
|
-
const h = "
|
|
224
|
-
|
|
225
|
-
const l = g(f({}, this.config.tag3DConfig), { mode: "behind", cornerPoints: s, container: m }), S = this.computeRenderType() === "BehindDom" || l.mode === "behind" ? "behind" : "front", d = new E(g(f({}, l), { mode: S }));
|
|
226
|
-
d.__DEBUG_TAG__ = this;
|
|
227
|
-
const u = this.computeNormal();
|
|
228
|
-
d.position.add(u.clone().setLength(k.Z_FIGHTING_OFFSET)), this.plugin.group.add(d);
|
|
218
|
+
L(this.five);
|
|
219
|
+
const s = this.position.map(E);
|
|
220
|
+
(e = (r = this.tag3DContentSvelte) == null ? void 0 : r.dispose) == null || e.call(r);
|
|
221
|
+
const a = document.createElement("div");
|
|
222
|
+
a.classList.add("tag-media-container");
|
|
223
|
+
const h = f({ mode: "front", cornerPoints: s, container: a }, this.config.tag3DConfig), l = this.computeRenderType() === "BehindDom" || h.mode === "behind" ? "behind" : "front", d = new k(y(f({}, h), { mode: l })), u = this.computeNormal();
|
|
224
|
+
d.position.add(u.clone().setLength(M.Z_FIGHTING_OFFSET)), this.plugin.group.add(d);
|
|
229
225
|
let c;
|
|
230
226
|
d.mode === "behind" && this.config.clickable !== !1 && (c = this.addObjectClickHandler(this, d, (T) => {
|
|
231
227
|
this.plugin.hooks.emit("click", { event: T, target: "TagContent", tag: this });
|
|
232
228
|
}));
|
|
233
|
-
const
|
|
234
|
-
target:
|
|
229
|
+
const g = new G({
|
|
230
|
+
target: a,
|
|
235
231
|
props: {
|
|
236
232
|
tag: this,
|
|
237
233
|
hooks: this.plugin.hooks,
|
|
@@ -242,7 +238,7 @@ class We extends A {
|
|
|
242
238
|
}
|
|
243
239
|
});
|
|
244
240
|
this.tag3DContentSvelte = {
|
|
245
|
-
svelteApp:
|
|
241
|
+
svelteApp: g,
|
|
246
242
|
domContainer: {
|
|
247
243
|
css3DObject: d
|
|
248
244
|
},
|
|
@@ -250,7 +246,7 @@ class We extends A {
|
|
|
250
246
|
initialNormal: u,
|
|
251
247
|
currentNormal: u,
|
|
252
248
|
dispose: () => {
|
|
253
|
-
|
|
249
|
+
g.$destroy(), d.dispose(), c == null || c();
|
|
254
250
|
}
|
|
255
251
|
}, this.five.needsRender = !0;
|
|
256
252
|
}
|
|
@@ -264,22 +260,22 @@ class We extends A {
|
|
|
264
260
|
const { url: t } = i;
|
|
265
261
|
if (!t)
|
|
266
262
|
return;
|
|
267
|
-
const
|
|
268
|
-
if ((
|
|
269
|
-
const s = this.position.map(
|
|
263
|
+
const m = this.currentVisible, o = (() => !!(this.mediaPlane && !m))(), p = (() => !!(!this.mediaPlane && m))(), r = (() => !!(this.mediaPlane && this.mediaPlane.src !== t))();
|
|
264
|
+
if ((o || r) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), p || r) {
|
|
265
|
+
const s = this.position.map(S), a = new j(t, s, {
|
|
270
266
|
videoCoverSrc: i.videoCoverUrl,
|
|
271
267
|
playButton: this.data.playIcon,
|
|
272
268
|
paused: !((e = this.data.autoplayConfig) != null && e.autoplayVideo),
|
|
273
269
|
objectFit: this.data.objectFit,
|
|
274
|
-
videoTextureMap:
|
|
275
|
-
ImageTextureMap:
|
|
270
|
+
videoTextureMap: O,
|
|
271
|
+
ImageTextureMap: x,
|
|
276
272
|
domEvents: this.plugin.domEvents
|
|
277
273
|
});
|
|
278
|
-
|
|
279
|
-
l.addEventListener("play", () => this.plugin.mediaStore.set({ currentMediaElement:
|
|
274
|
+
a.onVideoReady = (l) => {
|
|
275
|
+
l.addEventListener("play", () => this.plugin.mediaStore.set({ currentMediaElement: a.videoInstance }));
|
|
280
276
|
};
|
|
281
277
|
const h = (l) => (this.five.on("renderFrame", l), () => this.five.off("renderFrame", l));
|
|
282
|
-
|
|
278
|
+
a.initialRenderHooks(h), this.mediaPlane = a, this.play = () => a.play(), this.pause = () => a.pause(), this.plugin.imagePlaneGroup.add(this.mediaPlane);
|
|
283
279
|
}
|
|
284
280
|
this.five.needsRender = !0;
|
|
285
281
|
}
|
|
@@ -290,8 +286,8 @@ class We extends A {
|
|
|
290
286
|
const { url: t } = i;
|
|
291
287
|
if (!t)
|
|
292
288
|
return;
|
|
293
|
-
const
|
|
294
|
-
(p || e) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), (
|
|
289
|
+
const m = this.position.map(S), o = this.currentVisible, p = (() => !!(this.mediaPlane && !o))(), r = (() => !!(!this.mediaPlane && o))(), e = (() => !!(this.mediaPlane && this.mediaPlane.src !== t))();
|
|
290
|
+
(p || e) && this.mediaPlane && (this.plugin.imagePlaneGroup.remove(this.mediaPlane), this.mediaPlane.dispose(), this.mediaPlane.removeFromParent(), this.mediaPlane = void 0), (r || e) && (this.mediaPlane = new N(t, m, { objectFit: this.data.objectFit }), this.getConfig().clickable !== !1 && this.plugin.domEvents.addAutoBindEventListener(
|
|
295
291
|
this.mediaPlane,
|
|
296
292
|
"click",
|
|
297
293
|
(s) => {
|
|
@@ -301,9 +297,9 @@ class We extends A {
|
|
|
301
297
|
), this.plugin.imagePlaneGroup.add(this.mediaPlane)), this.five.needsRender = !0;
|
|
302
298
|
}
|
|
303
299
|
computeNormal() {
|
|
304
|
-
return
|
|
300
|
+
return w(this.position);
|
|
305
301
|
}
|
|
306
302
|
}
|
|
307
303
|
export {
|
|
308
|
-
|
|
304
|
+
Ue as PlaneTag
|
|
309
305
|
};
|