@babylonjs/inspector 9.26.1 → 9.27.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 (25) hide show
  1. package/lib/components/properties/boundProperty.d.ts +12 -1
  2. package/lib/contexts/propertyContext.d.ts +1 -1
  3. package/lib/{extensionsListService-2sqR5MRD.js → extensionsListService-GhHoWP21.js} +3 -2
  4. package/lib/{extensionsListService-2sqR5MRD.js.map → extensionsListService-GhHoWP21.js.map} +1 -1
  5. package/lib/{index-DvyGGbVg.js → index-DHNtmMzT.js} +44 -7
  6. package/lib/index-DHNtmMzT.js.map +1 -0
  7. package/lib/index.js +2 -1
  8. package/lib/index.js.map +1 -1
  9. package/lib/lite/{extensionsListService-BP2ToO_O.js → extensionsListService-D1JivcAu.js} +2 -2
  10. package/lib/lite/{extensionsListService-BP2ToO_O.js.map → extensionsListService-D1JivcAu.js.map} +1 -1
  11. package/lib/lite/{index-6eEEtyAL.js → index-D8vFySa7.js} +261 -27
  12. package/lib/lite/index-D8vFySa7.js.map +1 -0
  13. package/lib/lite/index.js +1 -1
  14. package/lib/lite/renderingLayerUtils.d.ts +12 -0
  15. package/lib/lite/services/panes/properties/spriteLayerPropertiesService.d.ts +4 -0
  16. package/lib/lite/services/panes/scene/renderingLayerExplorerService.d.ts +24 -0
  17. package/lib/lite/services/panes/scene/spriteLayerExplorerService.d.ts +1 -0
  18. package/lib/lite/services/panes/scene/textLayerExplorerService.d.ts +1 -3
  19. package/lib/{quickCreateToolsService-B0RAjMcI.js → quickCreateToolsService-COtk9VE9.js} +3 -2
  20. package/lib/{quickCreateToolsService-B0RAjMcI.js.map → quickCreateToolsService-COtk9VE9.js.map} +1 -1
  21. package/lib/{reflectorService-CUFxJIMt.js → reflectorService-fcsir8s0.js} +3 -2
  22. package/lib/{reflectorService-CUFxJIMt.js.map → reflectorService-fcsir8s0.js.map} +1 -1
  23. package/package.json +1 -1
  24. package/lib/index-DvyGGbVg.js.map +0 -1
  25. package/lib/lite/index-6eEEtyAL.js.map +0 -1
