@realsee/dnalogel 3.60.2-alpha.0 → 3.60.2
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 +4 -0
- package/components/index.js +13 -13
- package/dist/index.cjs.js +48 -48
- package/dist/index.js +6341 -6402
- package/dist/index.umd.js +60 -60
- 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 +3 -3
- 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 +10 -10
- 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/AreaMakerPlugin/Controller.js +134 -88
- package/libs/AreaMakerPlugin/index.js +59 -13
- package/libs/AreaMakerPlugin/utils/Item.js +100 -49
- package/libs/CSS3DRenderPlugin/Controller.js +73 -31
- package/libs/CSS3DRenderPlugin/index.js +55 -13
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +88 -39
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +153 -109
- package/libs/CruisePlugin/BaseController.js +100 -50
- package/libs/CruisePlugin/Move.js +58 -27
- package/libs/CruisePlugin/Work.js +88 -57
- package/libs/CruisePlugin/index.js +68 -37
- package/libs/CurrentPanoImagePlugin/Controller.js +101 -52
- package/libs/CurrentPanoImagePlugin/index.js +55 -6
- package/libs/GuideLinePlugin/Controller.js +98 -67
- package/libs/GuideLinePlugin/GuideLineItem.js +65 -34
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +55 -47
- package/libs/GuideLinePlugin/GuideLineModeItem.js +65 -34
- package/libs/GuideLinePlugin/index.js +66 -35
- package/libs/ModelChassisCompassPlugin/Plugin.js +1 -1
- package/libs/ModelMakerPlugin/Controller.js +86 -62
- package/libs/ModelMakerPlugin/index.js +52 -28
- package/libs/ModelMakerPlugin/item/baseItem.js +53 -14
- package/libs/ModelMakerPlugin/item/boxItem.js +51 -12
- package/libs/ModelMakerPlugin/item/polygonItem.js +53 -14
- package/libs/ModelMakerPlugin/item/prismItem.js +61 -23
- package/libs/ModelTVVideoPlugin/Plugin.js +94 -52
- package/libs/ModelTVVideoPlugin/index.js +47 -5
- package/libs/Object3DHelperPlugin/Controller.js +118 -82
- package/libs/Object3DHelperPlugin/index.js +80 -44
- package/libs/PanoCompassPlugin/Controller.js +66 -30
- package/libs/PanoCompassPlugin/index.js +53 -17
- package/libs/PanoDoorLabelPlugin/Controller.js +156 -107
- package/libs/PanoDoorLabelPlugin/index.js +54 -5
- package/libs/PanoMeasurePlugin/Components/Controller0.js +28 -24
- package/libs/PanoMeasurePlugin/Components/Controller1.js +28 -24
- package/libs/PanoMeasurePlugin/Controller/EditController.js +65 -61
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +140 -91
- package/libs/PanoMeasurePlugin/Controller/index.js +46 -43
- package/libs/PanoMeasurePlugin/Model/area.js +88 -37
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +56 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +35 -31
- package/libs/PanoMeasurePlugin/index.js +39 -36
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +79 -25
- package/libs/PanoRulerProPlugin/Controller.js +95 -41
- package/libs/PanoRulerProPlugin/RulerItems.js +155 -101
- package/libs/PanoRulerProPlugin/index.js +60 -6
- package/libs/PanoSpatialTagPlugin/Plugin.js +157 -116
- package/libs/PanoSpatialTagPlugin/index.js +44 -3
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +110 -54
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +275 -219
- package/libs/PanoTagPlugin/Components/Tag/index.js +182 -146
- package/libs/PanoTagPlugin/Components/TagContainer.js +136 -100
- package/libs/PanoTagPlugin/Components/TagItem.js +113 -77
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +104 -62
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +75 -39
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +112 -76
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +94 -52
- package/libs/PanoTagPlugin/controller/TagRender.js +71 -25
- package/libs/PanoTagPlugin/controller/TagUtil.js +112 -66
- package/libs/PanoTagPlugin/controller/index.js +83 -52
- package/libs/PanoTagPlugin/index.js +63 -32
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +98 -42
- package/libs/PanoVideoPlugin/Controller.js +117 -68
- package/libs/PanoVideoPlugin/VideoMeshController.js +130 -75
- package/libs/PanoVideoPlugin/index.js +60 -11
- package/libs/PipelinePlugin/Controller.js +111 -63
- package/libs/PipelinePlugin/index.js +58 -10
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +81 -26
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +72 -17
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +103 -48
- package/libs/Sculpt/Meshes/Circle.js +24 -14
- package/libs/Sculpt/Meshes/Cylinder.js +32 -22
- package/libs/Sculpt/Meshes/Line.js +40 -33
- package/libs/Sculpt/Meshes/LineWithDots.js +21 -12
- package/libs/Sculpt/Meshes/Point.js +36 -27
- package/libs/Sculpt/Meshes/Polygon.js +25 -16
- package/libs/Sculpt/Meshes/Rectangle.js +29 -18
- package/libs/Sculpt/Objects/Line/Editor.js +33 -22
- package/libs/Sculpt/index.js +68 -57
- package/libs/Sculpt/utils/three/ColoredMesh.js +31 -21
- package/libs/base/BasePlugin.js +27 -16
- package/libs/components/AreaLabel/LabelItem.js +42 -43
- package/libs/components/PaintBrush/style.js +2 -2
- package/libs/components/index.js +2 -1
- package/libs/floorplan/Components/BaseImage.js +13 -14
- package/libs/floorplan/Components/Camera.js +12 -13
- package/libs/floorplan/Components/Compass.js +22 -23
- package/libs/floorplan/Components/CurrentFloor.js +18 -19
- package/libs/floorplan/Components/Main.js +13 -14
- package/libs/floorplan/Components/MissingFloor.js +39 -40
- package/libs/floorplan/Components/Normalmage.js +6 -7
- package/libs/floorplan/Components/RoomHighlight/Room.js +26 -27
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +2 -3
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +2 -3
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +2 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +59 -60
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +23 -24
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +34 -35
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +21 -22
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +54 -55
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +46 -47
- package/libs/floorplan/Components/SvgImage.js +16 -17
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -63
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +54 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +109 -60
- package/libs/floorplan/ModelFloorplanPlugin/index.js +54 -5
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +120 -71
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +54 -5
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +129 -80
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +54 -5
- package/libs/floorplan/index.js +12 -0
- package/libs/index.js +210 -210
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +22 -13
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +4 -4
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +6 -6
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +7 -5
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +20 -18
- package/libs/shared-utils/Object3DHelper/Helper/index.js +4 -1
- package/libs/shared-utils/Object3DHelper/utils/index.js +1 -1
- package/libs/shared-utils/animationFrame/index.js +7 -6
- package/libs/shared-utils/exports.js +62 -62
- package/libs/shared-utils/five/index.js +13 -2
- package/libs/shared-utils/five/lookObject.js +33 -24
- package/libs/shared-utils/index.js +11 -1
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/object3d2LocalMatrix.js +9 -9
- package/libs/shared-utils/tag.js +23 -14
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +12 -9
- package/libs/shared-utils/three/index.js +11 -1
- package/libs/shared-utils/three/libs/NURBSCurve.js +1 -1
- package/libs/shared-utils/three/transformPositionToVector3.js +2 -2
- package/package.json +1 -2
|
@@ -1,37 +1,86 @@
|
|
|
1
1
|
var A = Object.defineProperty;
|
|
2
|
-
var D = (
|
|
3
|
-
var o = (
|
|
4
|
-
import { Vector3 as
|
|
2
|
+
var D = (c, p, t) => p in c ? A(c, p, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[p] = t;
|
|
3
|
+
var o = (c, p, t) => (D(c, typeof p != "symbol" ? p + "" : p, t), t);
|
|
4
|
+
import { Vector3 as n } from "three";
|
|
5
5
|
import { even as E } from "../../../shared-utils/even.js";
|
|
6
6
|
import { Subscribe as N } from "../../../shared-utils/Subscribe.js";
|
|
7
7
|
import { OpecityMesh as Q } from "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
8
8
|
import { centerPoint as R } from "../../../shared-utils/three/centerPoint.js";
|
|
9
9
|
import { getObjectVisible as L } from "../../../shared-utils/three/getObjectVisible.js";
|
|
10
|
+
import "../../../shared-utils/tag.js";
|
|
11
|
+
import "../../../vendor/hammerjs/hammer.js";
|
|
12
|
+
import "../../../shared-utils/three/PointSelector/index.js";
|
|
10
13
|
import { CSS3DObject as T } from "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
14
|
+
import "@realsee/five/line";
|
|
11
15
|
import { isNil as O } from "../../../shared-utils/isNil.js";
|
|
16
|
+
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
17
|
+
import "../../../shared-utils/three/core/Sphere.js";
|
|
18
|
+
import "../../../vendor/animejs/lib/anime.es.js";
|
|
19
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
20
|
+
import "../../../shared-utils/five/FivePuppet.js";
|
|
21
|
+
import "../../../shared-utils/positionToVector3.js";
|
|
22
|
+
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
23
|
+
import "../../../shared-utils/five/getFiveModel.js";
|
|
24
|
+
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
25
|
+
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
26
|
+
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
27
|
+
import "../../../shared-utils/five/transformPosition.js";
|
|
28
|
+
import "../../../shared-utils/three/temp.js";
|
|
29
|
+
import "../../../shared-utils/three/core/Raycaster.js";
|
|
30
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
31
|
+
import "../../../shared-utils/five/fiveEveryReadyListener.js";
|
|
32
|
+
import "../../../shared-utils/throttle.js";
|
|
33
|
+
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
34
|
+
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
35
|
+
import "../../../shared-utils/three/Magnifier.js";
|
|
36
|
+
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
37
|
+
import "../../../shared-utils/three/Assets/index.js";
|
|
38
|
+
import "./CSS3DObject.js";
|
|
39
|
+
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
40
|
+
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
41
|
+
import "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
42
|
+
import "../../../shared-utils/createResizeObserver.js";
|
|
43
|
+
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
44
|
+
import "../../../Sculpt/Meshes/Line.js";
|
|
45
|
+
import "../../../Sculpt/typings/style.js";
|
|
46
|
+
import "../../../shared-utils/three/IObject3D.js";
|
|
47
|
+
import "../../../Sculpt/utils/removeAllTag.js";
|
|
48
|
+
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
49
|
+
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
50
|
+
import "../../../shared-utils/util.js";
|
|
51
|
+
import "../../../shared-utils/three/core/LineGeometry.js";
|
|
52
|
+
import "../../../shared-utils/three/core/LineMaterial.js";
|
|
53
|
+
import "../../../shared-utils/three/core/Line2.js";
|
|
54
|
+
import "../../../shared-utils/three/core/LineMaterial2.js";
|
|
55
|
+
import "./CSS3DSprite.js";
|
|
56
|
+
import "../../../shared-utils/isTouchDevice.js";
|
|
57
|
+
import "../../../shared-utils/five/getPosition.js";
|
|
58
|
+
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
59
|
+
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
60
|
+
import "@realsee/five";
|
|
12
61
|
const $ = 1, W = `CSS3DObjectPlus@${$}`, k = 216e-5, z = 3e-3;
|
|
13
|
-
class
|
|
62
|
+
class Bt extends T {
|
|
14
63
|
constructor(t) {
|
|
15
64
|
var x, b, w, g, V;
|
|
16
65
|
if (O(t.cornerPoints) && O(t.width))
|
|
17
66
|
throw new Error("cornerPoints and width cannot be both empty");
|
|
18
|
-
const
|
|
19
|
-
const
|
|
67
|
+
const i = (x = t.container) != null ? x : document.createElement("div"), s = (b = t.cornerPoints) != null ? b : (() => {
|
|
68
|
+
const e = t.width / 2;
|
|
20
69
|
return [
|
|
21
|
-
new
|
|
22
|
-
new
|
|
23
|
-
new
|
|
24
|
-
new
|
|
70
|
+
new n(-e, e, 0),
|
|
71
|
+
new n(-e, -e, 0),
|
|
72
|
+
new n(e, -e, 0),
|
|
73
|
+
new n(e, e, 0)
|
|
25
74
|
];
|
|
26
|
-
})(),
|
|
75
|
+
})(), r = (w = t.ratio) != null ? w : z, P = (g = t.dpr) != null ? g : 1, F = (V = t.pointerEvents) != null ? V : "auto", h = Math.max(k, r), l = s[0].distanceTo(s[1]), d = s[1].distanceTo(s[2]), m = E(l / r * P), a = E(d / r * P), y = R(...s);
|
|
27
76
|
let u;
|
|
28
|
-
if (
|
|
29
|
-
|
|
77
|
+
if (h === r)
|
|
78
|
+
i.style.width = `${m}px`, i.style.height = `${a}px`, u = i;
|
|
30
79
|
else {
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
const S =
|
|
34
|
-
|
|
80
|
+
const e = document.createElement("div");
|
|
81
|
+
e.style.width = `${m}px`, e.style.height = `${a}px`, e.style.pointerEvents = "none";
|
|
82
|
+
const S = r / h;
|
|
83
|
+
i.style.position = "absolute", i.style.left = "0", i.style.top = "0", i.style.width = `${S * m}px`, i.style.height = `${S * a}px`, e.appendChild(i), u = e;
|
|
35
84
|
}
|
|
36
85
|
super(u);
|
|
37
86
|
o(this, "version", $);
|
|
@@ -60,31 +109,31 @@ class Y extends T {
|
|
|
60
109
|
* @description: 生成透明Mesh
|
|
61
110
|
*/
|
|
62
111
|
o(this, "createOpacityMesh", (t) => {
|
|
63
|
-
const { domWidthPx:
|
|
64
|
-
return
|
|
112
|
+
const { domWidthPx: i, domHeightPx: s } = t, r = new Q(i, s);
|
|
113
|
+
return r.position.copy(t.position), r.rotation.copy(t.rotation), r.scale.copy(t.scale), r;
|
|
65
114
|
});
|
|
66
|
-
if (
|
|
67
|
-
this.width =
|
|
115
|
+
if (i.style.pointerEvents = F, Object.assign(i.style, t.style), this.scale.set(h, h, h), this.cornerPoints = s, this.ratio = r, this.container = i, t.mode && (this.mode = t.mode), h === r)
|
|
116
|
+
this.width = l, this.height = d, this.domWidthPx = m, this.domHeightPx = a, this.centerPosition = y;
|
|
68
117
|
else {
|
|
69
|
-
const
|
|
70
|
-
this.width =
|
|
118
|
+
const e = r / h;
|
|
119
|
+
this.width = e * l, this.height = e * d, this.domWidthPx = e * m, this.domHeightPx = e * a, this.centerPosition = new n().subVectors(y, s[0]).multiplyScalar(e).add(s[0]);
|
|
71
120
|
}
|
|
72
|
-
|
|
73
|
-
const C = new
|
|
121
|
+
i.classList.add(`${W}__container`);
|
|
122
|
+
const C = new n().subVectors(s[1], s[0]), M = new n().subVectors(s[3], s[0]), H = new n().crossVectors(C, M).normalize();
|
|
74
123
|
this.lookAt(H);
|
|
75
|
-
const f = this.up.clone().applyQuaternion(this.quaternion), v = M.clone(), j = new
|
|
124
|
+
const f = this.up.clone().applyQuaternion(this.quaternion), v = M.clone(), j = new n().crossVectors(f, v).normalize();
|
|
76
125
|
this.rotateOnWorldAxis(j, f.angleTo(v)), this.position.copy(y), this.addEventListener("added", () => {
|
|
77
|
-
var
|
|
78
|
-
this.mode === "front" && ((
|
|
126
|
+
var e;
|
|
127
|
+
this.mode === "front" && ((e = this.opacityMesh) == null || e.removeFromParent());
|
|
79
128
|
}), this.addEventListener("removed", () => {
|
|
80
|
-
var
|
|
81
|
-
(
|
|
129
|
+
var e;
|
|
130
|
+
(e = this.opacityMesh) == null || e.removeFromParent();
|
|
82
131
|
});
|
|
83
132
|
}
|
|
84
133
|
removeFromParent() {
|
|
85
|
-
var
|
|
134
|
+
var i;
|
|
86
135
|
const t = this.parent;
|
|
87
|
-
return t !== null && t.remove(this), (
|
|
136
|
+
return t !== null && t.remove(this), (i = this.opacityMesh) == null || i.removeFromParent(), this;
|
|
88
137
|
}
|
|
89
138
|
removeOpacityMesh() {
|
|
90
139
|
var t;
|
|
@@ -103,20 +152,20 @@ class Y extends T {
|
|
|
103
152
|
}
|
|
104
153
|
}
|
|
105
154
|
applyMatrix4(t) {
|
|
106
|
-
var
|
|
107
|
-
super.applyMatrix4(t), (
|
|
155
|
+
var i;
|
|
156
|
+
super.applyMatrix4(t), (i = this.opacityMesh) == null || i.applyMatrix4(t);
|
|
108
157
|
}
|
|
109
158
|
applyQuaternion(t) {
|
|
110
|
-
var
|
|
111
|
-
return super.applyQuaternion(t), (
|
|
159
|
+
var i;
|
|
160
|
+
return super.applyQuaternion(t), (i = this.opacityMesh) == null || i.applyQuaternion(t), this;
|
|
112
161
|
}
|
|
113
162
|
applyScaleMatrix4(t) {
|
|
114
|
-
var
|
|
115
|
-
this.scale.applyMatrix4(t), (
|
|
163
|
+
var i;
|
|
164
|
+
this.scale.applyMatrix4(t), (i = this.opacityMesh) == null || i.scale.applyMatrix4(t);
|
|
116
165
|
}
|
|
117
166
|
}
|
|
118
167
|
export {
|
|
119
|
-
|
|
168
|
+
Bt as CSS3DObjectPlus,
|
|
120
169
|
z as DefaultRatio,
|
|
121
170
|
k as MinRatio
|
|
122
171
|
};
|
|
@@ -2,36 +2,36 @@ var $ = Object.defineProperty, _ = Object.defineProperties;
|
|
|
2
2
|
var k = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var R = Object.getOwnPropertySymbols;
|
|
4
4
|
var P = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var C = (
|
|
5
|
+
var C = (o, e, t) => e in o ? $(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, g = (o, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
|
-
P.call(e, t) && C(
|
|
7
|
+
P.call(e, t) && C(o, t, e[t]);
|
|
8
8
|
if (R)
|
|
9
9
|
for (var t of R(e))
|
|
10
|
-
L.call(e, t) && C(
|
|
11
|
-
return
|
|
12
|
-
}, v = (
|
|
13
|
-
var
|
|
14
|
-
var
|
|
10
|
+
L.call(e, t) && C(o, t, e[t]);
|
|
11
|
+
return o;
|
|
12
|
+
}, v = (o, e) => _(o, k(e));
|
|
13
|
+
var n = (o, e, t) => (C(o, typeof e != "symbol" ? e + "" : e, t), t);
|
|
14
|
+
var f = (o, e, t) => new Promise((r, s) => {
|
|
15
15
|
var d = (c) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
|
|
17
|
+
m(t.next(c));
|
|
18
|
+
} catch (p) {
|
|
19
|
+
s(p);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, u = (c) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
|
|
23
|
+
m(t.throw(c));
|
|
24
|
+
} catch (p) {
|
|
25
|
+
s(p);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, m = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(d, u);
|
|
28
|
+
m((t = t.apply(o, e)).next());
|
|
29
29
|
});
|
|
30
30
|
import { anyPositionToVector3 as q } from "../../../shared-utils/positionToVector3.js";
|
|
31
31
|
import { ICSS3DRenderer as B } from "../../../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
32
32
|
import { Subscribe as A } from "../../../shared-utils/Subscribe.js";
|
|
33
33
|
import { CSS3DObjectPlus as W } from "./CSS3DObject.js";
|
|
34
|
-
import { MinRatio as
|
|
34
|
+
import { MinRatio as nt } from "./CSS3DObject.js";
|
|
35
35
|
import { CSS3DFrontScene as H, CSS3DBehindScene as T } from "./CSS3DScene.js";
|
|
36
36
|
import { CSS3DFrontGroup as U, CSS3DBehindGroup as z } from "./CSS3DGroup.js";
|
|
37
37
|
import { CSS3DObject as j } from "../../../shared-utils/three/CSS3DRenderer/index.js";
|
|
@@ -41,12 +41,56 @@ import "../../../shared-utils/even.js";
|
|
|
41
41
|
import "../../../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
42
42
|
import "../../../shared-utils/three/centerPoint.js";
|
|
43
43
|
import "../../../shared-utils/three/getObjectVisible.js";
|
|
44
|
+
import "../../../shared-utils/tag.js";
|
|
45
|
+
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
46
|
+
import "../../../shared-utils/five/getFiveModel.js";
|
|
47
|
+
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
48
|
+
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
49
|
+
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
50
|
+
import "../../../shared-utils/five/transformPosition.js";
|
|
51
|
+
import "../../../shared-utils/three/temp.js";
|
|
52
|
+
import "../../../shared-utils/three/core/Raycaster.js";
|
|
53
|
+
import "../../../shared-utils/dom/resizeObserver.js";
|
|
54
|
+
import "../../../shared-utils/five/fiveEveryReadyListener.js";
|
|
55
|
+
import "../../../shared-utils/throttle.js";
|
|
56
|
+
import "../../../vendor/hammerjs/hammer.js";
|
|
57
|
+
import "../../../shared-utils/three/PointSelector/index.js";
|
|
58
|
+
import "../../../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
59
|
+
import "../../../shared-utils/three/Magnifier.js";
|
|
60
|
+
import "../../../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
61
|
+
import "../../../shared-utils/three/Assets/index.js";
|
|
62
|
+
import "../../../shared-utils/three/PointSelector/utils/html.js";
|
|
63
|
+
import "../../../shared-utils/five/initialCSS3DRender.js";
|
|
64
|
+
import "../../../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
65
|
+
import "../../../Sculpt/Meshes/Line.js";
|
|
66
|
+
import "../../../Sculpt/typings/style.js";
|
|
67
|
+
import "../../../shared-utils/three/IObject3D.js";
|
|
68
|
+
import "../../../Sculpt/utils/removeAllTag.js";
|
|
69
|
+
import "../../../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
70
|
+
import "../../../shared-utils/three/applyObjectMatrixWorld.js";
|
|
71
|
+
import "../../../shared-utils/util.js";
|
|
72
|
+
import "../../../shared-utils/three/core/LineGeometry.js";
|
|
73
|
+
import "@realsee/five/line";
|
|
74
|
+
import "../../../shared-utils/three/core/LineMaterial.js";
|
|
44
75
|
import "../../../shared-utils/isNil.js";
|
|
76
|
+
import "../../../shared-utils/three/core/Line2.js";
|
|
77
|
+
import "../../../shared-utils/three/core/LineMaterial2.js";
|
|
78
|
+
import "../../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
79
|
+
import "../../../shared-utils/three/core/Sphere.js";
|
|
80
|
+
import "../../../vendor/animejs/lib/anime.es.js";
|
|
81
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
82
|
+
import "../../../shared-utils/five/FivePuppet.js";
|
|
83
|
+
import "@realsee/five";
|
|
84
|
+
import "./CSS3DSprite.js";
|
|
85
|
+
import "../../../shared-utils/isTouchDevice.js";
|
|
86
|
+
import "../../../shared-utils/five/getPosition.js";
|
|
87
|
+
import "../../../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
88
|
+
import "../../../shared-utils/three/PointSelector/utils/contents.js";
|
|
89
|
+
import "../../../shared-utils/five/fiveModelLoad.js";
|
|
45
90
|
import "../getAllCSS3DObject.js";
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}, o = {
|
|
91
|
+
const J = 3, G = "CSS3DRenderer", l = `${G}@${J}`, S = () => {
|
|
92
|
+
console.error(`${l} is disposed`);
|
|
93
|
+
}, i = {
|
|
50
94
|
css3DObjects: [],
|
|
51
95
|
frontModeStore: {
|
|
52
96
|
css3DRenderer: new B()
|
|
@@ -55,26 +99,26 @@ const J = 3, G = "CSS3DRenderer", b = `${G}@${J}`, u = () => {
|
|
|
55
99
|
css3DRenderer: new B()
|
|
56
100
|
}
|
|
57
101
|
};
|
|
58
|
-
function w(
|
|
59
|
-
return
|
|
102
|
+
function w(o) {
|
|
103
|
+
return i.css3DObjects.find((e) => e.id === o);
|
|
60
104
|
}
|
|
61
|
-
function K(
|
|
62
|
-
|
|
105
|
+
function K(o) {
|
|
106
|
+
i.frontModeStore.css3DRenderer.setWrapper(o);
|
|
63
107
|
}
|
|
64
|
-
function Q(
|
|
65
|
-
|
|
108
|
+
function Q(o) {
|
|
109
|
+
i.behindModeStore.css3DRenderer.setWrapper(o);
|
|
66
110
|
}
|
|
67
111
|
class y {
|
|
68
112
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
69
113
|
constructor(e) {
|
|
70
|
-
|
|
71
|
-
|
|
114
|
+
n(this, "hooks", new A());
|
|
115
|
+
n(this, "state", {
|
|
72
116
|
enabled: !0,
|
|
73
117
|
visible: !0,
|
|
74
118
|
disposed: !1
|
|
75
119
|
});
|
|
76
|
-
|
|
77
|
-
|
|
120
|
+
n(this, "_scene");
|
|
121
|
+
n(this, "store", {
|
|
78
122
|
frontModeGroup: new U()
|
|
79
123
|
});
|
|
80
124
|
/**
|
|
@@ -111,10 +155,10 @@ class y {
|
|
|
111
155
|
* } | void
|
|
112
156
|
* ```
|
|
113
157
|
*/
|
|
114
|
-
|
|
158
|
+
n(this, "create3DElement", (e, t, r) => {
|
|
115
159
|
if (this.state.disposed)
|
|
116
|
-
return
|
|
117
|
-
const
|
|
160
|
+
return S();
|
|
161
|
+
const s = (() => {
|
|
118
162
|
const h = {
|
|
119
163
|
ratio: 216e-5,
|
|
120
164
|
devicePixelRatio: 1,
|
|
@@ -124,30 +168,30 @@ class y {
|
|
|
124
168
|
pointerEvents: "none",
|
|
125
169
|
wrapperStyle: {}
|
|
126
170
|
};
|
|
127
|
-
return Object.assign(h,
|
|
171
|
+
return Object.assign(h, r);
|
|
128
172
|
})(), d = t.map(q);
|
|
129
173
|
if ((d == null ? void 0 : d.length) < 4)
|
|
130
|
-
return console.error(`${
|
|
131
|
-
const { ratio:
|
|
132
|
-
let
|
|
133
|
-
const a = this.createObject(d, { ratio:
|
|
134
|
-
|
|
174
|
+
return console.error(`${l}: requires 4 point but params may have fewer`);
|
|
175
|
+
const { ratio: u, devicePixelRatio: m, mode: c, autoRender: p, container: O, pointerEvents: F, wrapperStyle: I } = s;
|
|
176
|
+
let b = !1;
|
|
177
|
+
const a = this.createObject(d, { ratio: u, dpr: m, container: O, mode: c, pointerEvents: F, wrapperStyle: I });
|
|
178
|
+
i.css3DObjects.push(a), s.scene && this.setScene(s.scene);
|
|
135
179
|
const N = () => {
|
|
136
|
-
if (
|
|
180
|
+
if (b)
|
|
137
181
|
return;
|
|
138
182
|
const h = a.mode === "front" ? this.getFrontCSS3DObjectGroup() : this.getBehindCSS3DObjectGroup();
|
|
139
183
|
h && h.add(a);
|
|
140
184
|
}, E = () => {
|
|
141
|
-
|
|
142
|
-
},
|
|
143
|
-
return
|
|
185
|
+
b || (N(), this.render(e), this.hooks.emit("render"));
|
|
186
|
+
}, D = (h) => this.setVisibleById(a.id, h), M = (h) => this.setEnabledById(a.id, h), x = () => (b = !0, a.removeFromParent(), !0), V = c === "front" ? i.frontModeStore.css3DRenderer : i.behindModeStore.css3DRenderer;
|
|
187
|
+
return p && E(), {
|
|
144
188
|
id: a.uuid,
|
|
145
189
|
container: O,
|
|
146
190
|
css3DObject: a,
|
|
147
|
-
render:
|
|
148
|
-
show: () =>
|
|
149
|
-
hide: () =>
|
|
150
|
-
setVisible:
|
|
191
|
+
render: p ? void 0 : E,
|
|
192
|
+
show: () => D(!0),
|
|
193
|
+
hide: () => D(!1),
|
|
194
|
+
setVisible: D,
|
|
151
195
|
enable: () => M(!0),
|
|
152
196
|
disable: () => M(!1),
|
|
153
197
|
setEnabled: M,
|
|
@@ -155,20 +199,20 @@ class y {
|
|
|
155
199
|
appendToElement: (h) => V.setWrapper(h)
|
|
156
200
|
};
|
|
157
201
|
});
|
|
158
|
-
|
|
159
|
-
var
|
|
160
|
-
(
|
|
202
|
+
n(this, "setVisibleById", (e, t) => {
|
|
203
|
+
var r;
|
|
204
|
+
(r = w(e)) == null || r.setVisible(t);
|
|
161
205
|
});
|
|
162
|
-
|
|
163
|
-
const
|
|
164
|
-
if (!
|
|
206
|
+
n(this, "setEnabledById", (e, t) => {
|
|
207
|
+
const r = w(e);
|
|
208
|
+
if (!r)
|
|
165
209
|
return;
|
|
166
|
-
const
|
|
167
|
-
|
|
210
|
+
const s = r.mode === "front" ? this.getFrontCSS3DObjectGroup({ addGroupIfNotExists: !1 }) : this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 });
|
|
211
|
+
s && (t ? s.add(r) : s.remove(r));
|
|
168
212
|
});
|
|
169
|
-
|
|
170
|
-
const
|
|
171
|
-
return
|
|
213
|
+
n(this, "createObject", (e, t) => {
|
|
214
|
+
const r = new W(v(g({ cornerPoints: e }, t), { style: t.wrapperStyle }));
|
|
215
|
+
return r.element.classList.add(`${G}__container`), r.element.id = `${G}__container--${r.uuid}`, r;
|
|
172
216
|
});
|
|
173
217
|
e && this.setScene(e);
|
|
174
218
|
}
|
|
@@ -176,16 +220,16 @@ class y {
|
|
|
176
220
|
return this._scene || console.error("scene doesn't exist!, please call setScene(scene) first"), this._scene;
|
|
177
221
|
}
|
|
178
222
|
static get frontModeCSS3DRenderer() {
|
|
179
|
-
return
|
|
223
|
+
return i.frontModeStore.css3DRenderer;
|
|
180
224
|
}
|
|
181
225
|
static get behindModeCSS3DRenderer() {
|
|
182
|
-
return
|
|
226
|
+
return i.behindModeStore.css3DRenderer;
|
|
183
227
|
}
|
|
184
228
|
get frontModeCSS3DRenderer() {
|
|
185
|
-
return
|
|
229
|
+
return i.frontModeStore.css3DRenderer;
|
|
186
230
|
}
|
|
187
231
|
get behindModeCSS3DRenderer() {
|
|
188
|
-
return
|
|
232
|
+
return i.behindModeStore.css3DRenderer;
|
|
189
233
|
}
|
|
190
234
|
setScene(e) {
|
|
191
235
|
this._scene = e;
|
|
@@ -195,100 +239,100 @@ class y {
|
|
|
195
239
|
}
|
|
196
240
|
setState(e, t = { userAction: !0 }) {
|
|
197
241
|
if (this.state.disposed)
|
|
198
|
-
return
|
|
199
|
-
const
|
|
200
|
-
this.state = Object.assign(this.state, e),
|
|
242
|
+
return S();
|
|
243
|
+
const r = g({}, this.state);
|
|
244
|
+
this.state = Object.assign(this.state, e), r.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), r.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), r.disposed !== this.state.disposed && this.handleDispose(), this.hooks.emit("stateChange", { state: this.state, prevState: r, userAction: t.userAction });
|
|
201
245
|
}
|
|
202
246
|
dispose() {
|
|
203
247
|
this.setState({ disposed: !0 }), this.hooks.emit("dispose");
|
|
204
248
|
}
|
|
205
249
|
show() {
|
|
206
|
-
return
|
|
250
|
+
return f(this, arguments, function* ({ userAction: e } = { userAction: !0 }) {
|
|
207
251
|
if (this.state.disposed)
|
|
208
|
-
return
|
|
252
|
+
return S();
|
|
209
253
|
this.setState({ visible: !0 }, { userAction: e }), this.hooks.emit("show", { userAction: e });
|
|
210
254
|
});
|
|
211
255
|
}
|
|
212
256
|
hide() {
|
|
213
|
-
return
|
|
257
|
+
return f(this, arguments, function* ({ userAction: e } = { userAction: !0 }) {
|
|
214
258
|
if (this.state.disposed)
|
|
215
|
-
return
|
|
259
|
+
return S();
|
|
216
260
|
this.setState({ visible: !1 }, { userAction: e }), this.hooks.emit("hide", { userAction: e });
|
|
217
261
|
});
|
|
218
262
|
}
|
|
219
263
|
enable({ userAction: e } = { userAction: !0 }) {
|
|
220
264
|
if (this.state.disposed)
|
|
221
|
-
return
|
|
265
|
+
return S();
|
|
222
266
|
this.setState({ enabled: !0 }, { userAction: e }), this.hooks.emit("enable", { userAction: e });
|
|
223
267
|
}
|
|
224
268
|
disable({ userAction: e } = { userAction: !0 }) {
|
|
225
269
|
if (this.state.disposed)
|
|
226
|
-
return
|
|
270
|
+
return S();
|
|
227
271
|
this.setState({ enabled: !1 }, { userAction: e }), this.hooks.emit("disable", { userAction: e });
|
|
228
272
|
}
|
|
229
273
|
getFrontCSS3DScene({ createSceneIfNotExists: e = !1 } = {}) {
|
|
230
|
-
var
|
|
231
|
-
const t = (
|
|
274
|
+
var r;
|
|
275
|
+
const t = (r = i.frontModeStore) == null ? void 0 : r.css3DScene;
|
|
232
276
|
if (t)
|
|
233
277
|
return t;
|
|
234
278
|
if (e) {
|
|
235
|
-
const
|
|
236
|
-
|
|
279
|
+
const s = new H();
|
|
280
|
+
i.frontModeStore.css3DScene = s;
|
|
237
281
|
}
|
|
238
|
-
return
|
|
282
|
+
return i.frontModeStore.css3DScene;
|
|
239
283
|
}
|
|
240
284
|
getBehindCSS3DScene({ createSceneIfNotExists: e = !1 } = {}) {
|
|
241
|
-
var
|
|
242
|
-
const t = (
|
|
285
|
+
var r, s;
|
|
286
|
+
const t = (r = i.behindModeStore) == null ? void 0 : r.css3DScene;
|
|
243
287
|
if (t)
|
|
244
288
|
return t;
|
|
245
289
|
if (e) {
|
|
246
|
-
const d = (
|
|
290
|
+
const d = (s = i.behindModeStore.scene) != null ? s : this.scene;
|
|
247
291
|
if (!d) {
|
|
248
|
-
console.error(`${
|
|
292
|
+
console.error(`${l}: scene is required when mode is behind`);
|
|
249
293
|
return;
|
|
250
294
|
}
|
|
251
|
-
const
|
|
252
|
-
|
|
295
|
+
const u = new T(d);
|
|
296
|
+
i.behindModeStore.css3DScene = u, i.behindModeStore.scene = d;
|
|
253
297
|
}
|
|
254
|
-
return
|
|
298
|
+
return i.behindModeStore.css3DScene;
|
|
255
299
|
}
|
|
256
300
|
getFrontCSS3DObjectGroup({ addGroupIfNotExists: e = !0 } = {}) {
|
|
257
301
|
const t = this.getFrontCSS3DScene({ createSceneIfNotExists: e });
|
|
258
302
|
return e && t && (t.getObjectById(this.store.frontModeGroup.id) || t.add(this.store.frontModeGroup)), this.store.frontModeGroup;
|
|
259
303
|
}
|
|
260
304
|
getBehindCSS3DObjectGroup({ addGroupIfNotExists: e = !0 } = {}) {
|
|
261
|
-
var
|
|
305
|
+
var r;
|
|
262
306
|
const t = this.getBehindCSS3DScene({ createSceneIfNotExists: e });
|
|
263
307
|
if (e && t && this.scene) {
|
|
264
|
-
const
|
|
265
|
-
this.store.behindModeGroup =
|
|
308
|
+
const s = (r = this.store.behindModeGroup) != null ? r : new z(this.scene);
|
|
309
|
+
this.store.behindModeGroup = s, t.getObjectById(s.id) || t.add(s);
|
|
266
310
|
}
|
|
267
311
|
return this.store.behindModeGroup;
|
|
268
312
|
}
|
|
269
313
|
render(e) {
|
|
270
|
-
var t,
|
|
314
|
+
var t, r;
|
|
271
315
|
if (this.getFrontCSS3DObjectGroup({ addGroupIfNotExists: !1 }).CSS3DObjectLength > 0) {
|
|
272
|
-
const
|
|
273
|
-
if (!
|
|
274
|
-
return console.error(`${
|
|
275
|
-
|
|
316
|
+
const s = this.getFrontCSS3DScene({ createSceneIfNotExists: !0 });
|
|
317
|
+
if (!s)
|
|
318
|
+
return console.error(`${l}: css3DScene is required when mode is front`);
|
|
319
|
+
i.frontModeStore.css3DRenderer.renderEveryFrame(s, e);
|
|
276
320
|
}
|
|
277
|
-
if (((
|
|
278
|
-
const
|
|
279
|
-
if (!
|
|
280
|
-
return console.error(`${
|
|
281
|
-
|
|
321
|
+
if (((r = (t = this.getBehindCSS3DObjectGroup({ addGroupIfNotExists: !1 })) == null ? void 0 : t.CSS3DObjectLength) != null ? r : 0) > 0) {
|
|
322
|
+
const s = this.getBehindCSS3DScene({ createSceneIfNotExists: !0 });
|
|
323
|
+
if (!s)
|
|
324
|
+
return console.error(`${l}: css3DScene is required when mode is behind`);
|
|
325
|
+
i.behindModeStore.css3DRenderer.renderEveryFrame(s, e);
|
|
282
326
|
}
|
|
283
327
|
}
|
|
284
328
|
handleShow() {
|
|
285
|
-
return
|
|
329
|
+
return f(this, null, function* () {
|
|
286
330
|
var e;
|
|
287
331
|
this.store.frontModeGroup.setVisible(!0), (e = this.store.behindModeGroup) == null || e.setVisible(!0);
|
|
288
332
|
});
|
|
289
333
|
}
|
|
290
334
|
handleHide() {
|
|
291
|
-
return
|
|
335
|
+
return f(this, null, function* () {
|
|
292
336
|
var e;
|
|
293
337
|
this.store.frontModeGroup.setVisible(!1), (e = this.store.behindModeGroup) == null || e.setVisible(!1);
|
|
294
338
|
});
|
|
@@ -298,21 +342,21 @@ class y {
|
|
|
298
342
|
(e = this.getFrontCSS3DScene()) == null || e.add(this.store.frontModeGroup), this.store.behindModeGroup && ((t = this.getBehindCSS3DScene()) == null || t.add(this.store.behindModeGroup));
|
|
299
343
|
}
|
|
300
344
|
handleDisable() {
|
|
301
|
-
var e, t,
|
|
302
|
-
this.store.frontModeGroup.children.forEach((
|
|
303
|
-
|
|
304
|
-
}), (e = this.store.behindModeGroup) == null || e.children.forEach((
|
|
305
|
-
|
|
306
|
-
}), (t = this.getFrontCSS3DScene()) == null || t.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((
|
|
345
|
+
var e, t, r;
|
|
346
|
+
this.store.frontModeGroup.children.forEach((s) => {
|
|
347
|
+
s instanceof j && s.element instanceof Element && s.element.parentNode !== null && s.element.remove();
|
|
348
|
+
}), (e = this.store.behindModeGroup) == null || e.children.forEach((s) => {
|
|
349
|
+
s instanceof j && s.element instanceof Element && s.element.parentNode !== null && s.element.remove();
|
|
350
|
+
}), (t = this.getFrontCSS3DScene()) == null || t.remove(this.store.frontModeGroup), this.store.behindModeGroup && ((r = this.getBehindCSS3DScene()) == null || r.remove(this.store.behindModeGroup));
|
|
307
351
|
}
|
|
308
352
|
handleDispose() {
|
|
309
353
|
this.handleDisable();
|
|
310
354
|
}
|
|
311
355
|
}
|
|
312
|
-
|
|
356
|
+
n(y, "setFrontModeContainer", K), n(y, "setBehindModeContainer", Q);
|
|
313
357
|
export {
|
|
314
358
|
y as CSS3DRender,
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
359
|
+
nt as MinRatio,
|
|
360
|
+
l as PLUGIN,
|
|
361
|
+
i as globalStore
|
|
318
362
|
};
|