@babylonjs/inspector 9.3.1 → 9.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/inspector-cli.mjs +19 -31
- package/lib/{extensionsListService-DA8_rCpk.js → extensionsListService-0lDnbVBc.js} +2 -2
- package/lib/{extensionsListService-DA8_rCpk.js.map → extensionsListService-0lDnbVBc.js.map} +1 -1
- package/lib/{index-nEGqYbP2.js → index-DYOMPcC7.js} +8 -8
- package/lib/index-DYOMPcC7.js.map +1 -0
- package/lib/index.js +1 -1
- package/lib/inspectable.d.ts +5 -25
- package/lib/{quickCreateToolsService-_L22btR5.js → quickCreateToolsService-7_2Rei48.js} +2 -2
- package/lib/{quickCreateToolsService-_L22btR5.js.map → quickCreateToolsService-7_2Rei48.js.map} +1 -1
- package/lib/{reflectorService-BMLxtZT7.js → reflectorService-DiamgYXJ.js} +2 -2
- package/lib/{reflectorService-BMLxtZT7.js.map → reflectorService-DiamgYXJ.js.map} +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/lib/index-nEGqYbP2.js.map +0 -1
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as Accordion, i as AccordionSection, l as AccordionSectionItem, m as AttachDebugLayer, n as BooleanBadgePropertyLine, o as BoundProperty, p as BridgeCommandRegistryIdentity, q as BuiltInsExtensionFeed, B as Button, j as ButtonLine, r as Checkbox, C as CheckboxPropertyLine, s as ChildWindow, t as Collapse, v as Color3GradientComponent, w as Color3GradientList, x as Color3PropertyLine, y as Color4GradientComponent, z as Color4GradientList, D as Color4PropertyLine, E as ColorPickerPopup, F as ColorStepGradientComponent, G as ComboBox, H as ComboBoxPropertyLine, I as ConstructorFactory, J as ConvertOptions, K as DebugServiceIdentity, O as DetachDebugLayer, Q as DraggableLine, R as Dropdown, U as EntitySelector, W as ErrorBoundary, X as ExtensibleAccordion, Y as FactorGradientComponent, Z as FactorGradientList, _ as FileUploadLine, $ as GetPropertyDescriptor, a0 as GizmoServiceIdentity, a1 as HexPropertyLine, a2 as InfoLabel, a3 as InputHexField, a4 as InputHsvField, a5 as Inspector, a6 as InterceptFunction, a7 as InterceptProperty, a8 as IsPropertyReadonly, a9 as LineContainer, L as Link, aa as LinkPropertyLine, c as LinkToEntity, ab as LinkToEntityPropertyLine, ac as List, ad as MakeDialogTeachingMoment, ae as MakeLazyComponent, af as MakeModularBridge, ag as MakeModularTool, ah as MakePopoverTeachingMoment, ai as MakePropertyHook, aj as MakeTeachingMoment, ak as MaterialSelector, M as MessageBar, al as NodeSelector, am as NumberDropdown, an as NumberDropdownPropertyLine, N as NumberInputPropertyLine, ao as ObservableCollection, ap as Pane, aq as PlaceholderPropertyLine, P as Popover, ar as PositionedPopover, as as PropertiesServiceIdentity, at as Property, au as PropertyContext, av as PropertyLine, aw as QuaternionPropertyLine, ax as RotationVectorPropertyLine, f as SceneContextIdentity, ay as SceneExplorerServiceIdentity, az as SearchBar, aA as SearchBox, aB as SelectionServiceDefinition, g as SelectionServiceIdentity, aC as SettingsServiceIdentity, aD as SettingsStore, aE as SettingsStoreIdentity, S as ShellServiceIdentity, aF as ShowInspector, aG as SidePaneContainer, aH as SkeletonSelector, aI as Slider, aJ as SpinButton, d as SpinButtonPropertyLine, aK as StartInspectable, aL as StatsServiceIdentity, aM as StringDropdown, aN as StringDropdownPropertyLine, aO as StringifiedPropertyLine, aP as Switch, aQ as SwitchPropertyLine, aR as SyncedSliderInput, aS as SyncedSliderPropertyLine, aT as TeachingMoment, aU as TextAreaPropertyLine, aV as TextInput, T as TextInputPropertyLine, aW as TextPropertyLine, aX as Textarea, aY as TextureSelector, aZ as TextureUpload, a_ as Theme, a$ as ThemeServiceIdentity, b0 as ToastProvider, b1 as ToggleButton, k as ToolsServiceIdentity, b2 as Tooltip, b3 as UploadButton, b4 as Vector2PropertyLine, V as Vector3PropertyLine, b5 as Vector4PropertyLine, b6 as WatcherServiceIdentity, b7 as useAngleConverters, b8 as useAsyncResource, b9 as useColor3Property, ba as useColor4Property, bb as useEventListener, bc as useEventfulState, b as useInterceptObservable, bd as useKeyListener, be as useKeyState, bf as useObservableCollection, h as useObservableState, bg as useOrderedObservableCollection, bh as usePollingObservable, e as useProperty, bi as usePropertyChangedNotifier, bj as useQuaternionProperty, bk as useResource, bl as useTheme, bm as useThemeMode, a as useToast, bn as useVector3Property } from './index-
|
|
1
|
+
export { A as Accordion, i as AccordionSection, l as AccordionSectionItem, m as AttachDebugLayer, n as BooleanBadgePropertyLine, o as BoundProperty, p as BridgeCommandRegistryIdentity, q as BuiltInsExtensionFeed, B as Button, j as ButtonLine, r as Checkbox, C as CheckboxPropertyLine, s as ChildWindow, t as Collapse, v as Color3GradientComponent, w as Color3GradientList, x as Color3PropertyLine, y as Color4GradientComponent, z as Color4GradientList, D as Color4PropertyLine, E as ColorPickerPopup, F as ColorStepGradientComponent, G as ComboBox, H as ComboBoxPropertyLine, I as ConstructorFactory, J as ConvertOptions, K as DebugServiceIdentity, O as DetachDebugLayer, Q as DraggableLine, R as Dropdown, U as EntitySelector, W as ErrorBoundary, X as ExtensibleAccordion, Y as FactorGradientComponent, Z as FactorGradientList, _ as FileUploadLine, $ as GetPropertyDescriptor, a0 as GizmoServiceIdentity, a1 as HexPropertyLine, a2 as InfoLabel, a3 as InputHexField, a4 as InputHsvField, a5 as Inspector, a6 as InterceptFunction, a7 as InterceptProperty, a8 as IsPropertyReadonly, a9 as LineContainer, L as Link, aa as LinkPropertyLine, c as LinkToEntity, ab as LinkToEntityPropertyLine, ac as List, ad as MakeDialogTeachingMoment, ae as MakeLazyComponent, af as MakeModularBridge, ag as MakeModularTool, ah as MakePopoverTeachingMoment, ai as MakePropertyHook, aj as MakeTeachingMoment, ak as MaterialSelector, M as MessageBar, al as NodeSelector, am as NumberDropdown, an as NumberDropdownPropertyLine, N as NumberInputPropertyLine, ao as ObservableCollection, ap as Pane, aq as PlaceholderPropertyLine, P as Popover, ar as PositionedPopover, as as PropertiesServiceIdentity, at as Property, au as PropertyContext, av as PropertyLine, aw as QuaternionPropertyLine, ax as RotationVectorPropertyLine, f as SceneContextIdentity, ay as SceneExplorerServiceIdentity, az as SearchBar, aA as SearchBox, aB as SelectionServiceDefinition, g as SelectionServiceIdentity, aC as SettingsServiceIdentity, aD as SettingsStore, aE as SettingsStoreIdentity, S as ShellServiceIdentity, aF as ShowInspector, aG as SidePaneContainer, aH as SkeletonSelector, aI as Slider, aJ as SpinButton, d as SpinButtonPropertyLine, aK as StartInspectable, aL as StatsServiceIdentity, aM as StringDropdown, aN as StringDropdownPropertyLine, aO as StringifiedPropertyLine, aP as Switch, aQ as SwitchPropertyLine, aR as SyncedSliderInput, aS as SyncedSliderPropertyLine, aT as TeachingMoment, aU as TextAreaPropertyLine, aV as TextInput, T as TextInputPropertyLine, aW as TextPropertyLine, aX as Textarea, aY as TextureSelector, aZ as TextureUpload, a_ as Theme, a$ as ThemeServiceIdentity, b0 as ToastProvider, b1 as ToggleButton, k as ToolsServiceIdentity, b2 as Tooltip, b3 as UploadButton, b4 as Vector2PropertyLine, V as Vector3PropertyLine, b5 as Vector4PropertyLine, b6 as WatcherServiceIdentity, b7 as useAngleConverters, b8 as useAsyncResource, b9 as useColor3Property, ba as useColor4Property, bb as useEventListener, bc as useEventfulState, b as useInterceptObservable, bd as useKeyListener, be as useKeyState, bf as useObservableCollection, h as useObservableState, bg as useOrderedObservableCollection, bh as usePollingObservable, e as useProperty, bi as usePropertyChangedNotifier, bj as useQuaternionProperty, bk as useResource, bl as useTheme, bm as useThemeMode, a as useToast, bn as useVector3Property } from './index-DYOMPcC7.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import '@fluentui/react-components';
|
package/lib/inspectable.d.ts
CHANGED
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
import { type IDisposable } from "@babylonjs/core/index.js";
|
|
2
2
|
import { type Scene } from "@babylonjs/core/scene.js";
|
|
3
|
-
import {
|
|
4
|
-
import { type ModularBridgeToken } from "@babylonjs/shared-ui-components/modularTool/modularBridge.js";
|
|
3
|
+
import { ServiceContainer } from "@babylonjs/shared-ui-components/modularTool/modularity/serviceContainer.js";
|
|
4
|
+
import { type ModularBridgeOptions, type ModularBridgeToken } from "@babylonjs/shared-ui-components/modularTool/modularBridge.js";
|
|
5
5
|
/**
|
|
6
6
|
* Options for making a scene inspectable via the Inspector CLI.
|
|
7
7
|
*/
|
|
8
|
-
export type InspectableOptions = {
|
|
9
|
-
/**
|
|
10
|
-
* Additional service definitions to register with the inspectable container.
|
|
11
|
-
* These are added in a separate call from the built-in services and are removed
|
|
12
|
-
* when the returned token is disposed.
|
|
13
|
-
*/
|
|
14
|
-
serviceDefinitions?: readonly WeaklyTypedServiceDefinition[];
|
|
15
|
-
} & ({
|
|
8
|
+
export type InspectableOptions = (Pick<ModularBridgeOptions, "serviceDefinitions"> & {
|
|
16
9
|
/**
|
|
17
10
|
* An existing modular bridge token whose ServiceContainer will be used as
|
|
18
11
|
* the parent for the inspectable container. The bridge already exists
|
|
@@ -22,22 +15,9 @@ export type InspectableOptions = {
|
|
|
22
15
|
bridgeToken: ModularBridgeToken;
|
|
23
16
|
port?: never;
|
|
24
17
|
name?: never;
|
|
25
|
-
|
|
26
|
-
} | {
|
|
18
|
+
autoEnable?: never;
|
|
19
|
+
}) | (ModularBridgeOptions & {
|
|
27
20
|
bridgeToken?: never;
|
|
28
|
-
/**
|
|
29
|
-
* WebSocket port for the bridge's browser port. Defaults to 4400.
|
|
30
|
-
*/
|
|
31
|
-
port?: number;
|
|
32
|
-
/**
|
|
33
|
-
* Session display name reported to the bridge. Defaults to `document.title`.
|
|
34
|
-
*/
|
|
35
|
-
name?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Whether the CLI bridge should automatically start trying to connect
|
|
38
|
-
* when the inspectable session is created. Defaults to false.
|
|
39
|
-
*/
|
|
40
|
-
autoStart?: boolean;
|
|
41
21
|
});
|
|
42
22
|
/**
|
|
43
23
|
* A token returned by {@link StartInspectable} that can be disposed to disconnect
|
|
@@ -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-
|
|
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-DYOMPcC7.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';
|
|
@@ -772,4 +772,4 @@ var quickCreateToolsService = {
|
|
|
772
772
|
};
|
|
773
773
|
|
|
774
774
|
export { CreateToolsServiceDefinition, quickCreateToolsService as default };
|
|
775
|
-
//# sourceMappingURL=quickCreateToolsService-
|
|
775
|
+
//# sourceMappingURL=quickCreateToolsService-7_2Rei48.js.map
|