@babylonjs/inspector 8.56.2 → 9.1.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.
Files changed (278) hide show
  1. package/lib/components/curveEditor/bottomBar/rangeSelector.d.ts +6 -0
  2. package/lib/components/curveEditor/bottomBar.d.ts +6 -0
  3. package/lib/components/curveEditor/canvas/canvas.d.ts +6 -0
  4. package/lib/components/curveEditor/canvas/curve.d.ts +14 -0
  5. package/lib/components/curveEditor/canvas/curveData.d.ts +40 -0
  6. package/lib/components/curveEditor/canvas/frameBar.d.ts +12 -0
  7. package/lib/components/curveEditor/canvas/graph.d.ts +11 -0
  8. package/lib/components/curveEditor/canvas/keyPoint.d.ts +34 -0
  9. package/lib/components/curveEditor/canvas/playHead.d.ts +12 -0
  10. package/lib/components/curveEditor/canvas/rangeFrameBar.d.ts +10 -0
  11. package/lib/components/curveEditor/curveEditor.d.ts +29 -0
  12. package/lib/components/curveEditor/curveEditorButton.d.ts +31 -0
  13. package/lib/components/curveEditor/curveEditorColors.d.ts +56 -0
  14. package/lib/components/curveEditor/curveEditorContext.d.ts +267 -0
  15. package/lib/components/curveEditor/rangeSelector.d.ts +6 -0
  16. package/lib/components/curveEditor/sideBar/addAnimationPanel.d.ts +10 -0
  17. package/lib/components/curveEditor/sideBar/animationList.d.ts +6 -0
  18. package/lib/components/curveEditor/sideBar/editAnimationPanel.d.ts +12 -0
  19. package/lib/components/curveEditor/sideBar/loadAnimationPanel.d.ts +10 -0
  20. package/lib/components/curveEditor/sideBar/saveAnimationPanel.d.ts +10 -0
  21. package/lib/components/curveEditor/sideBar.d.ts +6 -0
  22. package/lib/components/curveEditor/topBar.d.ts +6 -0
  23. package/lib/components/debug/debugPane.d.ts +6 -0
  24. package/lib/components/errorBoundary.d.ts +31 -0
  25. package/lib/components/extensibleAccordion.d.ts +67 -0
  26. package/lib/components/gizmoToolbar.d.ts +7 -0
  27. package/lib/components/pane.d.ts +4 -0
  28. package/lib/components/performanceViewer/canvasGraph.d.ts +16 -0
  29. package/lib/components/performanceViewer/canvasGraphService.d.ts +238 -0
  30. package/lib/components/performanceViewer/graphSupportingTypes.d.ts +90 -0
  31. package/lib/components/performanceViewer/performanceSidebar.d.ts +10 -0
  32. package/lib/components/performanceViewer/performanceViewer.d.ts +15 -0
  33. package/lib/components/pickingToolbar.d.ts +11 -0
  34. package/lib/components/properties/animation/animationGroupProperties.d.ts +8 -0
  35. package/lib/components/properties/animation/animationsProperties.d.ts +21 -0
  36. package/lib/components/properties/animation/targetedAnimationProperties.d.ts +7 -0
  37. package/lib/components/properties/atmosphereProperties.d.ts +20 -0
  38. package/lib/components/properties/audio/soundProperties.d.ts +8 -0
  39. package/lib/components/properties/boundProperty.d.ts +80 -0
  40. package/lib/components/properties/cameras/arcRotateCameraProperties.d.ts +17 -0
  41. package/lib/components/properties/cameras/cameraProperties.d.ts +10 -0
  42. package/lib/components/properties/cameras/followCameraProperties.d.ts +8 -0
  43. package/lib/components/properties/cameras/freeCameraProperties.d.ts +11 -0
  44. package/lib/components/properties/cameras/geospatialCameraProperties.d.ts +11 -0
  45. package/lib/components/properties/cameras/targetCameraProperties.d.ts +8 -0
  46. package/lib/components/properties/commonGeneralProperties.d.ts +16 -0
  47. package/lib/components/properties/frameGraph/frameGraphProperties.d.ts +8 -0
  48. package/lib/components/properties/generateCopyString.d.ts +7 -0
  49. package/lib/components/properties/lights/areaLightProperties.d.ts +5 -0
  50. package/lib/components/properties/lights/clusteredLightContainerProperties.d.ts +10 -0
  51. package/lib/components/properties/lights/directionalLightProperties.d.ts +8 -0
  52. package/lib/components/properties/lights/hemisphericLightProperties.d.ts +5 -0
  53. package/lib/components/properties/lights/lightProperties.d.ts +7 -0
  54. package/lib/components/properties/lights/pointLightProperties.d.ts +5 -0
  55. package/lib/components/properties/lights/shadowGeneratorProperties.d.ts +6 -0
  56. package/lib/components/properties/lights/shadowLightProperties.d.ts +5 -0
  57. package/lib/components/properties/lights/spotLightProperties.d.ts +5 -0
  58. package/lib/components/properties/linkToEntityPropertyLine.d.ts +27 -0
  59. package/lib/components/properties/materials/materialProperties.d.ts +11 -0
  60. package/lib/components/properties/materials/multiMaterialProperties.d.ts +7 -0
  61. package/lib/components/properties/materials/nodeMaterialProperties.d.ts +8 -0
  62. package/lib/components/properties/materials/normalMapProperties.d.ts +19 -0
  63. package/lib/components/properties/materials/openpbrMaterialProperties.d.ts +61 -0
  64. package/lib/components/properties/materials/pbrBaseMaterialProperties.d.ts +285 -0
  65. package/lib/components/properties/materials/skyMaterialProperties.d.ts +5 -0
  66. package/lib/components/properties/materials/standardMaterialProperties.d.ts +29 -0
  67. package/lib/components/properties/metadataProperties.d.ts +12 -0
  68. package/lib/components/properties/nodes/abstractMeshProperties.d.ts +27 -0
  69. package/lib/components/properties/nodes/gaussianSplattingProperties.d.ts +5 -0
  70. package/lib/components/properties/nodes/meshProperties.d.ts +11 -0
  71. package/lib/components/properties/nodes/nodeProperties.d.ts +7 -0
  72. package/lib/components/properties/particles/attractor.d.ts +23 -0
  73. package/lib/components/properties/particles/attractorAdapter.d.ts +56 -0
  74. package/lib/components/properties/particles/attractorList.d.ts +15 -0
  75. package/lib/components/properties/particles/attractorProperties.d.ts +11 -0
  76. package/lib/components/properties/particles/colorProperties.d.ts +11 -0
  77. package/lib/components/properties/particles/commandsProperties.d.ts +13 -0
  78. package/lib/components/properties/particles/emissionProperties.d.ts +11 -0
  79. package/lib/components/properties/particles/emitterProperties.d.ts +13 -0
  80. package/lib/components/properties/particles/lifetimeProperties.d.ts +11 -0
  81. package/lib/components/properties/particles/nodeEditorProperties.d.ts +12 -0
  82. package/lib/components/properties/particles/rotationProperties.d.ts +11 -0
  83. package/lib/components/properties/particles/sizeProperties.d.ts +11 -0
  84. package/lib/components/properties/particles/spritesheetProperties.d.ts +11 -0
  85. package/lib/components/properties/particles/systemProperties.d.ts +13 -0
  86. package/lib/components/properties/physics/physicsProperties.d.ts +6 -0
  87. package/lib/components/properties/postProcesses/postProcessProperties.d.ts +10 -0
  88. package/lib/components/properties/propertiesPane.d.ts +2 -0
  89. package/lib/components/properties/renderingPipelines/defaultRenderingPipelineProperties.d.ts +23 -0
  90. package/lib/components/properties/renderingPipelines/iblShadowsRenderPipelineProperties.d.ts +11 -0
  91. package/lib/components/properties/renderingPipelines/lensRenderingPipelineProperties.d.ts +8 -0
  92. package/lib/components/properties/renderingPipelines/postProcessRenderPipelineProperties.d.ts +5 -0
  93. package/lib/components/properties/renderingPipelines/ssao2RenderingPipelineProperties.d.ts +8 -0
  94. package/lib/components/properties/renderingPipelines/ssaoRenderingPipelineProperties.d.ts +5 -0
  95. package/lib/components/properties/renderingPipelines/ssrRenderingPipelineProperties.d.ts +17 -0
  96. package/lib/components/properties/skeleton/boneProperties.d.ts +7 -0
  97. package/lib/components/properties/skeleton/skeletonProperties.d.ts +8 -0
  98. package/lib/components/properties/sprites/spriteManagerProperties.d.ts +25 -0
  99. package/lib/components/properties/sprites/spriteProperties.d.ts +19 -0
  100. package/lib/components/properties/textures/advancedDynamicTextureProperties.d.ts +11 -0
  101. package/lib/components/properties/textures/baseTextureProperties.d.ts +16 -0
  102. package/lib/components/properties/textures/cubeTextureProperties.d.ts +5 -0
  103. package/lib/components/properties/textures/multiRenderTargetProperties.d.ts +5 -0
  104. package/lib/components/properties/textures/renderTargetTextureProperties.d.ts +5 -0
  105. package/lib/components/properties/textures/textureFormatUtils.d.ts +48 -0
  106. package/lib/components/properties/textures/texturePreview.d.ts +17 -0
  107. package/lib/components/properties/textures/textureProperties.d.ts +11 -0
  108. package/lib/components/properties/textures/thinTextureProperties.d.ts +8 -0
  109. package/lib/components/properties/transformProperties.d.ts +11 -0
  110. package/lib/components/scene/sceneExplorer.d.ts +182 -0
  111. package/lib/components/scene/sceneExplorerDragDrop.d.ts +38 -0
  112. package/lib/components/scene/sceneProperties.d.ts +19 -0
  113. package/lib/components/stats/countStats.d.ts +5 -0
  114. package/lib/components/stats/frameStepStats.d.ts +8 -0
  115. package/lib/components/stats/performanceStats.d.ts +6 -0
  116. package/lib/components/stats/statsPane.d.ts +3 -0
  117. package/lib/components/stats/systemStats.d.ts +5 -0
  118. package/lib/components/teachingMoment.d.ts +20 -0
  119. package/lib/components/textureEditor/canvasManager.d.ts +113 -0
  120. package/lib/components/textureEditor/canvasShader.d.ts +10 -0
  121. package/lib/components/textureEditor/channels.d.ts +25 -0
  122. package/lib/components/textureEditor/properties.d.ts +23 -0
  123. package/lib/components/textureEditor/status.d.ts +13 -0
  124. package/lib/components/textureEditor/textureEditor.d.ts +113 -0
  125. package/lib/components/textureEditor/tools.d.ts +20 -0
  126. package/lib/components/theme.d.ts +10 -0
  127. package/lib/components/tools/capture/equirectangularCaptureTool.d.ts +5 -0
  128. package/lib/components/tools/capture/gifCaptureTool.d.ts +7 -0
  129. package/lib/components/tools/capture/sceneReplayTool.d.ts +5 -0
  130. package/lib/components/tools/capture/screenshotTool.d.ts +5 -0
  131. package/lib/components/tools/capture/videoCaptureTool.d.ts +5 -0
  132. package/lib/components/tools/exportTools.d.ts +11 -0
  133. package/lib/components/tools/import/gltfAnimationImportTool.d.ts +5 -0
  134. package/lib/components/tools/import/gltfLoaderOptionsTool.d.ts +8 -0
  135. package/lib/components/tools/import/gltfValidationTool.d.ts +5 -0
  136. package/lib/components/tools/reflectorTools.d.ts +5 -0
  137. package/lib/components/tools/toolsPane.d.ts +3 -0
  138. package/lib/components/uxContextProvider.d.ts +2 -0
  139. package/lib/contexts/extensionManagerContext.d.ts +6 -0
  140. package/lib/contexts/propertyContext.d.ts +30 -0
  141. package/lib/contexts/settingsContext.d.ts +3 -0
  142. package/lib/contexts/watcherContext.d.ts +3 -0
  143. package/lib/extensibility/builtInsExtensionFeed.d.ts +21 -0
  144. package/lib/extensibility/defaultInspectorExtensionFeed.d.ts +5 -0
  145. package/lib/extensibility/extensionFeed.d.ts +113 -0
  146. package/lib/extensibility/extensionManager.d.ts +111 -0
  147. package/lib/extensions/quickCreate/cameras.d.ts +14 -0
  148. package/lib/extensions/quickCreate/frameGraphs.d.ts +14 -0
  149. package/lib/extensions/quickCreate/lights.d.ts +14 -0
  150. package/lib/extensions/quickCreate/materials.d.ts +14 -0
  151. package/lib/extensions/quickCreate/meshes.d.ts +10 -0
  152. package/lib/extensions/quickCreate/particles.d.ts +15 -0
  153. package/lib/extensions/quickCreate/quickCreateLayout.d.ts +44 -0
  154. package/lib/extensions/quickCreate/quickCreateToolsService.d.ts +11 -0
  155. package/lib/extensions/quickCreate/renderingPipelines.d.ts +14 -0
  156. package/lib/extensions/quickCreate/settingsPopover.d.ts +14 -0
  157. package/lib/extensions/quickCreate/spriteManagers.d.ts +14 -0
  158. package/lib/{extensionsListService-zYdKn8uM.js → extensionsListService-BmiNjZiw.js} +7 -7
  159. package/lib/extensionsListService-BmiNjZiw.js.map +1 -0
  160. package/lib/hooks/compoundPropertyHooks.d.ts +24 -0
  161. package/lib/hooks/instrumentationHooks.d.ts +9 -0
  162. package/lib/hooks/observableHooks.d.ts +35 -0
  163. package/lib/hooks/pollingHooks.d.ts +7 -0
  164. package/lib/hooks/resourceHooks.d.ts +20 -0
  165. package/lib/hooks/settingsHooks.d.ts +13 -0
  166. package/lib/hooks/teachingMomentHooks.d.ts +34 -0
  167. package/lib/hooks/themeHooks.d.ts +17 -0
  168. package/lib/hooks/useObservableArray.d.ts +11 -0
  169. package/lib/hooks/useResizeHandle.d.ts +35 -0
  170. package/lib/{index-DuVF9zYN.js → index-BCbXjPTn.js} +791 -758
  171. package/lib/index-BCbXjPTn.js.map +1 -0
  172. package/lib/index.d.ts +108 -74767
  173. package/lib/index.js +5 -5
  174. package/lib/inspector.d.ts +41 -0
  175. package/lib/instrumentation/functionInstrumentation.d.ts +20 -0
  176. package/lib/instrumentation/propertyInstrumentation.d.ts +33 -0
  177. package/lib/legacy/debugLayer.d.ts +24 -0
  178. package/lib/legacy/inspectableCustomPropertiesService.d.ts +3 -0
  179. package/lib/legacy/inspector.d.ts +39 -0
  180. package/lib/legacy/legacy.d.ts +9 -0
  181. package/lib/legacy/propertiesSectionMapping.d.ts +99 -0
  182. package/lib/misc/arrayUtils.d.ts +4 -0
  183. package/lib/misc/assert.d.ts +5 -0
  184. package/lib/misc/graphUtils.d.ts +44 -0
  185. package/lib/misc/nodeGeometryEditor.d.ts +3 -0
  186. package/lib/misc/nodeMaterialEditor.d.ts +2 -0
  187. package/lib/misc/nodeParticleEditor.d.ts +2 -0
  188. package/lib/misc/nodeRenderGraphEditor.d.ts +2 -0
  189. package/lib/misc/observableCollection.d.ts +23 -0
  190. package/lib/misc/snippetUtils.d.ts +74 -0
  191. package/lib/misc/textureTools.d.ts +34 -0
  192. package/lib/modularTool.d.ts +37 -0
  193. package/lib/modularity/serviceContainer.d.ts +41 -0
  194. package/lib/modularity/serviceDefinition.d.ts +64 -0
  195. package/lib/{quickCreateToolsService-BtsSLeMY.js → quickCreateToolsService-BoqrJqoM.js} +6 -6
  196. package/lib/quickCreateToolsService-BoqrJqoM.js.map +1 -0
  197. package/lib/{reflectorService-Bzs-Ykos.js → reflectorService-CFTva2GG.js} +6 -6
  198. package/lib/reflectorService-CFTva2GG.js.map +1 -0
  199. package/lib/services/defaultToolbarMetadata.d.ts +5 -0
  200. package/lib/services/extensionsListService.d.ts +3 -0
  201. package/lib/services/gizmoService.d.ts +84 -0
  202. package/lib/services/gizmoToolbarService.d.ts +5 -0
  203. package/lib/services/globalSettings.d.ts +5 -0
  204. package/lib/services/highlightService.d.ts +8 -0
  205. package/lib/services/miniStatsService.d.ts +4 -0
  206. package/lib/services/panes/debugService.d.ts +25 -0
  207. package/lib/services/panes/properties/animationGroupPropertiesService.d.ts +4 -0
  208. package/lib/services/panes/properties/animationPropertiesService.d.ts +5 -0
  209. package/lib/services/panes/properties/atmospherePropertiesService.d.ts +5 -0
  210. package/lib/services/panes/properties/audioPropertiesService.d.ts +3 -0
  211. package/lib/services/panes/properties/cameraPropertiesService.d.ts +7 -0
  212. package/lib/services/panes/properties/commonPropertiesService.d.ts +3 -0
  213. package/lib/services/panes/properties/effectLayerPropertiesService.d.ts +3 -0
  214. package/lib/services/panes/properties/frameGraphPropertiesService.d.ts +3 -0
  215. package/lib/services/panes/properties/lightPropertiesServices.d.ts +4 -0
  216. package/lib/services/panes/properties/materialPropertiesService.d.ts +4 -0
  217. package/lib/services/panes/properties/metadataPropertiesService.d.ts +3 -0
  218. package/lib/services/panes/properties/nodePropertiesService.d.ts +4 -0
  219. package/lib/services/panes/properties/particleSystemPropertiesService.d.ts +4 -0
  220. package/lib/services/panes/properties/physicsPropertiesService.d.ts +3 -0
  221. package/lib/services/panes/properties/postProcessPropertiesService.d.ts +3 -0
  222. package/lib/services/panes/properties/propertiesService.d.ts +53 -0
  223. package/lib/services/panes/properties/renderingPipelinePropertiesService.d.ts +3 -0
  224. package/lib/services/panes/properties/scenePropertiesService.d.ts +4 -0
  225. package/lib/services/panes/properties/skeletonPropertiesService.d.ts +4 -0
  226. package/lib/services/panes/properties/spritePropertiesService.d.ts +4 -0
  227. package/lib/services/panes/properties/texturePropertiesService.d.ts +4 -0
  228. package/lib/services/panes/properties/transformPropertiesService.d.ts +3 -0
  229. package/lib/services/panes/scene/animationGroupExplorerService.d.ts +5 -0
  230. package/lib/services/panes/scene/atmosphereExplorerService.d.ts +5 -0
  231. package/lib/services/panes/scene/defaultSectionsMetadata.d.ts +33 -0
  232. package/lib/services/panes/scene/disposableCommandService.d.ts +4 -0
  233. package/lib/services/panes/scene/effectLayersExplorerService.d.ts +5 -0
  234. package/lib/services/panes/scene/frameGraphExplorerService.d.ts +5 -0
  235. package/lib/services/panes/scene/guiExplorerService.d.ts +5 -0
  236. package/lib/services/panes/scene/materialExplorerService.d.ts +5 -0
  237. package/lib/services/panes/scene/nodeExplorerService.d.ts +7 -0
  238. package/lib/services/panes/scene/particleSystemExplorerService.d.ts +5 -0
  239. package/lib/services/panes/scene/postProcessExplorerService.d.ts +5 -0
  240. package/lib/services/panes/scene/renderingPipelinesExplorerService.d.ts +5 -0
  241. package/lib/services/panes/scene/sceneExplorerService.d.ts +34 -0
  242. package/lib/services/panes/scene/skeletonExplorerService.d.ts +5 -0
  243. package/lib/services/panes/scene/soundExplorerService.d.ts +5 -0
  244. package/lib/services/panes/scene/spriteManagerExplorerService.d.ts +6 -0
  245. package/lib/services/panes/scene/texturesExplorerService.d.ts +5 -0
  246. package/lib/services/panes/settingsService.d.ts +25 -0
  247. package/lib/services/panes/statsService.d.ts +28 -0
  248. package/lib/services/panes/tools/captureService.d.ts +3 -0
  249. package/lib/services/panes/tools/exportService.d.ts +3 -0
  250. package/lib/services/panes/tools/import/gltfAnimationImportService.d.ts +3 -0
  251. package/lib/services/panes/tools/import/gltfLoaderOptionsDefaults.d.ts +46 -0
  252. package/lib/services/panes/tools/import/gltfLoaderOptionsService.d.ts +4 -0
  253. package/lib/services/panes/tools/import/gltfValidationService.d.ts +3 -0
  254. package/lib/services/panes/tools/reflectorService.d.ts +7 -0
  255. package/lib/services/panes/toolsService.d.ts +29 -0
  256. package/lib/services/pickingService.d.ts +7 -0
  257. package/lib/services/reactContextService.d.ts +18 -0
  258. package/lib/services/sceneContext.d.ts +19 -0
  259. package/lib/services/selectionService.d.ts +24 -0
  260. package/lib/services/settingsStore.d.ts +55 -0
  261. package/lib/services/shellService.d.ts +256 -0
  262. package/lib/services/shellSettingsService.d.ts +3 -0
  263. package/lib/services/textureEditor/textureEditorService.d.ts +21 -0
  264. package/lib/services/textureEditor/tools/contrast.d.ts +2 -0
  265. package/lib/services/textureEditor/tools/eyedropper.d.ts +5 -0
  266. package/lib/services/textureEditor/tools/floodfill.d.ts +5 -0
  267. package/lib/services/textureEditor/tools/paintbrush.d.ts +2 -0
  268. package/lib/services/textureEditor/tools/rectangularSelect.d.ts +5 -0
  269. package/lib/services/themeSelectorService.d.ts +3 -0
  270. package/lib/services/themeService.d.ts +60 -0
  271. package/lib/services/userFeedbackService.d.ts +3 -0
  272. package/lib/services/watcherService.d.ts +38 -0
  273. package/lib/themes/babylonTheme.d.ts +3 -0
  274. package/package.json +9 -9
  275. package/lib/extensionsListService-zYdKn8uM.js.map +0 -1
  276. package/lib/index-DuVF9zYN.js.map +0 -1
  277. package/lib/quickCreateToolsService-BtsSLeMY.js.map +0 -1
  278. package/lib/reflectorService-Bzs-Ykos.js.map +0 -1
