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