@realsee/dnalogel 3.59.13 → 3.60.0-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/CHANGELOG.md +0 -4
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +1 -1
- package/dist/index.cjs.js +82 -76
- package/dist/index.js +17049 -12727
- package/dist/index.umd.js +75 -69
- package/dist/shared-utils/CSS3DRender/CSS3DObject.d.ts +1 -1
- package/dist/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +1 -1
- 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 +5 -6
- package/libs/AreaMakerPlugin/index.js +5 -6
- package/libs/AreaMakerPlugin/utils/Item.js +5 -6
- package/libs/CSS3DRenderPlugin/Controller.js +5 -6
- package/libs/CSS3DRenderPlugin/index.js +8 -9
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +13 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +5 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +6 -5
- package/libs/CruisePlugin/BaseController.js +7 -8
- package/libs/CruisePlugin/Move.js +5 -6
- package/libs/CruisePlugin/Work.js +5 -6
- package/libs/CruisePlugin/index.js +9 -10
- package/libs/CurrentPanoImagePlugin/Controller.js +5 -6
- package/libs/CurrentPanoImagePlugin/index.js +6 -7
- package/libs/GuideLinePlugin/Controller.js +7 -8
- package/libs/GuideLinePlugin/GuideLineItem.js +5 -6
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -6
- package/libs/GuideLinePlugin/index.js +9 -10
- package/libs/ModelChassisCompassPlugin/Plugin.js +45 -42
- package/libs/ModelChassisCompassPlugin/index.js +4 -1
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +23 -20
- package/libs/ModelEntryDoorGuidePlugin/index.js +4 -1
- package/libs/ModelMakerPlugin/Controller.js +6 -7
- package/libs/ModelMakerPlugin/index.js +6 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +5 -6
- package/libs/ModelTVVideoPlugin/Plugin.js +6 -7
- package/libs/ModelTVVideoPlugin/index.js +5 -6
- package/libs/Object3DHelperPlugin/Controller.js +18 -19
- package/libs/Object3DHelperPlugin/index.js +8 -9
- package/libs/PanoCompassPlugin/Controller.js +5 -6
- package/libs/PanoCompassPlugin/index.js +6 -7
- package/libs/PanoDoorLabelPlugin/Controller.js +5 -6
- package/libs/PanoDoorLabelPlugin/index.js +6 -7
- package/libs/PanoMeasurePlugin/Components/Controller0.js +6 -7
- package/libs/PanoMeasurePlugin/Components/Controller1.js +6 -7
- package/libs/PanoMeasurePlugin/Controller/EditController.js +6 -7
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +16 -17
- package/libs/PanoMeasurePlugin/Controller/index.js +6 -7
- package/libs/PanoMeasurePlugin/Model/area.js +6 -7
- package/libs/PanoMeasurePlugin/Model/polygon.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +13 -14
- package/libs/PanoMeasurePlugin/index.js +17 -18
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +5 -6
- package/libs/PanoRulerProPlugin/Controller.js +16 -17
- package/libs/PanoRulerProPlugin/RulerItems.js +5 -6
- package/libs/PanoRulerProPlugin/index.js +6 -7
- package/libs/PanoSpatialTagPlugin/Plugin.js +66 -67
- package/libs/PanoSpatialTagPlugin/index.js +3 -4
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +5 -6
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -6
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/index.js +6 -7
- package/libs/PanoTagPlugin/Components/TagContainer.js +5 -6
- package/libs/PanoTagPlugin/Components/TagItem.js +5 -6
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +6 -7
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +32 -33
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +18 -19
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +5 -6
- package/libs/PanoTagPlugin/controller/TagRender.js +5 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +5 -6
- package/libs/PanoTagPlugin/controller/index.js +43 -44
- package/libs/PanoTagPlugin/index.js +14 -15
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +5 -6
- package/libs/PanoVideoPlugin/Controller.js +5 -6
- package/libs/PanoVideoPlugin/VideoMeshController.js +9 -10
- package/libs/PanoVideoPlugin/index.js +8 -9
- package/libs/PipelinePlugin/Controller.js +19 -20
- package/libs/PipelinePlugin/index.js +6 -7
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +5 -6
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +5 -6
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +3 -4
- package/libs/Sculpt/Meshes/Circle.js +3 -3
- package/libs/Sculpt/Meshes/Cylinder.js +3 -3
- package/libs/Sculpt/Meshes/Line.js +3 -3
- package/libs/Sculpt/Meshes/LineWithDots.js +3 -3
- package/libs/Sculpt/Meshes/Point.js +3 -3
- package/libs/Sculpt/Meshes/Polygon.js +3 -3
- package/libs/Sculpt/Meshes/Rectangle.js +3 -3
- package/libs/Sculpt/Objects/Line/Editor.js +3 -3
- package/libs/Sculpt/index.js +3 -3
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -3
- package/libs/base/BasePlugin.js +8 -8
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +18 -19
- package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +14 -15
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -7
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -6
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -7
- package/libs/floorplan/index.js +3 -3
- package/libs/index.js +151 -149
- package/libs/shared-utils/CSS3DRender/CSS3DObject.d.ts +1 -1
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +8 -8
- package/libs/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +1 -1
- package/libs/shared-utils/CSS3DRender/CSS3DRenderer.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +1 -1
- package/libs/shared-utils/five/index.js +3 -3
- package/libs/shared-utils/five/lookObject.js +3 -3
- package/libs/shared-utils/index.js +3 -3
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/CSS3DRenderer/index.js +90 -0
- package/libs/shared-utils/three/FBXLoader/index.js +1493 -0
- package/libs/shared-utils/three/Magnifier.js +5 -5
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +1 -1
- package/libs/shared-utils/three/blink.js +1 -1
- package/libs/shared-utils/three/earcut3D.js +3 -3
- package/libs/shared-utils/three/index.js +3 -3
- package/libs/shared-utils/three/libs/NURBSCurve.js +22 -0
- package/libs/shared-utils/three/libs/NURBSUtils.js +212 -0
- package/libs/shared-utils/three/libs/inflate.js +282 -0
- package/libs/vendor/animejs/lib/anime.es.js +863 -0
- package/libs/vendor/earcut/src/earcut.js +280 -0
- package/libs/vendor/hammerjs/hammer.js +1189 -0
- package/package.json +5 -5
- package/libs/shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js +0 -74
|
@@ -37,14 +37,14 @@ import { waitFiveLoaded as M } from "../shared-utils/five/fiveLoaded.js";
|
|
|
37
37
|
import { vectorToCoordinates as A } from "../shared-utils/vectorToCoordinate.js";
|
|
38
38
|
import G from "./BaseController.js";
|
|
39
39
|
import "../shared-utils/tag.js";
|
|
40
|
-
import "hammerjs";
|
|
40
|
+
import "../vendor/hammerjs/hammer.js";
|
|
41
41
|
import "../shared-utils/three/PointSelector/index.js";
|
|
42
|
-
import "three/
|
|
42
|
+
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
43
43
|
import "@realsee/five/line";
|
|
44
44
|
import { notNil as Q } from "../shared-utils/isNil.js";
|
|
45
45
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
46
46
|
import "../shared-utils/three/core/Sphere.js";
|
|
47
|
-
import "animejs";
|
|
47
|
+
import "../vendor/animejs/lib/anime.es.js";
|
|
48
48
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
49
49
|
import "../shared-utils/five/FivePuppet.js";
|
|
50
50
|
import "../GuideLinePlugin/Controller.js";
|
|
@@ -129,7 +129,6 @@ import "../shared-utils/promise/withResolvers.js";
|
|
|
129
129
|
import "../PanoTagPlugin/controller/Tag/ModelTag.js";
|
|
130
130
|
import "../shared-utils/CSS3DRender/index.js";
|
|
131
131
|
import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
132
|
-
import "../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
133
132
|
import "../shared-utils/createResizeObserver.js";
|
|
134
133
|
import "../shared-utils/even.js";
|
|
135
134
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -245,7 +244,7 @@ import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
|
245
244
|
import "../shared-utils/formatRad.js";
|
|
246
245
|
import "./Work.js";
|
|
247
246
|
import "./utils/coordinatesToVector.js";
|
|
248
|
-
class
|
|
247
|
+
class Rr extends G {
|
|
249
248
|
constructor(t, e) {
|
|
250
249
|
super(t, e);
|
|
251
250
|
k(this, "state", {
|
|
@@ -636,5 +635,5 @@ class Vr extends G {
|
|
|
636
635
|
}
|
|
637
636
|
}
|
|
638
637
|
export {
|
|
639
|
-
|
|
638
|
+
Rr as default
|
|
640
639
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { typing as
|
|
1
|
+
import { typing as ui } from "./typing/index.js";
|
|
2
2
|
import t from "./Work.js";
|
|
3
3
|
import i from "./Move.js";
|
|
4
4
|
import "../GuideLinePlugin/index.js";
|
|
@@ -20,30 +20,29 @@ import "../shared-utils/three/core/Raycaster.js";
|
|
|
20
20
|
import "../shared-utils/dom/resizeObserver.js";
|
|
21
21
|
import "../shared-utils/five/fiveEveryReadyListener.js";
|
|
22
22
|
import "../shared-utils/throttle.js";
|
|
23
|
-
import "hammerjs";
|
|
23
|
+
import "../vendor/hammerjs/hammer.js";
|
|
24
24
|
import "../shared-utils/three/PointSelector/index.js";
|
|
25
25
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
26
26
|
import "../shared-utils/three/Magnifier.js";
|
|
27
27
|
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
28
28
|
import "../shared-utils/three/Assets/index.js";
|
|
29
29
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
30
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
31
30
|
import "../shared-utils/even.js";
|
|
32
31
|
import "../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
33
32
|
import "../shared-utils/three/centerPoint.js";
|
|
34
33
|
import "../shared-utils/three/getObjectVisible.js";
|
|
34
|
+
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
35
35
|
import "@realsee/five/line";
|
|
36
36
|
import "../shared-utils/isNil.js";
|
|
37
37
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
38
38
|
import "../shared-utils/three/core/Sphere.js";
|
|
39
|
-
import "animejs";
|
|
39
|
+
import "../vendor/animejs/lib/anime.es.js";
|
|
40
40
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
41
41
|
import "../shared-utils/five/FivePuppet.js";
|
|
42
42
|
import "@realsee/five";
|
|
43
43
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
44
44
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
45
45
|
import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
46
|
-
import "../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
47
46
|
import "../shared-utils/createResizeObserver.js";
|
|
48
47
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
49
48
|
import "../Sculpt/Meshes/Line.js";
|
|
@@ -217,13 +216,13 @@ import "./utils/sleep.js";
|
|
|
217
216
|
import "../shared-utils/five/fiveLoaded.js";
|
|
218
217
|
import "./BaseController.js";
|
|
219
218
|
import "./utils/getFiveStateOnCurve.js";
|
|
220
|
-
const
|
|
219
|
+
const ei = (o, r) => new t(o, r), li = (o, r) => new i(o, r);
|
|
221
220
|
export {
|
|
222
|
-
|
|
221
|
+
ei as CruisePlugin,
|
|
223
222
|
t as CruisePluginController,
|
|
224
|
-
|
|
223
|
+
ui as CruisePluginTypes,
|
|
225
224
|
i as MoveController,
|
|
226
|
-
|
|
225
|
+
li as MovePlugin,
|
|
227
226
|
t as WalkController,
|
|
228
|
-
|
|
227
|
+
ei as default
|
|
229
228
|
};
|
|
@@ -30,13 +30,13 @@ import * as h from "three";
|
|
|
30
30
|
import { Controller as M } from "../base/BasePlugin.js";
|
|
31
31
|
import { tweenProgress as A } from "../shared-utils/animationFrame/BetterTween.js";
|
|
32
32
|
import "../shared-utils/tag.js";
|
|
33
|
-
import "hammerjs";
|
|
33
|
+
import "../vendor/hammerjs/hammer.js";
|
|
34
34
|
import "../shared-utils/three/PointSelector/index.js";
|
|
35
|
-
import "three/
|
|
35
|
+
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
36
36
|
import "@realsee/five/line";
|
|
37
37
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
38
38
|
import "../shared-utils/three/core/Sphere.js";
|
|
39
|
-
import "animejs";
|
|
39
|
+
import "../vendor/animejs/lib/anime.es.js";
|
|
40
40
|
import { equal as P } from "../shared-utils/equal.js";
|
|
41
41
|
import "../shared-utils/five/FivePuppet.js";
|
|
42
42
|
import { loadTexture as w } from "../shared-utils/three/loadTexture.js";
|
|
@@ -69,7 +69,6 @@ import "../shared-utils/isNil.js";
|
|
|
69
69
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
70
70
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
71
71
|
import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
72
|
-
import "../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
73
72
|
import "../shared-utils/createResizeObserver.js";
|
|
74
73
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
75
74
|
import "../Sculpt/Meshes/Line.js";
|
|
@@ -90,7 +89,7 @@ import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
|
90
89
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
91
90
|
import "@realsee/five";
|
|
92
91
|
import "../shared-utils/isTruelyObject.js";
|
|
93
|
-
class
|
|
92
|
+
class Ve extends M {
|
|
94
93
|
constructor(e, i) {
|
|
95
94
|
super(e);
|
|
96
95
|
// ==================== public properties ====================
|
|
@@ -321,5 +320,5 @@ class He extends M {
|
|
|
321
320
|
}
|
|
322
321
|
}
|
|
323
322
|
export {
|
|
324
|
-
|
|
323
|
+
Ve as CurrentPanoImagePluginController
|
|
325
324
|
};
|
|
@@ -15,30 +15,29 @@ import "../shared-utils/three/core/Raycaster.js";
|
|
|
15
15
|
import "../shared-utils/dom/resizeObserver.js";
|
|
16
16
|
import "../shared-utils/five/fiveEveryReadyListener.js";
|
|
17
17
|
import "../shared-utils/throttle.js";
|
|
18
|
-
import "hammerjs";
|
|
18
|
+
import "../vendor/hammerjs/hammer.js";
|
|
19
19
|
import "../shared-utils/three/PointSelector/index.js";
|
|
20
20
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
21
21
|
import "../shared-utils/three/Magnifier.js";
|
|
22
22
|
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
23
23
|
import "../shared-utils/three/Assets/index.js";
|
|
24
24
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
25
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
26
25
|
import "../shared-utils/even.js";
|
|
27
26
|
import "../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
28
27
|
import "../shared-utils/three/centerPoint.js";
|
|
29
28
|
import "../shared-utils/three/getObjectVisible.js";
|
|
29
|
+
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
30
30
|
import "@realsee/five/line";
|
|
31
31
|
import "../shared-utils/isNil.js";
|
|
32
32
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
33
33
|
import "../shared-utils/three/core/Sphere.js";
|
|
34
|
-
import "animejs";
|
|
34
|
+
import "../vendor/animejs/lib/anime.es.js";
|
|
35
35
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
36
36
|
import "../shared-utils/five/FivePuppet.js";
|
|
37
37
|
import "@realsee/five";
|
|
38
38
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
39
39
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
40
40
|
import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
41
|
-
import "../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
42
41
|
import "../shared-utils/createResizeObserver.js";
|
|
43
42
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
44
43
|
import "../Sculpt/Meshes/Line.js";
|
|
@@ -63,8 +62,8 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
63
62
|
import "../shared-utils/equal.js";
|
|
64
63
|
import "../shared-utils/isTruelyObject.js";
|
|
65
64
|
import "../shared-utils/three/loadTexture.js";
|
|
66
|
-
const
|
|
65
|
+
const Cr = (r, o) => new t(r, o);
|
|
67
66
|
export {
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
Cr as CurrentPanoImagePlugin,
|
|
68
|
+
Cr as default
|
|
70
69
|
};
|
|
@@ -29,13 +29,13 @@ var u = (s, e, t) => new Promise((i, a) => {
|
|
|
29
29
|
import { Controller as N } from "../base/BasePluginWithData.js";
|
|
30
30
|
import "../shared-utils/tag.js";
|
|
31
31
|
import * as S from "three";
|
|
32
|
-
import "hammerjs";
|
|
32
|
+
import "../vendor/hammerjs/hammer.js";
|
|
33
33
|
import "../shared-utils/three/PointSelector/index.js";
|
|
34
|
-
import "three/
|
|
34
|
+
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
35
35
|
import "@realsee/five/line";
|
|
36
36
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
37
37
|
import "../shared-utils/three/core/Sphere.js";
|
|
38
|
-
import "animejs";
|
|
38
|
+
import "../vendor/animejs/lib/anime.es.js";
|
|
39
39
|
import { waitFiveModelLoaded as $ } from "../shared-utils/five/fiveModelLoad.js";
|
|
40
40
|
import { uuid as P } from "../shared-utils/uuid.js";
|
|
41
41
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -72,7 +72,6 @@ import "../shared-utils/isNil.js";
|
|
|
72
72
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
73
73
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
74
74
|
import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
75
|
-
import "../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
76
75
|
import "../shared-utils/createResizeObserver.js";
|
|
77
76
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
78
77
|
import "../Sculpt/Meshes/Line.js";
|
|
@@ -244,8 +243,8 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
|
244
243
|
import "../CruisePlugin/utils/safeCall.js";
|
|
245
244
|
import "../CruisePlugin/utils/sleep.js";
|
|
246
245
|
import "../shared-utils/five/fiveLoaded.js";
|
|
247
|
-
const b = "GuideLinePlugin", g = `${b}`,
|
|
248
|
-
class
|
|
246
|
+
const b = "GuideLinePlugin", g = `${b}`, Co = (s) => `${g}--${s}`;
|
|
247
|
+
class Fo extends N {
|
|
249
248
|
constructor(t, i) {
|
|
250
249
|
super(t, i);
|
|
251
250
|
h(this, "name", b);
|
|
@@ -387,6 +386,6 @@ class Jo extends N {
|
|
|
387
386
|
}
|
|
388
387
|
}
|
|
389
388
|
export {
|
|
390
|
-
|
|
391
|
-
|
|
389
|
+
Fo as default,
|
|
390
|
+
Co as pluginFlag
|
|
392
391
|
};
|
|
@@ -5,7 +5,7 @@ import "../shared-utils/five/changeMode.js";
|
|
|
5
5
|
import "../CruisePlugin/Move.js";
|
|
6
6
|
import "../CruisePlugin/Work.js";
|
|
7
7
|
import "../shared-utils/Subscribe.js";
|
|
8
|
-
import { GuideLineItem as
|
|
8
|
+
import { GuideLineItem as rr } from "./GuideLineItem/index.js";
|
|
9
9
|
import "three";
|
|
10
10
|
import "./utils/createLineGeometry.js";
|
|
11
11
|
import "../vendor/polyline-normals/index.js";
|
|
@@ -30,30 +30,29 @@ import "../shared-utils/dom/resizeObserver.js";
|
|
|
30
30
|
import "../shared-utils/five/fiveEveryReadyListener.js";
|
|
31
31
|
import "../shared-utils/throttle.js";
|
|
32
32
|
import "../shared-utils/five/mode.js";
|
|
33
|
-
import "hammerjs";
|
|
33
|
+
import "../vendor/hammerjs/hammer.js";
|
|
34
34
|
import "../shared-utils/three/PointSelector/index.js";
|
|
35
35
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
36
36
|
import "../shared-utils/three/Magnifier.js";
|
|
37
37
|
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
38
38
|
import "../shared-utils/three/Assets/index.js";
|
|
39
39
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
40
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
41
40
|
import "../shared-utils/even.js";
|
|
42
41
|
import "../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
43
42
|
import "../shared-utils/three/centerPoint.js";
|
|
44
43
|
import "../shared-utils/three/getObjectVisible.js";
|
|
44
|
+
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
45
45
|
import "@realsee/five/line";
|
|
46
46
|
import "../shared-utils/isNil.js";
|
|
47
47
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
48
48
|
import "../shared-utils/three/core/Sphere.js";
|
|
49
|
-
import "animejs";
|
|
49
|
+
import "../vendor/animejs/lib/anime.es.js";
|
|
50
50
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
51
51
|
import "../shared-utils/five/FivePuppet.js";
|
|
52
52
|
import "@realsee/five";
|
|
53
53
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
54
54
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
55
55
|
import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
56
|
-
import "../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
57
56
|
import "../shared-utils/createResizeObserver.js";
|
|
58
57
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
59
58
|
import "../Sculpt/Meshes/Line.js";
|
|
@@ -217,5 +216,5 @@ import "../CruisePlugin/utils/safeCall.js";
|
|
|
217
216
|
import "../CruisePlugin/utils/sleep.js";
|
|
218
217
|
import "../shared-utils/five/fiveLoaded.js";
|
|
219
218
|
export {
|
|
220
|
-
|
|
219
|
+
rr as GuideLineItem
|
|
221
220
|
};
|
|
@@ -16,9 +16,9 @@ import { logError as F } from "../../shared-utils/log.js";
|
|
|
16
16
|
import { createLineGeometry as U } from "../utils/createLineGeometry.js";
|
|
17
17
|
import "../../shared-utils/tag.js";
|
|
18
18
|
import { isPanoramaLike as L, isModelLike as S } from "../../shared-utils/five/mode.js";
|
|
19
|
-
import "hammerjs";
|
|
19
|
+
import "../../vendor/hammerjs/hammer.js";
|
|
20
20
|
import "../../shared-utils/three/PointSelector/index.js";
|
|
21
|
-
import "three/
|
|
21
|
+
import "../../shared-utils/three/CSS3DRenderer/index.js";
|
|
22
22
|
import "@realsee/five/line";
|
|
23
23
|
import { notNil as V } from "../../shared-utils/isNil.js";
|
|
24
24
|
import "../../shared-utils/three/core/Five_LineMaterial2.js";
|
|
@@ -3,9 +3,9 @@ import "../shared-utils/log.js";
|
|
|
3
3
|
import "./utils/createLineGeometry.js";
|
|
4
4
|
import "../shared-utils/tag.js";
|
|
5
5
|
import "../shared-utils/five/mode.js";
|
|
6
|
-
import "hammerjs";
|
|
6
|
+
import "../vendor/hammerjs/hammer.js";
|
|
7
7
|
import "../shared-utils/three/PointSelector/index.js";
|
|
8
|
-
import "three/
|
|
8
|
+
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
9
9
|
import "@realsee/five/line";
|
|
10
10
|
import "../shared-utils/isNil.js";
|
|
11
11
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
@@ -18,7 +18,7 @@ import "../PanoTagPlugin/controller/index.js";
|
|
|
18
18
|
import "./Components/Tag.js";
|
|
19
19
|
import "./utils/index.js";
|
|
20
20
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
21
|
-
import { GuideLineModeItem as
|
|
21
|
+
import { GuideLineModeItem as Nm } from "./GuideLineModeItem/index.js";
|
|
22
22
|
import "../vendor/polyline-normals/index.js";
|
|
23
23
|
import "../vendor/polyline-miter-util/index.js";
|
|
24
24
|
import "../vendor/gl-vec2/add.js";
|
|
@@ -49,12 +49,11 @@ import "../shared-utils/even.js";
|
|
|
49
49
|
import "../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
50
50
|
import "../shared-utils/three/centerPoint.js";
|
|
51
51
|
import "../shared-utils/three/getObjectVisible.js";
|
|
52
|
-
import "animejs";
|
|
52
|
+
import "../vendor/animejs/lib/anime.es.js";
|
|
53
53
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
54
54
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
55
55
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
56
56
|
import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
57
|
-
import "../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
58
57
|
import "../shared-utils/createResizeObserver.js";
|
|
59
58
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
60
59
|
import "../Sculpt/Meshes/Line.js";
|
|
@@ -199,5 +198,5 @@ import "../PanoTagPlugin/Components/TagContainer.js";
|
|
|
199
198
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
200
199
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
201
200
|
export {
|
|
202
|
-
|
|
201
|
+
Nm as GuideLineModeItem
|
|
203
202
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as nr } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as ur } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -18,30 +18,29 @@ import "../shared-utils/three/core/Raycaster.js";
|
|
|
18
18
|
import "../shared-utils/dom/resizeObserver.js";
|
|
19
19
|
import "../shared-utils/five/fiveEveryReadyListener.js";
|
|
20
20
|
import "../shared-utils/throttle.js";
|
|
21
|
-
import "hammerjs";
|
|
21
|
+
import "../vendor/hammerjs/hammer.js";
|
|
22
22
|
import "../shared-utils/three/PointSelector/index.js";
|
|
23
23
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
24
24
|
import "../shared-utils/three/Magnifier.js";
|
|
25
25
|
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
26
26
|
import "../shared-utils/three/Assets/index.js";
|
|
27
27
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
28
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
29
28
|
import "../shared-utils/even.js";
|
|
30
29
|
import "../shared-utils/CSS3DRender/OpacityMesh.js";
|
|
31
30
|
import "../shared-utils/three/centerPoint.js";
|
|
32
31
|
import "../shared-utils/three/getObjectVisible.js";
|
|
32
|
+
import "../shared-utils/three/CSS3DRenderer/index.js";
|
|
33
33
|
import "@realsee/five/line";
|
|
34
34
|
import "../shared-utils/isNil.js";
|
|
35
35
|
import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
36
36
|
import "../shared-utils/three/core/Sphere.js";
|
|
37
|
-
import "animejs";
|
|
37
|
+
import "../vendor/animejs/lib/anime.es.js";
|
|
38
38
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
39
39
|
import "../shared-utils/five/FivePuppet.js";
|
|
40
40
|
import "@realsee/five";
|
|
41
41
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
42
42
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
43
43
|
import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
|
|
44
|
-
import "../shared-utils/CSS3DRender/THREEJS_CSS3DRenderer/index.js";
|
|
45
44
|
import "../shared-utils/createResizeObserver.js";
|
|
46
45
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
47
46
|
import "../Sculpt/Meshes/Line.js";
|
|
@@ -216,10 +215,10 @@ import "../shared-utils/five/changeMode.js";
|
|
|
216
215
|
import "../shared-utils/nearlyEqual.js";
|
|
217
216
|
import "../CruisePlugin/Move.js";
|
|
218
217
|
import "../CruisePlugin/utils/getFiveStateOnCurve.js";
|
|
219
|
-
const r = (i, o) => new t(i, o),
|
|
218
|
+
const r = (i, o) => new t(i, o), mr = r;
|
|
220
219
|
export {
|
|
221
|
-
|
|
222
|
-
|
|
220
|
+
nr as GuideLineItem,
|
|
221
|
+
ur as GuideLineModeItem,
|
|
223
222
|
r as GuideLinePlugin,
|
|
224
|
-
|
|
223
|
+
mr as default
|
|
225
224
|
};
|
|
@@ -1,73 +1,76 @@
|
|
|
1
|
-
var h = (n,
|
|
2
|
-
var
|
|
1
|
+
var h = (n, a, s) => new Promise((d, e) => {
|
|
2
|
+
var m = (r) => {
|
|
3
3
|
try {
|
|
4
4
|
c(s.next(r));
|
|
5
|
-
} catch (
|
|
6
|
-
|
|
5
|
+
} catch (i) {
|
|
6
|
+
e(i);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, b = (r) => {
|
|
9
9
|
try {
|
|
10
10
|
c(s.throw(r));
|
|
11
|
-
} catch (
|
|
12
|
-
|
|
11
|
+
} catch (i) {
|
|
12
|
+
e(i);
|
|
13
13
|
}
|
|
14
|
-
}, c = (r) => r.done ? d(r.value) : Promise.resolve(r.value).then(
|
|
15
|
-
c((s = s.apply(n,
|
|
14
|
+
}, c = (r) => r.done ? d(r.value) : Promise.resolve(r.value).then(m, b);
|
|
15
|
+
c((s = s.apply(n, a)).next());
|
|
16
16
|
});
|
|
17
17
|
import * as z from "three";
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
|
|
18
|
+
import { bject3d2LocalMatrix as U } from "../shared-utils/object3d2LocalMatrix.js";
|
|
19
|
+
import { transfromToMeshBasicMaterial as O } from "../shared-utils/three/transformToMeshBasicMaterial.js";
|
|
20
|
+
import { FBXLoader as _ } from "../shared-utils/three/FBXLoader/index.js";
|
|
21
|
+
import "../shared-utils/three/libs/inflate.js";
|
|
22
|
+
import "../shared-utils/three/libs/NURBSCurve.js";
|
|
23
|
+
import "../shared-utils/three/libs/NURBSUtils.js";
|
|
24
|
+
const X = (n, a) => {
|
|
22
25
|
var j;
|
|
23
|
-
const s =
|
|
24
|
-
let
|
|
26
|
+
const s = a.fbx_url || "//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX", d = (j = a.north_rad) != null ? j : void 0, e = {};
|
|
27
|
+
let m = { x: 0, y: 0, z: 0 }, b = [0, 0, 0], c = 1, r = d;
|
|
25
28
|
n.on("modelLoaded", y);
|
|
26
|
-
const
|
|
29
|
+
const i = (t) => h(void 0, null, function* () {
|
|
27
30
|
var u;
|
|
28
|
-
const o = (
|
|
29
|
-
if (r = (u =
|
|
31
|
+
const o = (t == null ? void 0 : t.fbx_url) || s;
|
|
32
|
+
if (r = (u = t == null ? void 0 : t.north_rad) != null ? u : d, typeof r != "number")
|
|
30
33
|
throw new Error('"northRad"配置参数缺失:未配置指南针指向!');
|
|
31
|
-
const
|
|
32
|
-
return
|
|
34
|
+
const f = yield new _().loadAsync(o);
|
|
35
|
+
return O(f, {
|
|
33
36
|
transparent: !0,
|
|
34
37
|
side: z.DoubleSide,
|
|
35
38
|
blending: z.AdditiveBlending
|
|
36
|
-
}),
|
|
37
|
-
}), x = ({ latitude:
|
|
38
|
-
if (!
|
|
39
|
+
}), e.object = f, y(), !0;
|
|
40
|
+
}), x = ({ latitude: t }) => {
|
|
41
|
+
if (!e.object)
|
|
39
42
|
return;
|
|
40
|
-
const o = p(
|
|
41
|
-
o && (
|
|
42
|
-
}, p = (
|
|
43
|
-
if (
|
|
43
|
+
const o = p(t);
|
|
44
|
+
o && (e.object.position.y = o);
|
|
45
|
+
}, p = (t) => {
|
|
46
|
+
if (e.yBase === void 0)
|
|
44
47
|
return;
|
|
45
48
|
const o = 0.6;
|
|
46
|
-
if (
|
|
47
|
-
return
|
|
48
|
-
const
|
|
49
|
-
return
|
|
49
|
+
if (t >= Math.PI / 4)
|
|
50
|
+
return e.yBase - (o + 1.6);
|
|
51
|
+
const l = t * (4 / Math.PI);
|
|
52
|
+
return e.yBase - (o * l + 1.6);
|
|
50
53
|
}, g = () => {
|
|
51
|
-
if (!
|
|
54
|
+
if (!e.object)
|
|
52
55
|
return;
|
|
53
|
-
const
|
|
54
|
-
|
|
56
|
+
const t = p(n.getPose().latitude);
|
|
57
|
+
t && (e.object.position.y = t), n.scene.add(e.object), n.needsRender = !0, n.on("cameraDirectionUpdate", x);
|
|
55
58
|
}, B = () => {
|
|
56
|
-
|
|
59
|
+
e.object && (n.scene.remove(e.object), n.needsRender = !0, n.off("cameraDirectionUpdate", x));
|
|
57
60
|
};
|
|
58
61
|
function y() {
|
|
59
|
-
const
|
|
60
|
-
if (!
|
|
62
|
+
const t = e.object;
|
|
63
|
+
if (!t)
|
|
61
64
|
return;
|
|
62
|
-
const o = n.model.bounding,
|
|
65
|
+
const o = n.model.bounding, l = o.max.x - o.min.x, f = o.max.z - o.min.z, u = Math.max(l, f), {
|
|
63
66
|
max: { x: P, z: R },
|
|
64
67
|
min: { x: w, y: M, z: L }
|
|
65
68
|
} = o;
|
|
66
|
-
|
|
69
|
+
e.yBase = M, m = { x: (P + w) / 2, y: M - 1.6, z: (R + L) / 2 }, b = [0, r - Math.PI / 2, 0], c = 45e-4 * u, U(t, { position: m, rotation: b, scale: c });
|
|
67
70
|
}
|
|
68
|
-
return { load:
|
|
71
|
+
return { load: i, disable: B, enable: g };
|
|
69
72
|
};
|
|
70
73
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
X as ModelChassisCompassPlugin,
|
|
75
|
+
X as default
|
|
73
76
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { ModelChassisCompassPlugin as i } from "./Plugin.js";
|
|
2
2
|
import "three";
|
|
3
|
-
import "three/examples/jsm/loaders/FBXLoader";
|
|
4
3
|
import "../shared-utils/object3d2LocalMatrix.js";
|
|
5
4
|
import "../shared-utils/three/transformToMeshBasicMaterial.js";
|
|
5
|
+
import "../shared-utils/three/FBXLoader/index.js";
|
|
6
|
+
import "../shared-utils/three/libs/inflate.js";
|
|
7
|
+
import "../shared-utils/three/libs/NURBSCurve.js";
|
|
8
|
+
import "../shared-utils/three/libs/NURBSUtils.js";
|
|
6
9
|
export {
|
|
7
10
|
i as ModelChassisCompassPlugin,
|
|
8
11
|
i as default
|
|
@@ -16,27 +16,30 @@ var C = (t, s, e) => new Promise((P, E) => {
|
|
|
16
16
|
});
|
|
17
17
|
import * as S from "three";
|
|
18
18
|
import { MeshBasicMaterial as z, AnimationMixer as B } from "three";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
|
|
19
|
+
import { createCanvasTextTexture as _ } from "../shared-utils/createCanvasTextTexture.js";
|
|
20
|
+
import { transformPositionToVector3 as v } from "../shared-utils/three/transformPositionToVector3.js";
|
|
21
|
+
import { transfromToMeshBasicMaterial as H } from "../shared-utils/three/transformToMeshBasicMaterial.js";
|
|
22
|
+
import { FBXLoader as L } from "../shared-utils/three/FBXLoader/index.js";
|
|
23
|
+
import "../shared-utils/three/libs/inflate.js";
|
|
24
|
+
import "../shared-utils/three/libs/NURBSCurve.js";
|
|
25
|
+
import "../shared-utils/three/libs/NURBSUtils.js";
|
|
26
|
+
const W = (t, s) => {
|
|
24
27
|
var G, T, R;
|
|
25
28
|
const e = {}, P = (G = s.animationEnabled) != null ? G : !0, E = (T = s.position) != null ? T : void 0, h = (R = s.rad) != null ? R : void 0, x = s.fbx_url || "//vrlab-image4.ljcdn.com/release/web/entryDoorMini/Anim_Door1.fbx", l = [], r = (o) => C(void 0, null, function* () {
|
|
26
|
-
var m, b, M,
|
|
29
|
+
var m, b, M, p, f, j, y, q;
|
|
27
30
|
const c = (m = o == null ? void 0 : o.position) != null ? m : E;
|
|
28
31
|
if (!c)
|
|
29
32
|
return Promise.reject(new Error("ModelEntryDoorGuidePlugin.load(): position is undefined"));
|
|
30
|
-
const i =
|
|
33
|
+
const i = v(c), n = (b = o == null ? void 0 : o.rad) != null ? b : h, A = (M = o == null ? void 0 : o.fbx_url) != null ? M : x;
|
|
31
34
|
if (e.rad = n, n === void 0)
|
|
32
35
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): rad is ${n}`));
|
|
33
|
-
const a = yield new
|
|
34
|
-
a.position.copy(i), a.rotation.z = n, a.scale.set(0.8, 0.8, 0.8),
|
|
35
|
-
const d = (y = (j = (
|
|
36
|
+
const a = yield new L().loadAsync(A);
|
|
37
|
+
a.position.copy(i), a.rotation.z = n, a.scale.set(0.8, 0.8, 0.8), H(a, { transparent: !0, side: S.DoubleSide });
|
|
38
|
+
const d = (y = (j = (f = (p = a.children) == null ? void 0 : p[0]) == null ? void 0 : f.children) == null ? void 0 : j[3]) == null ? void 0 : y.clone();
|
|
36
39
|
if (!d)
|
|
37
40
|
return Promise.reject(new Error(`ModelEntryDoorGuidePlugin.load(): textMesh is ${d}`));
|
|
38
41
|
const w = (q = s.name) != null ? q : "入户门";
|
|
39
|
-
return d.material = new z({ transparent: !0, map:
|
|
42
|
+
return d.material = new z({ transparent: !0, map: _(w) }), d.renderOrder = 3, a.children[0].add(d), e.object = a, !0;
|
|
40
43
|
}), u = () => {
|
|
41
44
|
if (e.animation)
|
|
42
45
|
return;
|
|
@@ -49,12 +52,12 @@ const K = (t, s) => {
|
|
|
49
52
|
let n;
|
|
50
53
|
const A = () => {
|
|
51
54
|
let m = 0, b = 0;
|
|
52
|
-
const M = 1e3 / 30,
|
|
53
|
-
m = requestAnimationFrame(
|
|
54
|
-
const j =
|
|
55
|
-
j < M || (b =
|
|
55
|
+
const M = 1e3 / 30, p = (f) => {
|
|
56
|
+
m = requestAnimationFrame(p);
|
|
57
|
+
const j = f - b;
|
|
58
|
+
j < M || (b = f, l.forEach((y) => y.update(j / 1e3)), t.needsRender = !0);
|
|
56
59
|
};
|
|
57
|
-
return m = requestAnimationFrame(
|
|
60
|
+
return m = requestAnimationFrame(p), () => {
|
|
58
61
|
cancelAnimationFrame(m);
|
|
59
62
|
};
|
|
60
63
|
}, w = { play: () => {
|
|
@@ -74,12 +77,12 @@ const K = (t, s) => {
|
|
|
74
77
|
e.object && (e.animation && e.animation.stop(), t.scene.remove(e.object), t.needsRender = !0);
|
|
75
78
|
}, D = (o) => o === "Floorplan" ? g() : F();
|
|
76
79
|
return { load: r, enable: (o) => (e.enabled || (e.enabled = !0, D(t.currentMode), t.on("modeChange", D), g(o)), !0), disable: () => (e.enabled && (e.enabled = !1, F(), t.off("modeChange", D)), !0) };
|
|
77
|
-
},
|
|
80
|
+
}, Y = {
|
|
78
81
|
name: "ModelEntryDoorGuidePlugin",
|
|
79
82
|
version: 0
|
|
80
83
|
};
|
|
81
84
|
export {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
+
W as ModelEntryDoorGuidePlugin,
|
|
86
|
+
W as default,
|
|
87
|
+
Y as modelEntryDoorGuidePluginServerParams
|
|
85
88
|
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { ModelEntryDoorGuidePlugin as r } from "./Plugin.js";
|
|
2
2
|
import "three";
|
|
3
|
-
import "three/examples/jsm/loaders/FBXLoader";
|
|
4
3
|
import "../shared-utils/createCanvasTextTexture.js";
|
|
5
4
|
import "../shared-utils/three/transformPositionToVector3.js";
|
|
6
5
|
import "../shared-utils/three/transformToMeshBasicMaterial.js";
|
|
6
|
+
import "../shared-utils/three/FBXLoader/index.js";
|
|
7
|
+
import "../shared-utils/three/libs/inflate.js";
|
|
8
|
+
import "../shared-utils/three/libs/NURBSCurve.js";
|
|
9
|
+
import "../shared-utils/three/libs/NURBSUtils.js";
|
|
7
10
|
export {
|
|
8
11
|
r as ModelEntryDoorGuidePlugin,
|
|
9
12
|
r as default
|