@babylonjs/inspector 8.49.5 → 8.49.6

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/lib/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ComponentType, ComponentProps, FunctionComponent, PropsWithChildren, HTMLProps, Ref, ForwardRefExoticComponent, RefAttributes, MouseEvent, ElementRef, ReactNode, ReactElement } from 'react';
3
+ import { ComponentType, ComponentProps, MouseEventHandler, FunctionComponent, PropsWithChildren, HTMLProps, Ref, ForwardRefExoticComponent, RefAttributes, MouseEvent, ElementRef, ReactNode, ReactElement } from 'react';
4
4
  import { IDisposable as IDisposable$1, Nullable as Nullable$1, IReadonlyObservable as IReadonlyObservable$2, Scene as Scene$1, IInspectorOptions as IInspectorOptions$1 } from '@babylonjs/core/index.js';
5
5
  import { IReadonlyObservable as IReadonlyObservable$1, Observable as Observable$1 } from '@babylonjs/core/Misc/observable.js';
6
6
  import { Nullable as Nullable$2 } from '@babylonjs/core/types.js';
@@ -101,6 +101,10 @@ type InfoLabelProps = {
101
101
  * When true, applies flex layout styling to the label slot for proper truncation in flex containers
102
102
  */
103
103
  flexLabel?: boolean;
104
+ /**
105
+ * Handler for right-click context menu. Also triggers on Ctrl+click.
106
+ */
107
+ onContextMenu?: MouseEventHandler;
104
108
  };
105
109
  type InfoLabelParentProps = Omit<InfoLabelProps, "htmlFor">;
106
110
  /**
@@ -990,6 +994,11 @@ declare function useAsyncResource<T extends IDisposable$1>(factory: (abortSignal
990
994
  * @returns A tuple containing the current compact mode value, a function to update it, and a function to reset it.
991
995
  */
992
996
  declare function useCompactMode(): readonly [boolean, react.Dispatch<react.SetStateAction<boolean>>, () => void];