@@ -0,0 +1,11 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type Scene } from "@babylonjs/core/scene.js";
3
+ export declare const ExportBabylonTools: FunctionComponent<{
4
+ scene: Scene;
5
+ }>;
6
+ export declare const ExportGltfTools: import("react").ForwardRefExoticComponent<{
7
+ scene: Scene;
8
+ } & {
9
+ spinnerSize?: import("@fluentui/react-spinner").SpinnerProps["size"];
10
+ spinnerLabel?: string;
11
+ } & import("react").RefAttributes<never>>;
@@ -0,0 +1,5 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type Scene } from "@babylonjs/core/scene.js";
3
+ export declare const GLTFAnimationImportTool: FunctionComponent<{
4
+ scene: Scene;
5
+ }>;
@@ -0,0 +1,8 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type GLTFExtensionOptionsType, type GLTFLoaderOptionsType } from "../../../services/panes/tools/import/gltfLoaderOptionsDefaults";
3
+ export declare const GLTFLoaderOptionsTool: FunctionComponent<{
4
+ loaderOptions: GLTFLoaderOptionsType;
5
+ }>;
6
+ export declare const GLTFExtensionOptionsTool: FunctionComponent<{
7
+ extensionOptions: GLTFExtensionOptionsType;
8
+ }>;
@@ -0,0 +1,5 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type IGLTFValidationResults } from "babylonjs-gltf2interface";
3
+ export declare const GLTFValidationTool: FunctionComponent<{
4
+ validationResults: IGLTFValidationResults;
5
+ }>;
@@ -0,0 +1,5 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type Scene } from "@babylonjs/core/scene.js";
3
+ export declare const ReflectorTools: FunctionComponent<{
4
+ scene: Scene;
5
+ }>;
@@ -0,0 +1,3 @@
1
+ import { ExtensibleAccordion } from "../extensibleAccordion";
2
+ import { type Scene } from "@babylonjs/core/scene.js";
3
+ export declare const ToolsPane: typeof ExtensibleAccordion<Scene>;
@@ -0,0 +1,2 @@
1
+ import { type FunctionComponent, type PropsWithChildren } from "react";
2
+ export declare const UXContextProvider: FunctionComponent<PropsWithChildren>;
@@ -0,0 +1,6 @@
1
+ import { type ExtensionManager } from "../extensibility/extensionManager";
2
+ export type ExtensionManagerContext = {
3
+ readonly extensionManager: ExtensionManager;
4
+ };
5
+ export declare const ExtensionManagerContext: import("react").Context<ExtensionManagerContext | undefined>;
6
+ export declare function useExtensionManager(): ExtensionManager | undefined;
@@ -0,0 +1,30 @@
1
+ import { type Observable } from "@babylonjs/core/index.js";
2
+ /**
3
+ * Describes a property change event, including the entity, the property key, and the old and new values.
4
+ */
5
+ export type PropertyChangeInfo = {
6
+ /** The entity whose property was changed. */
7
+ readonly entity: unknown;
8
+ /** The key of the property that was changed. */
9
+ readonly propertyKey: PropertyKey;
10
+ /** The value of the property before the change. */
11
+ readonly oldValue: unknown;
12
+ /** The value of the property after the change. */
13
+ readonly newValue: unknown;
14
+ };
15
+ /**
16
+ * Context that provides an observable for property change notifications within the inspector.
17
+ */
18
+ export type PropertyContext = {
19
+ /** An observable that fires whenever a property is changed through the inspector UI. */
20
+ readonly onPropertyChanged: Observable<PropertyChangeInfo>;
21
+ };
22
+ /**
23
+ * React context for accessing the property change observable.
24
+ */
25
+ export declare const PropertyContext: import("react").Context<PropertyContext | undefined>;
26
+ /**
27
+ * Hook that returns a callback to notify the property context when a property has been changed.
28
+ * @returns A function that accepts (entity, propertyKey, oldValue, newValue) and notifies observers.
29
+ */
30
+ export declare function usePropertyChangedNotifier(): <ObjectT, PropertyT extends keyof ObjectT>(entity: ObjectT, propertyKey: PropertyT, oldValue: ObjectT[PropertyT], newValue: ObjectT[PropertyT]) => void;
@@ -0,0 +1,3 @@
1
+ import { type ISettingsStore } from "../services/settingsStore";
2
+ export declare const SettingsStoreContext: import("react").Context<ISettingsStore | undefined>;
3
+ export declare function useSettingsStore(): ISettingsStore | undefined;
@@ -0,0 +1,3 @@
1
+ import { type IWatcherService } from "../services/watcherService";
2
+ export declare const WatcherContext: import("react").Context<IWatcherService>;
3
+ export declare function useWatcher(): IWatcherService;
@@ -0,0 +1,21 @@
1
+ import { type IExtensionFeed, type ExtensionMetadata, type IExtensionMetadataQuery, type ExtensionModule } from "./extensionFeed";
2
+ export type BuiltInExtension = ExtensionMetadata & {
3
+ /**
4
+ * Gets the extension module, typically dynamically importing the extension.
5
+ * @returns The extension module (e.g. a collection of ServiceDefinitions).
6
+ */
7
+ getExtensionModuleAsync(): Promise<ExtensionModule>;
8
+ };
9
+ /**
10
+ * A simple extension feed implementation that provides a fixed set of "built in" extensions.
11
+ * "Built in" in this context means extensions that are known at bundling time, and included
12
+ * in the bundle. Each extension can be dynamically imported so they are split into separate
13
+ * bundle chunks and downloaded only when first installed.
14
+ */
15
+ export declare class BuiltInsExtensionFeed implements IExtensionFeed {
16
+ readonly name: string;
17
+ private readonly _extensions;
18
+ constructor(name: string, extensions: Iterable<BuiltInExtension>);
19
+ queryExtensionsAsync(filter?: string): Promise<IExtensionMetadataQuery>;
20
+ getExtensionModuleAsync(name: string): Promise<ExtensionModule | undefined>;
21
+ }
@@ -0,0 +1,5 @@
1
+ import { BuiltInsExtensionFeed } from "./builtInsExtensionFeed";
2
+ /**
3
+ * Well-known default built in extensions for the Inspector.
4
+ */
5
+ export declare const DefaultInspectorExtensionFeed: BuiltInsExtensionFeed;
@@ -0,0 +1,113 @@
1
+ import { type WeaklyTypedServiceDefinition } from "../modularity/serviceContainer";
2
+ export type PersonMetadata = {
3
+ /**
4
+ * The name of the person.
5
+ */
6
+ readonly name: string;
7
+ /**
8
+ * The email address of the person.
9
+ */
10
+ readonly email?: string;
11
+ /**
12
+ * The URL to the person's website.
13
+ */
14
+ readonly url?: string;
15
+ /**
16
+ * The Babylon forum username of the person.
17
+ */
18
+ readonly forumUserName?: string;
19
+ /**
20
+ * A base64 encoded PNG image to use as the person's avatar.
21
+ */
22
+ readonly avatar?: string;
23
+ };
24
+ export type ExtensionMetadata = {
25
+ /**
26
+ * The name of the extension.
27
+ */
28
+ readonly name: string;
29
+ /**
30
+ * The version of the extension (as valid semver).
31
+ */
32
+ readonly version?: string;
33
+ /**
34
+ * The description of the extension.
35
+ */
36
+ readonly description: string;
37
+ /**
38
+ * The keywords of the extension.
39
+ */
40
+ readonly keywords?: readonly string[];
41
+ /**
42
+ * The URL to the extension homepage.
43
+ */
44
+ readonly homepage?: string;
45
+ /**
46
+ * Specify the place where your code lives. This is helpful for people who want to contribute.
47
+ */
48
+ readonly repository?: string;
49
+ /**
50
+ * The URL to your extension's issue tracker and / or the email address to which issues should be reported. These are helpful for people who encounter issues with your extension.
51
+ */
52
+ readonly bugs?: string;
53
+ /**
54
+ * A license for your package so that people know how they are permitted to use it, and any restrictions you're placing on it.
55
+ */
56
+ readonly license?: string;
57
+ /**
58
+ * The primary author of the extension.
59
+ */
60
+ readonly author?: string | PersonMetadata;
61
+ /**
62
+ * The contributors to the extension.
63
+ */
64
+ readonly contributors?: readonly (string | PersonMetadata)[];
65
+ };
66
+ export type ExtensionModule = {
67
+ /**
68
+ * The default export of the module (e.g. export default).
69
+ */
70
+ default: {
71
+ /**
72
+ * The services that are included with the extension.
73
+ */
74
+ serviceDefinitions?: readonly WeaklyTypedServiceDefinition[];
75
+ };
76
+ };
77
+ /**
78
+ * Represents a query to fetch subset ranges of extension metadata from a feed.
79
+ */
80
+ export interface IExtensionMetadataQuery {
81
+ /**
82
+ * The total number of extensions that satisfy the query.
83
+ */
84
+ readonly totalCount: number;
85
+ /**
86
+ * Fetches a range of extension metadata from the feed.
87
+ * @param index The index of the first extension to fetch.
88
+ * @param count The number of extensions to fetch.
89
+ * @returns A promise that resolves to the extension metadata.
90
+ */
91
+ getExtensionMetadataAsync(index: number, count: number): Promise<readonly ExtensionMetadata[]>;
92
+ }
93
+ /**
94
+ * Represents a feed/source of extensions.
95
+ */
96
+ export interface IExtensionFeed {
97
+ /**
98
+ * The name of the feed.
99
+ */
100
+ readonly name: string;
101
+ /**
102
+ * Creates an extension metadata query given a filter.
103
+ * @param filter The filter to apply to the query.
104
+ * @returns A promise that resolves to the extension metadata query.
105
+ */
106
+ queryExtensionsAsync(filter?: string): Promise<IExtensionMetadataQuery>;
107
+ /**
108
+ * Gets the extension module for the specified extension.
109
+ * @param name The name of the extension.
110
+ * @returns A promise that resolves to the extension module.
111
+ */
112
+ getExtensionModuleAsync(name: string): Promise<ExtensionModule | undefined>;
113
+ }
@@ -0,0 +1,111 @@
1
+ import { type IDisposable } from "@babylonjs/core/index.js";
2
+ import { type ServiceContainer } from "../modularity/serviceContainer";
3
+ import { type IExtensionFeed, type ExtensionMetadata } from "./extensionFeed";
4
+ /**
5
+ * Represents a loaded extension.
6
+ */
7
+ export interface IExtension {
8
+ /**
9
+ * The metadata for the extension.
10
+ */
11
+ readonly metadata: ExtensionMetadata;
12
+ /**
13
+ * Whether the extension is currently being installed, uninstalled, enabled, or disabled.
14
+ */
15
+ readonly isStateChanging: boolean;
16
+ /**
17
+ * Whether the extension is enabled.
18
+ */
19
+ readonly isInstalled: boolean;
20
+ /**
21
+ * Installs the extension.
22
+ */
23
+ installAsync(): Promise<void>;
24
+ /**
25
+ * Uninstalls the extension.
26
+ */
27
+ uninstallAsync(): Promise<void>;
28
+ /**
29
+ * Adds a handler that is called when the state of the extension changes.
30
+ * @param handler The handler to add.
31
+ * @returns A disposable that removes the handler when disposed.
32
+ */
33
+ addStateChangedHandler(handler: () => void): IDisposable;
34
+ }
35
+ /**
36
+ * Provides information about an extension installation failure.
37
+ */
38
+ export type InstallFailedInfo = {
39
+ /**
40
+ * The metadata of the extension that failed to install.
41
+ */
42
+ extension: ExtensionMetadata;
43
+ /**
44
+ * The error that occurred during the installation.
45
+ */
46
+ error: unknown;
47
+ };
48
+ /**
49
+ * Represents a query for loaded extensions.
50
+ */
51
+ export interface IExtensionQuery {
52
+ /**
53
+ * The total number of extensions that satisfy the query.
54
+ */
55
+ readonly totalCount: number;
56
+ /**
57
+ * Fetches a range of extensions from the query.
58
+ * @param index The index of the first extension to fetch.
59
+ * @param count The number of extensions to fetch.
60
+ * @returns A promise that resolves to the extensions.
61
+ */
62
+ getExtensionsAsync(index: number, count: number): Promise<IExtension[]>;
63
+ }
64
+ /**
65
+ * Manages the installation, uninstallation, enabling, and disabling of extensions.
66
+ */
67
+ export declare class ExtensionManager implements IDisposable {
68
+ private readonly _namespace;
69
+ private readonly _serviceContainer;
70
+ private readonly _feeds;
71
+ private readonly _onInstallFailed;
72
+ private readonly _installedExtensions;
73
+ private readonly _stateChangedHandlers;
74
+ private constructor();
75
+ /**
76
+ * Creates a new instance of the ExtensionManager.
77
+ * This will automatically rehydrate previously installed and enabled extensions.
78
+ * @param namespace The namespace to use for storing extension state in local storage.
79
+ * @param serviceContainer The service container to use.
80
+ * @param feeds The extension feeds to include.
81
+ * @param onInstallFailed A callback that is called when an extension installation fails.
82
+ * @returns A promise that resolves to the new instance of the ExtensionManager.
83
+ */
84
+ static CreateAsync(namespace: string, serviceContainer: ServiceContainer, feeds: readonly IExtensionFeed[], onInstallFailed: (info: InstallFailedInfo) => void): Promise<ExtensionManager>;
85
+ /**
86
+ * Gets the names of the feeds that are included in the extension manager.
87
+ * @returns The names of the feeds.
88
+ */
89
+ get feedNames(): string[];
90
+ /**
91
+ * Queries the extension manager for extensions.
92
+ * @param filter The filter to apply to the query.
93
+ * @param feeds The feeds to include in the query.
94
+ * @param installedOnly Whether to only include installed extensions.
95
+ * @returns A promise that resolves to the extension query.
96
+ */
97
+ queryExtensionsAsync(filter?: string, feeds?: string[], installedOnly?: boolean): Promise<IExtensionQuery>;
98
+ /**
99
+ * Disposes the extension manager.
100
+ */
101
+ dispose(): void;
102
+ private _getInstalledExtensionStorageKey;
103
+ private _updateInstalledExtensionsStorage;
104
+ private _installAsync;
105
+ private _uninstallAsync;
106
+ private _enableAsync;
107
+ private _disableAsync;
108
+ private _addStateChangedHandler;
109
+ private _createExtension;
110
+ private _createInstalledExtension;
111
+ }
@@ -0,0 +1,14 @@
1
+ import { type Scene } from "@babylonjs/core/scene.js";
2
+ import { type FunctionComponent } from "react";
3
+ import { type ISelectionService } from "../../services/selectionService";
4
+ type CamerasContentProps = {
5
+ scene: Scene;
6
+ selectionService: ISelectionService;
7
+ };
8
+ /**
9
+ * Cameras content component
10
+ * @param props - Component props
11
+ * @returns React component
12
+ */
13
+ export declare const CamerasContent: FunctionComponent<CamerasContentProps>;
14
+ export {};
@@ -0,0 +1,14 @@
1
+ import { type Scene } from "@babylonjs/core/scene.js";
2
+ import { type FunctionComponent } from "react";
3
+ import { type ISelectionService } from "../../services/selectionService";
4
+ type FrameGraphsContentProps = {
5
+ scene: Scene;
6
+ selectionService: ISelectionService;
7
+ };
8
+ /**
9
+ * Frame Graphs content component
10
+ * @param props - Component props
11
+ * @returns React component
12
+ */
13
+ export declare const FrameGraphsContent: FunctionComponent<FrameGraphsContentProps>;
14
+ export {};
@@ -0,0 +1,14 @@
1
+ import { type Scene } from "@babylonjs/core/scene.js";
2
+ import { type FunctionComponent } from "react";
3
+ import { type ISelectionService } from "../../services/selectionService";
4
+ type LightsContentProps = {
5
+ scene: Scene;
6
+ selectionService: ISelectionService;
7
+ };
8
+ /**
9
+ * Lights content component
10
+ * @param props - Component props
11
+ * @returns React component
12
+ */
13
+ export declare const LightsContent: FunctionComponent<LightsContentProps>;
14
+ export {};
@@ -0,0 +1,14 @@
1
+ import { type Scene } from "@babylonjs/core/scene.js";
2
+ import { type FunctionComponent } from "react";
3
+ import { type ISelectionService } from "../../services/selectionService";
4
+ type MaterialsContentProps = {
5
+ scene: Scene;
6
+ selectionService: ISelectionService;
7
+ };
8
+ /**
9
+ * Materials content component
10
+ * @param props - Component props
11
+ * @returns React component
12
+ */
13
+ export declare const MaterialsContent: FunctionComponent<MaterialsContentProps>;
14
+ export {};
@@ -0,0 +1,10 @@
1
+ import { type Scene } from "@babylonjs/core/scene.js";
2
+ import { type FunctionComponent } from "react";
3
+ import { type ISelectionService } from "../../services/selectionService";
4
+ /**
5
+ * @internal
6
+ */
7
+ export declare const MeshesContent: FunctionComponent<{
8
+ scene: Scene;
9
+ selectionService: ISelectionService;
10
+ }>;
@@ -0,0 +1,15 @@
1
+ import { type Scene } from "@babylonjs/core/scene.js";
2
+ import { type FunctionComponent } from "react";
3
+ import { type ISelectionService } from "../../services/selectionService";
4
+ import "@babylonjs/core/Particles/webgl2ParticleSystem.js";
5
+ type ParticlesContentProps = {
6
+ scene: Scene;
7
+ selectionService: ISelectionService;
8
+ };
9
+ /**
10
+ * Particles content component
11
+ * @param props - Component props
12
+ * @returns React component
13
+ */
14
+ export declare const ParticlesContent: FunctionComponent<ParticlesContentProps>;
15
+ export {};
@@ -0,0 +1,44 @@
1
+ import { type FunctionComponent, type ReactNode } from "react";
2
+ import { type ISelectionService } from "../../services/selectionService";
3
+ type CreatedEntity = {
4
+ name: string;
5
+ };
6
+ type QuickCreateSectionProps = {
7
+ children: ReactNode;
8
+ };
9
+ /**
10
+ * Container component for quick create sections that provides consistent column layout with spacing
11
+ * @param props - Component props
12
+ * @returns React component
13
+ */
14
+ export declare const QuickCreateSection: FunctionComponent<QuickCreateSectionProps>;
15
+ type QuickCreateRowProps = {
16
+ children: ReactNode;
17
+ };
18
+ /**
19
+ * Container component for quick create rows that provides consistent row layout for button + settings popover
20
+ * @param props - Component props
21
+ * @returns React component
22
+ */
23
+ export declare const QuickCreateRow: FunctionComponent<QuickCreateRowProps>;
24
+ type QuickCreateItemProps = {
25
+ /** The selection service used by the go-to-entity button */
26
+ selectionService: ISelectionService;
27
+ /** Label for the quick-create button */
28
+ label: string;
29
+ /** Called when the quick-create button is clicked. Return the created entity (or a Promise that resolves to it) for toast + go-to. */
30
+ onCreate: () => CreatedEntity | Promise<CreatedEntity>;
31
+ /** Optional override for the settings popover's Create button. If omitted, the popover's Create button calls `onCreate`. */
32
+ onSettingsCreate?: () => CreatedEntity | Promise<CreatedEntity>;
33
+ /** Optional settings popover content (form fields). When provided, a settings popover with a Create button is rendered next to the quick-create button. */
34
+ children?: ReactNode;
35
+ };
36
+ /**
37
+ * Reusable row component for entity creation. Renders a quick-create button, an optional settings popover
38
+ * (with a baked-in Create button), and a "go to entity" button. Manages its own state for the last created entity
39
+ * and shows a toast on creation.
40
+ * @param props - The label, creation handler, selection service, and optional settings content
41
+ * @returns A row with a button, optional settings popover, and go-to-entity button
42
+ */
43
+ export declare const QuickCreateItem: FunctionComponent<QuickCreateItemProps>;
44
+ export {};
@@ -0,0 +1,11 @@
1
+ import { type ServiceDefinition } from "../../modularity/serviceDefinition";
2
+ import { type ISceneContext } from "../../services/sceneContext";
3
+ import { type ISelectionService } from "../../services/selectionService";
4
+ import { type IShellService } from "../../services/shellService";
5
+ import "@babylonjs/core/Particles/webgl2ParticleSystem.js";
6
+ import "@babylonjs/core/Rendering/prePassRendererSceneComponent.js";
7
+ export declare const CreateToolsServiceDefinition: ServiceDefinition<[], [IShellService, ISceneContext, ISelectionService]>;
8
+ declare const _default: {
9
+ readonly serviceDefinitions: readonly [ServiceDefinition<[], [IShellService, ISceneContext, ISelectionService]>];
10
+ };
11
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { type Scene } from "@babylonjs/core/scene.js";
2
+ import { type FunctionComponent } from "react";
3
+ import { type ISelectionService } from "../../services/selectionService";
4
+ type RenderingPipelinesContentProps = {
5
+ scene: Scene;
6
+ selectionService: ISelectionService;
7
+ };
8
+ /**
9
+ * Rendering Pipelines content component
10
+ * @param props - Component props
11
+ * @returns React component
12
+ */
13
+ export declare const RenderingPipelinesContent: FunctionComponent<RenderingPipelinesContentProps>;
14
+ export {};
@@ -0,0 +1,14 @@
1
+ import { type FunctionComponent, type PropsWithChildren } from "react";
2
+ type SettingsPopoverProps = {
3
+ /** Controlled open state */
4
+ open?: boolean;
5
+ /** Callback when open state changes */
6
+ onOpenChange?: (open: boolean) => void;
7
+ };
8
+ /**
9
+ * Settings popover component
10
+ * @param props
11
+ * @returns
12
+ */
13
+ export declare const SettingsPopover: FunctionComponent<PropsWithChildren<SettingsPopoverProps>>;
14
+ export {};
@@ -0,0 +1,14 @@
1
+ import { type Scene } from "@babylonjs/core/scene.js";
2
+ import { type FunctionComponent } from "react";
3
+ import { type ISelectionService } from "../../services/selectionService";
4
+ type SpriteManagersContentProps = {
5
+ scene: Scene;
6
+ selectionService: ISelectionService;
7
+ };
8
+ /**
9
+ * Sprite Managers content component
10
+ * @param props - Component props
11
+ * @returns React component
12
+ */
13
+ export declare const SpriteManagersContent: FunctionComponent<SpriteManagersContentProps>;
14
+ export {};
@@ -1,10 +1,10 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { Dialog, DialogTrigger, Tooltip, Button, DialogSurface, DialogBody, DialogTitle, TabList, Tab, DialogContent, Accordion, makeStyles, tokens, AccordionItem, AccordionHeader, Body1Strong, PresenceBadge, AccordionPanel, Card, CardHeader, Caption1, Body1, CardPreview, Persona, AvatarGroup, AvatarGroupItem, CardFooter, Spinner, Popover, PopoverTrigger, PopoverSurface } from '@fluentui/react-components';
3
+ import { useState, useEffect, memo, useMemo, useCallback } from 'react';
4
+ import { S as ShellServiceIdentity, u as useExtensionManager, L as Link } from './index-BCbXjPTn.js';
3
5
  import { AppsAddInRegular, DismissRegular, LinkRegular, BranchForkRegular, BugRegular, ArrowDownloadRegular, DeleteRegular, MailRegular, PeopleCommunityRegular } from '@fluentui/react-icons';