package/lib/lite/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { A as Accordion, a as AccordionSection, b as AccordionSectionItem, B as BooleanBadgePropertyLine, c as BridgeCommandRegistryIdentity, d as BuiltInsExtensionFeed, e as Button, f as ButtonLine, C as Checkbox, g as CheckboxPropertyLine, h as ChildWindow, i as Collapse, j as ComboBox, k as ComboBoxPropertyLine, l as ConstructorFactory, D as DraggableLine, m as Dropdown, E as EngineContextIdentity, n as EngineExplorerServiceIdentity, o as EntitySelector, p as ErrorBoundary, q as ExplorerServiceIdentity, r as ExtensibleAccordion, F as FileUploadLine, G as GetPropertyDescriptor, H as HexPropertyLine, I as InfoLabel, s as InterceptFunction, t as InterceptProperty, v as IsPropertyReadonly, w as LineContainer, L as Link, x as LinkPropertyLine, y as List, M as MakeDialogTeachingMoment, z as MakeLazyComponent, J as MakeModularBridge, K as MakeModularTool, N as MakePopoverTeachingMoment, O as MakeTeachingMoment, P as MessageBar, Q as NumberDropdown, R as NumberDropdownPropertyLine, T as NumberInputPropertyLine, U as ObservableCollection, V as Pane, W as PlaceholderPropertyLine, X as Popover, Y as PositionedPopover, Z as PropertiesServiceIdentity, _ as PropertyContext, $ as PropertyLine, a0 as SearchBar, a1 as SearchBox, a2 as SelectionServiceDefinition, a3 as SelectionServiceIdentity, a4 as SettingsServiceIdentity, a5 as SettingsStore, a6 as SettingsStoreIdentity, S as ShellServiceIdentity, a7 as ShowInspector, a8 as SidePaneContainer, a9 as Slider, aa as SpinButton, ab as SpinButtonPropertyLine, ac as StringDropdown, ad as StringDropdownPropertyLine, ae as StringifiedPropertyLine, af as Switch, ag as SwitchPropertyLine, ah as SyncedSliderInput, ai as SyncedSliderPropertyLine, aj as TeachingMoment, ak as TextAreaPropertyLine, al as TextInput, am as TextInputPropertyLine, an as TextPropertyLine, ao as Textarea, ap as Theme, aq as ThemeServiceIdentity, ar as ToastProvider, as as ToggleButton, at as Tooltip, au as UploadButton, av as WatcherServiceIdentity, aw as useAngleConverters, ax as useAsyncResource, ay as useEventListener, az as useEventfulState, aA as useInterceptObservable, aB as useKeyListener, aC as useKeyState, aD as useObservableCollection, aE as useObservableState, aF as useOrderedObservableCollection, aG as usePollingObservable, aH as usePropertyChangedNotifier, aI as useResource, aJ as useTheme, aK as useThemeMode, aL as useToast } from './index-6eEEtyAL.js';
1
+ export { A as Accordion, a as AccordionSection, b as AccordionSectionItem, B as BooleanBadgePropertyLine, c as BridgeCommandRegistryIdentity, d as BuiltInsExtensionFeed, e as Button, f as ButtonLine, C as Checkbox, g as CheckboxPropertyLine, h as ChildWindow, i as Collapse, j as ComboBox, k as ComboBoxPropertyLine, l as ConstructorFactory, D as DraggableLine, m as Dropdown, E as EngineContextIdentity, n as EngineExplorerServiceIdentity, o as EntitySelector, p as ErrorBoundary, q as ExplorerServiceIdentity, r as ExtensibleAccordion, F as FileUploadLine, G as GetPropertyDescriptor, H as HexPropertyLine, I as InfoLabel, s as InterceptFunction, t as InterceptProperty, v as IsPropertyReadonly, w as LineContainer, L as Link, x as LinkPropertyLine, y as List, M as MakeDialogTeachingMoment, z as MakeLazyComponent, J as MakeModularBridge, K as MakeModularTool, N as MakePopoverTeachingMoment, O as MakeTeachingMoment, P as MessageBar, Q as NumberDropdown, R as NumberDropdownPropertyLine, T as NumberInputPropertyLine, U as ObservableCollection, V as Pane, W as PlaceholderPropertyLine, X as Popover, Y as PositionedPopover, Z as PropertiesServiceIdentity, _ as PropertyContext, $ as PropertyLine, a0 as SearchBar, a1 as SearchBox, a2 as SelectionServiceDefinition, a3 as SelectionServiceIdentity, a4 as SettingsServiceIdentity, a5 as SettingsStore, a6 as SettingsStoreIdentity, S as ShellServiceIdentity, a7 as ShowInspector, a8 as SidePaneContainer, a9 as Slider, aa as SpinButton, ab as SpinButtonPropertyLine, ac as StringDropdown, ad as StringDropdownPropertyLine, ae as StringifiedPropertyLine, af as Switch, ag as SwitchPropertyLine, ah as SyncedSliderInput, ai as SyncedSliderPropertyLine, aj as TeachingMoment, ak as TextAreaPropertyLine, al as TextInput, am as TextInputPropertyLine, an as TextPropertyLine, ao as Textarea, ap as Theme, aq as ThemeServiceIdentity, ar as ToastProvider, as as ToggleButton, at as Tooltip, au as UploadButton, av as WatcherServiceIdentity, aw as useAngleConverters, ax as useAsyncResource, ay as useEventListener, az as useEventfulState, aA as useInterceptObservable, aB as useKeyListener, aC as useKeyState, aD as useObservableCollection, aE as useObservableState, aF as useOrderedObservableCollection, aG as usePollingObservable, aH as usePropertyChangedNotifier, aI as useResource, aJ as useTheme, aK as useThemeMode, aL as useToast } from './index-D8vFySa7.js';
2
2
  import '@babylonjs/core/Misc/observable.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -0,0 +1,12 @@