997
+ /**
998
+ * Gets the disable copy setting.
999
+ * @returns A tuple containing the current disable copy value, a function to update it, and a function to reset it.
1000
+ */
1001
+ declare function useDisableCopy(): readonly [boolean, react.Dispatch<react.SetStateAction<boolean>>, () => void];
993
1002
  /**
994
1003
  * Gets the side pane dock overrides configuration.
995
1004
  * @returns A record mapping side pane IDs to their dock locations.
@@ -73057,5 +73066,5 @@ declare const Vector2PropertyLine: FunctionComponent<TensorPropertyLineProps<Vec
73057
73066
  declare const Vector3PropertyLine: FunctionComponent<TensorPropertyLineProps<Vector3>>;
73058
73067
  declare const Vector4PropertyLine: FunctionComponent<TensorPropertyLineProps<Vector4>>;
73059
73068
 
73060
- export { Accordion, AccordionSection, AttachDebugLayer, BooleanBadgePropertyLine, BoundProperty, BuiltInsExtensionFeed, Button, ButtonLine, Checkbox, CheckboxPropertyLine, ChildWindow, Collapse, Color3GradientComponent, Color3GradientList, Color3PropertyLine, Color4GradientComponent, Color4GradientList, Color4PropertyLine, ColorPickerPopup, ColorStepGradientComponent, ComboBox, ConstructorFactory, ConvertOptions, DebugServiceIdentity, DetachDebugLayer, DraggableLine, Dropdown, ExtensibleAccordion, FactorGradientComponent, FactorGradientList, FileUploadLine, GetPropertyDescriptor, HexPropertyLine, InfoLabel, InputHexField, InputHsvField, Inspector, InterceptFunction, InterceptProperty, IsPropertyReadonly, LineContainer, Link, LinkPropertyLine, LinkToEntityPropertyLine, List, MakeDialogTeachingMoment, MakeLazyComponent, MakePopoverTeachingMoment, MakePropertyHook, MakeTeachingMoment, MessageBar, NumberDropdown, NumberDropdownPropertyLine, NumberInputPropertyLine, ObservableCollection, Pane, PlaceholderPropertyLine, PositionedPopover, PropertiesServiceIdentity, Property, PropertyLine, QuaternionPropertyLine, RotationVectorPropertyLine, SceneContextIdentity, SceneExplorerServiceIdentity, SearchBar, SearchBox, SelectionServiceDefinition, SelectionServiceIdentity, SettingsContextIdentity, SettingsServiceIdentity, ShellServiceIdentity, ShowInspector, SidePaneContainer, SpinButton, SpinButtonPropertyLine, StatsServiceIdentity, StringDropdown, StringDropdownPropertyLine, StringifiedPropertyLine, Switch, SwitchPropertyLine, SyncedSliderInput, SyncedSliderPropertyLine, TeachingMoment, TextAreaPropertyLine, TextInput, TextInputPropertyLine, TextPropertyLine, Textarea, Theme, ToggleButton, ToolsServiceIdentity, Vector2PropertyLine, Vector3PropertyLine, Vector4PropertyLine, useAngleConverters, useAsyncResource, useColor3Property, useColor4Property, useCompactMode, useEventfulState, useInterceptObservable, useObservableCollection, useObservableState, useOrderedObservableCollection, usePollingObservable, useProperty, useQuaternionProperty, useResource, useSidePaneDockOverrides, useVector3Property };
73069
+ export { Accordion, AccordionSection, AttachDebugLayer, BooleanBadgePropertyLine, BoundProperty, BuiltInsExtensionFeed, Button, ButtonLine, Checkbox, CheckboxPropertyLine, ChildWindow, Collapse, Color3GradientComponent, Color3GradientList, Color3PropertyLine, Color4GradientComponent, Color4GradientList, Color4PropertyLine, ColorPickerPopup, ColorStepGradientComponent, ComboBox, ConstructorFactory, ConvertOptions, DebugServiceIdentity, DetachDebugLayer, DraggableLine, Dropdown, ExtensibleAccordion, FactorGradientComponent, FactorGradientList, FileUploadLine, GetPropertyDescriptor, HexPropertyLine, InfoLabel, InputHexField, InputHsvField, Inspector, InterceptFunction, InterceptProperty, IsPropertyReadonly, LineContainer, Link, LinkPropertyLine, LinkToEntityPropertyLine, List, MakeDialogTeachingMoment, MakeLazyComponent, MakePopoverTeachingMoment, MakePropertyHook, MakeTeachingMoment, MessageBar, NumberDropdown, NumberDropdownPropertyLine, NumberInputPropertyLine, ObservableCollection, Pane, PlaceholderPropertyLine, PositionedPopover, PropertiesServiceIdentity, Property, PropertyLine, QuaternionPropertyLine, RotationVectorPropertyLine, SceneContextIdentity, SceneExplorerServiceIdentity, SearchBar, SearchBox, SelectionServiceDefinition, SelectionServiceIdentity, SettingsContextIdentity, SettingsServiceIdentity, ShellServiceIdentity, ShowInspector, SidePaneContainer, SpinButton, SpinButtonPropertyLine, StatsServiceIdentity, StringDropdown, StringDropdownPropertyLine, StringifiedPropertyLine, Switch, SwitchPropertyLine, SyncedSliderInput, SyncedSliderPropertyLine, TeachingMoment, TextAreaPropertyLine, TextInput, TextInputPropertyLine, TextPropertyLine, Textarea, Theme, ToggleButton, ToolsServiceIdentity, Vector2PropertyLine, Vector3PropertyLine, Vector4PropertyLine, useAngleConverters, useAsyncResource, useColor3Property, useColor4Property, useCompactMode, useDisableCopy, useEventfulState, useInterceptObservable, useObservableCollection, useObservableState, useOrderedObservableCollection, usePollingObservable, useProperty, useQuaternionProperty, useResource, useSidePaneDockOverrides, useVector3Property };
73061
73070
  export type { AcceptedDropdownValue, AccordionProps, AccordionSectionProps, BasePrimitiveProps, BoundPropertyProps, BuiltInExtension, ButtonProps, CentralContentDefinition, ChildWindowOptions, ChildWindowProps, ColorPickerProps, ColorPropertyLineProps, ComboBoxOption, ComboBoxProps, DraggableLineProps, DropdownOption, DropdownProps, DynamicAccordionSection, DynamicAccordionSectionContent, EntityDisplayInfo, ExtensionMetadata, ExtensionModule, FunctionHooks, HexPropertyLineProps, IDebugService, IExtensionFeed, IExtensionMetadataQuery, IPropertiesService, ISceneContext, ISceneExplorerService, ISelectionService, IService, ISettingsContext, ISettingsService, IShellService, IStatsService, IToolsService, ImmutablePrimitiveProps, InfoLabelParentProps, InfoLabelProps, InputHexProps, InspectorOptions, InspectorToken, LinkProps, ListItem, NumberInputPropertyLineProps, PaneProps, PersonMetadata, PrimitiveProps, PropertyHooks, PropertyLineProps, PropertyProps, SceneExplorerCommand, SceneExplorerCommandProvider, SceneExplorerSection, SectionsImperativeRef, ServiceDefinition, ServiceFactory, SidePaneDefinition, SpinButtonProps, SwitchProps, SyncedSliderProps, TensorPropertyLineProps, TextInputProps, TextareaProps, ToolbarItemDefinition };
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { A as Accordion, d as AccordionSection, p as AttachDebugLayer, aH as BooleanBadgePropertyLine, t as BoundProperty, y as BuiltInsExtensionFeed, B as Button, e as ButtonLine, ab as Checkbox, C as CheckboxPropertyLine, aB as ChildWindow, ac as Collapse, am as Color3GradientComponent, aE as Color3GradientList, aI as Color3PropertyLine, an as Color4GradientComponent, aF as Color4GradientList, aJ as Color4PropertyLine, ad as ColorPickerPopup, ao as ColorStepGradientComponent, ag as ComboBox, a6 as ConstructorFactory, o as ConvertOptions, D as DebugServiceIdentity, q as DetachDebugLayer, ah as DraggableLine, ai as Dropdown, E as ExtensibleAccordion, al as FactorGradientComponent, aD as FactorGradientList, aC as FileUploadLine, a2 as GetPropertyDescriptor, aK as HexPropertyLine, ap as InfoLabel, ae as InputHexField, af as InputHsvField, I as Inspector, a1 as InterceptFunction, a4 as InterceptProperty, a3 as IsPropertyReadonly, aN as LineContainer, L as Link, aL as LinkPropertyLine, w as LinkToEntityPropertyLine, ar as List, a0 as MakeDialogTeachingMoment, aq as MakeLazyComponent, h as MakePopoverTeachingMoment, J as MakePropertyHook, $ as MakeTeachingMoment, M as MessageBar, aj as NumberDropdown, r as NumberDropdownPropertyLine, N as NumberInputPropertyLine, a5 as ObservableCollection, aG as Pane, aO as PlaceholderPropertyLine, as as PositionedPopover, k as PropertiesServiceIdentity, v as Property, aM as PropertyLine, aV as QuaternionPropertyLine, aU as RotationVectorPropertyLine, b as SceneContextIdentity, l as SceneExplorerServiceIdentity, at as SearchBar, au as SearchBox, a8 as SelectionServiceDefinition, a7 as SelectionServiceIdentity, a9 as SettingsContextIdentity, m as SettingsServiceIdentity, a as ShellServiceIdentity, aa as ShowInspector, j as SidePaneContainer, av as SpinButton, S as SpinButtonPropertyLine, n as StatsServiceIdentity, ak as StringDropdown, s as StringDropdownPropertyLine, aP as StringifiedPropertyLine, aw as Switch, aQ as SwitchPropertyLine, ax as SyncedSliderInput, aR as SyncedSliderPropertyLine, i as TeachingMoment, aS as TextAreaPropertyLine, az as TextInput, T as TextInputPropertyLine, aT as TextPropertyLine, ay as Textarea, x as Theme, aA as ToggleButton, f as ToolsServiceIdentity, aW as Vector2PropertyLine, V as Vector3PropertyLine, aX as Vector4PropertyLine, _ as useAngleConverters, X as useAsyncResource, F as useColor3Property, G as useColor4Property, Y as useCompactMode, O as useEventfulState, K as useInterceptObservable, Q as useObservableCollection, c as useObservableState, R as useOrderedObservableCollection, U as usePollingObservable, u as useProperty, H as useQuaternionProperty, W as useResource, Z as useSidePaneDockOverrides, z as useVector3Property } from './index-BASe6-NS.js';
1
+ export { A as Accordion, d as AccordionSection, p as AttachDebugLayer, aI as BooleanBadgePropertyLine, t as BoundProperty, y as BuiltInsExtensionFeed, B as Button, e as ButtonLine, ac as Checkbox, C as CheckboxPropertyLine, aC as ChildWindow, ad as Collapse, an as Color3GradientComponent, aF as Color3GradientList, aJ as Color3PropertyLine, ao as Color4GradientComponent, aG as Color4GradientList, aK as Color4PropertyLine, ae as ColorPickerPopup, ap as ColorStepGradientComponent, ah as ComboBox, a7 as ConstructorFactory, o as ConvertOptions, D as DebugServiceIdentity, q as DetachDebugLayer, ai as DraggableLine, aj as Dropdown, E as ExtensibleAccordion, am as FactorGradientComponent, aE as FactorGradientList, aD as FileUploadLine, a3 as GetPropertyDescriptor, aL as HexPropertyLine, aq as InfoLabel, af as InputHexField, ag as InputHsvField, I as Inspector, a2 as InterceptFunction, a5 as InterceptProperty, a4 as IsPropertyReadonly, aO as LineContainer, L as Link, aM as LinkPropertyLine, w as LinkToEntityPropertyLine, as as List, a1 as MakeDialogTeachingMoment, ar as MakeLazyComponent, h as MakePopoverTeachingMoment, J as MakePropertyHook, a0 as MakeTeachingMoment, M as MessageBar, ak as NumberDropdown, r as NumberDropdownPropertyLine, N as NumberInputPropertyLine, a6 as ObservableCollection, aH as Pane, aP as PlaceholderPropertyLine, at as PositionedPopover, k as PropertiesServiceIdentity, v as Property, aN as PropertyLine, aW as QuaternionPropertyLine, aV as RotationVectorPropertyLine, b as SceneContextIdentity, l as SceneExplorerServiceIdentity, au as SearchBar, av as SearchBox, a9 as SelectionServiceDefinition, a8 as SelectionServiceIdentity, aa as SettingsContextIdentity, m as SettingsServiceIdentity, a as ShellServiceIdentity, ab as ShowInspector, j as SidePaneContainer, aw as SpinButton, S as SpinButtonPropertyLine, n as StatsServiceIdentity, al as StringDropdown, s as StringDropdownPropertyLine, aQ as StringifiedPropertyLine, ax as Switch, aR as SwitchPropertyLine, ay as SyncedSliderInput, aS as SyncedSliderPropertyLine, i as TeachingMoment, aT as TextAreaPropertyLine, aA as TextInput, T as TextInputPropertyLine, aU as TextPropertyLine, az as Textarea, x as Theme, aB as ToggleButton, f as ToolsServiceIdentity, aX as Vector2PropertyLine, V as Vector3PropertyLine, aY as Vector4PropertyLine, $ as useAngleConverters, X as useAsyncResource, F as useColor3Property, G as useColor4Property, Y as useCompactMode, Z as useDisableCopy, O as useEventfulState, K as useInterceptObservable, Q as useObservableCollection, c as useObservableState, R as useOrderedObservableCollection, U as usePollingObservable, u as useProperty, H as useQuaternionProperty, W as useResource, _ as useSidePaneDockOverrides, z as useVector3Property } from './index-ByfjmUIP.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import '@fluentui/react-components';
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
- import { P as Popover, B as Button, T as TextInputPropertyLine, S as SpinButtonPropertyLine, C as CheckboxPropertyLine, V as Vector3PropertyLine, u as useProperty, M as MessageBar, a as ShellServiceIdentity, b as SceneContextIdentity, c as useObservableState, A as Accordion, d as AccordionSection } from './index-BASe6-NS.js';
2
+ import { P as Popover, B as Button, T as TextInputPropertyLine, S as SpinButtonPropertyLine, C as CheckboxPropertyLine, V as Vector3PropertyLine, u as useProperty, M as MessageBar, a as ShellServiceIdentity, b as SceneContextIdentity, c as useObservableState, A as Accordion, d as AccordionSection } from './index-ByfjmUIP.js';
3
3
  import { SettingsRegular, CollectionsAdd20Regular } from '@fluentui/react-icons';
4
4
  import '@babylonjs/core/Particles/webgl2ParticleSystem.js';
5
5
  import { MeshBuilder } from '@babylonjs/core/Meshes/meshBuilder.js';
@@ -703,4 +703,4 @@ var quickCreateToolsService = {
703
703
  };
704
704
 
705
705
  export { CreateToolsServiceDefinition, quickCreateToolsService as default };
706
- //# sourceMappingURL=quickCreateToolsService-rqCUoLxv.js.map
706
+ //# sourceMappingURL=quickCreateToolsService-B55TQEXK.js.map