4
6
  import { Fade } from '@fluentui/react-motion-components-preview';
5
- import { useState, useEffect, memo, useMemo, useCallback } from 'react';
6
7
  import { Logger } from '@babylonjs/core/Misc/logger.js';
7
- import { c as ShellServiceIdentity, j as useExtensionManager, k as Link } from './index-DuVF9zYN.js';
8
8
  import '@babylonjs/core/Maths/math.color.js';
9
9
  import '@babylonjs/core/Maths/math.vector.js';
10
10
  import '@babylonjs/core/Misc/observable.js';
@@ -124,15 +124,15 @@ import '@babylonjs/core/Bones/skeleton.js';
124
124
  import '@babylonjs/core/Sprites/sprite.js';
125
125
  import '@babylonjs/core/Sprites/spriteManager.js';
126
126
  import '@babylonjs/core/Misc/textureTools.js';
127
- import '@babylonjs/core/Materials/Textures/baseTexture.js';
128
- import '@babylonjs/core/Materials/Textures/multiRenderTarget.js';
129
- import '@babylonjs/core/Materials/Textures/renderTargetTexture.js';
130
- import '@babylonjs/core/Materials/Textures/thinTexture.js';
131
127
  import '@babylonjs/core/Events/keyboardEvents.js';
132
128
  import '@babylonjs/core/Events/pointerEvents.js';
133
129
  import '@babylonjs/core/Materials/Textures/htmlElementTexture.js';
134
130
  import '@babylonjs/core/Materials/shaderMaterial.js';
135
131
  import '@babylonjs/core/Meshes/Builders/planeBuilder.js';
132
+ import '@babylonjs/core/Materials/Textures/baseTexture.js';
133
+ import '@babylonjs/core/Materials/Textures/multiRenderTarget.js';
134
+ import '@babylonjs/core/Materials/Textures/renderTargetTexture.js';
135
+ import '@babylonjs/core/Materials/Textures/thinTexture.js';
136
136
  import '@babylonjs/core/Rendering/boundingBoxRenderer.js';
137
137
  import '@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent.js';
138
138
  import '@babylonjs/core/Sprites/spriteSceneComponent.js';
@@ -346,4 +346,4 @@ const ExtensionListServiceDefinition = {
346
346
  };
347
347
 
348
348
  export { ExtensionListServiceDefinition };
349
- //# sourceMappingURL=extensionsListService-zYdKn8uM.js.map
349
+ //# sourceMappingURL=extensionsListService-BmiNjZiw.js.map