1
+ import { type EngineContext, type RenderingContext } from "@babylonjs/lite";
2
+ type OrderedRenderingLayer = object & {
3
+ order: number;
4
+ };
5
+ type LayerRenderingContext<LayerT extends object> = RenderingContext & {
6
+ readonly layers: readonly LayerT[];
7
+ };
8
+ export declare function GetOrderedRenderingLayers<LayerT extends OrderedRenderingLayer>(layers: readonly LayerT[]): readonly LayerT[];
9
+ export declare function GetRenderingLayerSnapshot<LayerT extends OrderedRenderingLayer>(layers: readonly LayerT[]): readonly object[];
10
+ export declare function GetRenderingLayerOwners<LayerT extends object, ContextT extends LayerRenderingContext<LayerT>>(engine: EngineContext, contextKind: string, layer: LayerT): readonly ContextT[];
11
+ export declare function GetRenderingLayerDisplayName<LayerT extends OrderedRenderingLayer, ContextT extends LayerRenderingContext<LayerT>>(engine: EngineContext, contextKind: string, layer: LayerT, layerTypeName: string): string;
12
+ export {};
@@ -0,0 +1,4 @@
1
+ import { type ServiceDefinition } from "@babylonjs/shared-ui-components/modularTool/modularity/serviceDefinition.js";
2
+ import { type IPropertiesService } from "../../../../services/panes/properties/propertiesService";
3
+ import { type IEngineContext } from "../../../engineContext";
4
+ export declare const SpriteLayerPropertiesServiceDefinition: ServiceDefinition<[], [IPropertiesService, IEngineContext]>;
@@ -0,0 +1,24 @@
1
+ import { type RenderingContext } from "@babylonjs/lite";
2
+ import { type ComponentType } from "react";
3
+ import { type ServiceDefinition } from "@babylonjs/shared-ui-components/modularTool/modularity/serviceDefinition.js";
4
+ import { type IExplorerService } from "../../../../services/panes/explorer/explorerService";
5
+ import { type IWatcherService } from "../../../../services/watcherService";
6
+ import { type IEngineContext } from "../../../engineContext";
7
+ import { type IEngineExplorerService } from "../../../engineExplorerService";
8
+ type RenderingLayer = object & {
9
+ order: number;
10
+ visible: boolean;
11
+ };
12
+ type LayerRenderingContext<LayerT extends RenderingLayer> = RenderingContext & {
13
+ readonly layers: readonly LayerT[];
14
+ };
15
+ type RenderingLayerExplorerOptions<ContextT extends LayerRenderingContext<LayerT>, LayerT extends RenderingLayer> = Readonly<{
16
+ friendlyName: string;
17
+ contextKind: string;
18
+ layerTypeName: string;
19
+ icon: ComponentType<{
20
+ entity: object;
21
+ }>;
22
+ }>;
23
+ export declare function CreateRenderingLayerExplorerServiceDefinition<ContextT extends LayerRenderingContext<LayerT>, LayerT extends RenderingLayer>(options: RenderingLayerExplorerOptions<ContextT, LayerT>): ServiceDefinition<[], [IEngineExplorerService, IExplorerService, IWatcherService, IEngineContext]>;
24
+ export {};
@@ -0,0 +1 @@
1
+ export declare const SpriteLayerExplorerServiceDefinition: import("@babylonjs/shared-ui-components/modularTool/modularity/serviceDefinition.js").ServiceDefinition<[], [import("../../..").IEngineExplorerService, import("../../..").IExplorerService, import("../../..").IWatcherService, import("../../..").IEngineContext]>;
@@ -1,3 +1 @@
1
- import { type IEngineExplorerService } from "../../../engineExplorerService";
2
- import { type ServiceDefinition } from "@babylonjs/shared-ui-components/modularTool/modularity/serviceDefinition.js";
3
- export declare const TextLayerExplorerServiceDefinition: ServiceDefinition<[], [IEngineExplorerService]>;
1
+ export declare const TextLayerExplorerServiceDefinition: import("@babylonjs/shared-ui-components/modularTool/modularity/serviceDefinition.js").ServiceDefinition<[], [import("../../..").IEngineExplorerService, import("../../..").IExplorerService, import("../../..").IWatcherService, import("../../..").IEngineContext]>;
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
- import { P as Popover, a as useToast, b as useInterceptObservable, B as Button, c as LinkToEntity, T as TextInputPropertyLine, d as SpinButtonPropertyLine, C as CheckboxPropertyLine, V as Vector3PropertyLine, e as useProperty, M as MessageBar, S as ShellServiceIdentity, f as SceneContextIdentity, g as SelectionServiceIdentity, h as useObservableState, A as Accordion, i as AccordionSection } from './index-DvyGGbVg.js';
2
+ import { P as Popover, a as useToast, b as useInterceptObservable, B as Button, c as LinkToEntity, T as TextInputPropertyLine, d as SpinButtonPropertyLine, C as CheckboxPropertyLine, V as Vector3PropertyLine, e as useProperty, M as MessageBar, S as ShellServiceIdentity, f as SceneContextIdentity, g as SelectionServiceIdentity, h as useObservableState, A as Accordion, i as AccordionSection } from './index-DHNtmMzT.js';
3
3
  import { SettingsRegular, CollectionsAdd20Regular } from '@fluentui/react-icons';
4
4
  import '@babylonjs/core/Particles/webgl2ParticleSystem.js';
5
5
  import '@babylonjs/core/Rendering/prePassRendererSceneComponent.js';
@@ -121,6 +121,7 @@ import '@babylonjs/core/Debug/skeletonViewer.js';
121
121
  import '@babylonjs/core/Meshes/buffer.js';
122
122
  import '@babylonjs/core/Meshes/Builders/linesBuilder.js';
123
123
  import '@babylonjs/core/Meshes/instancedMesh.js';
124
+ import '@babylonjs/core/Meshes/meshBlendingTag.js';
124
125
  import '@babylonjs/core/Rendering/renderingManager.js';
125
126
  import '@babylonjs/core/Rendering/edgesRenderer.js';
126
127
  import '@babylonjs/core/Rendering/outlineRenderer.js';
@@ -790,4 +791,4 @@ var quickCreateToolsService = {
790
791
  };
791
792
 
792
793
  export { CreateToolsServiceDefinition, quickCreateToolsService as default };
793
- //# sourceMappingURL=quickCreateToolsService-B0RAjMcI.js.map
794
+ //# sourceMappingURL=quickCreateToolsService-COtk9VE9.js.map