@onerjs/inspector 8.43.9 → 8.44.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.
|
@@ -7963,7 +7963,7 @@ export type EntitySelectorProps<T extends Entity> = (PrimitiveProps<Nullable<T>>
|
|
|
7963
7963
|
/**
|
|
7964
7964
|
* Optional default value that enables clearing the current linked entity
|
|
7965
7965
|
*/
|
|
7966
|
-
defaultValue?: T
|
|
7966
|
+
defaultValue?: Nullable<T>;
|
|
7967
7967
|
};
|
|
7968
7968
|
/**
|
|
7969
7969
|
* A generic primitive component with a ComboBox for selecting from a list of entities.
|
|
@@ -8236,6 +8236,31 @@ type CollapseProps = {
|
|
|
8236
8236
|
export const Collapse: FunctionComponent<PropsWithChildren<CollapseProps>>;
|
|
8237
8237
|
export {};
|
|
8238
8238
|
|
|
8239
|
+
}
|
|
8240
|
+
declare module "@onerjs/inspector/fluent/primitives/clusteredLightContainerSelector" {
|
|
8241
|
+
import { FunctionComponent } from "react";
|
|
8242
|
+
import { Scene } from "@onerjs/core/scene";
|
|
8243
|
+
import { Nullable } from "@onerjs/core/types";
|
|
8244
|
+
import { PrimitiveProps } from "@onerjs/inspector/fluent/primitives/primitive";
|
|
8245
|
+
import { EntitySelectorProps } from "@onerjs/inspector/fluent/primitives/entitySelector";
|
|
8246
|
+
import { ClusteredLightContainer } from "@onerjs/core/Lights/Clustered/clusteredLightContainer";
|
|
8247
|
+
export type ClusteredLightContainerSelectorProps = PrimitiveProps<Nullable<ClusteredLightContainer>> & {
|
|
8248
|
+
/**
|
|
8249
|
+
* The scene to get clustered light containers from
|
|
8250
|
+
*/
|
|
8251
|
+
scene: Scene;
|
|
8252
|
+
/**
|
|
8253
|
+
* Optional filter function to filter which clustered light containers are shown
|
|
8254
|
+
*/
|
|
8255
|
+
filter?: (container: ClusteredLightContainer) => boolean;
|
|
8256
|
+
} & Omit<EntitySelectorProps<ClusteredLightContainer>, "getEntities" | "getName">;
|
|
8257
|
+
/**
|
|
8258
|
+
* A primitive component with a ComboBox for selecting from existing scene clustered light containers.
|
|
8259
|
+
* @param props ClusteredLightContainerSelectorProps
|
|
8260
|
+
* @returns ClusteredLightContainerSelector component
|
|
8261
|
+
*/
|
|
8262
|
+
export const ClusteredLightContainerSelector: FunctionComponent<ClusteredLightContainerSelectorProps>;
|
|
8263
|
+
|
|
8239
8264
|
}
|
|
8240
8265
|
declare module "@onerjs/inspector/fluent/primitives/checkbox" {
|
|
8241
8266
|
import { FunctionComponent } from "react";
|
|
@@ -8970,24 +8995,28 @@ export const HexPropertyLine: FunctionComponent<HexPropertyLineProps>;
|
|
|
8970
8995
|
|
|
8971
8996
|
}
|
|
8972
8997
|
declare module "@onerjs/inspector/fluent/hoc/propertyLines/entitySelectorPropertyLine" {
|
|
8998
|
+
import { Skeleton } from "@onerjs/core/Bones/skeleton";
|
|
8999
|
+
import { ClusteredLightContainer } from "@onerjs/core/Lights/Clustered/clusteredLightContainer";
|
|
9000
|
+
import { Material } from "@onerjs/core/Materials/material";
|
|
9001
|
+
import { BaseTexture } from "@onerjs/core/Materials/Textures/baseTexture";
|
|
8973
9002
|
import { Node } from "@onerjs/core/node";
|
|
8974
9003
|
import { Nullable } from "@onerjs/core/types";
|
|
8975
|
-
import {
|
|
8976
|
-
import { NodeSelectorProps } from "@onerjs/inspector/fluent/primitives/nodeSelector";
|
|
9004
|
+
import { ClusteredLightContainerSelectorProps } from "@onerjs/inspector/fluent/primitives/clusteredLightContainerSelector";
|
|
8977
9005
|
import { MaterialSelectorProps } from "@onerjs/inspector/fluent/primitives/materialSelector";
|
|
8978
|
-
import {
|
|
9006
|
+
import { NodeSelectorProps } from "@onerjs/inspector/fluent/primitives/nodeSelector";
|
|
8979
9007
|
import { SkeletonSelectorProps } from "@onerjs/inspector/fluent/primitives/skeletonSelector";
|
|
8980
|
-
import {
|
|
8981
|
-
import {
|
|
8982
|
-
import { Skeleton } from "@onerjs/core/Bones/skeleton";
|
|
9008
|
+
import { TextureSelectorProps } from "@onerjs/inspector/fluent/primitives/textureSelector";
|
|
9009
|
+
import { PropertyLineProps } from "@onerjs/inspector/fluent/hoc/propertyLines/propertyLine";
|
|
8983
9010
|
type NodeSelectorPropertyLineProps = PropertyLineProps<Nullable<Node>> & NodeSelectorProps;
|
|
8984
9011
|
type MaterialSelectorPropertyLineProps = PropertyLineProps<Nullable<Material>> & MaterialSelectorProps;
|
|
8985
9012
|
type TextureSelectorPropertyLineProps = PropertyLineProps<Nullable<BaseTexture>> & TextureSelectorProps;
|
|
8986
9013
|
type SkeletonSelectorPropertyLineProps = PropertyLineProps<Nullable<Skeleton>> & SkeletonSelectorProps;
|
|
9014
|
+
type ClusteredLightContainerSelectorPropertyLineProps = PropertyLineProps<Nullable<ClusteredLightContainer>> & ClusteredLightContainerSelectorProps;
|
|
8987
9015
|
export const NodeSelectorPropertyLine: (props: NodeSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
|
|
8988
9016
|
export const MaterialSelectorPropertyLine: (props: MaterialSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
|
|
8989
9017
|
export const TextureSelectorPropertyLine: (props: TextureSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
|
|
8990
9018
|
export const SkeletonSelectorPropertyLine: (props: SkeletonSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
|
|
9019
|
+
export const ClusteredLightContainerSelectorPropertyLine: (props: ClusteredLightContainerSelectorPropertyLineProps) => import("react/jsx-runtime").JSX.Element;
|
|
8991
9020
|
export {};
|
|
8992
9021
|
|
|
8993
9022
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onerjs/inspector",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.44.2",
|
|
4
4
|
"module": "dist/babylon.inspector.bundle.js",
|
|
5
5
|
"main": "dist/babylon.inspector.bundle.js",
|
|
6
6
|
"esnext": "dist/babylon.inspector.bundle.js",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"@types/react-dom": ">=16.0.9"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@onerjs/addons": "8.
|
|
38
|
-
"@onerjs/core": "8.
|
|
39
|
-
"@onerjs/gui": "8.
|
|
40
|
-
"@onerjs/gui-editor": "8.
|
|
41
|
-
"@onerjs/loaders": "8.
|
|
42
|
-
"@onerjs/materials": "8.
|
|
43
|
-
"@onerjs/serializers": "8.
|
|
37
|
+
"@onerjs/addons": "8.44.2",
|
|
38
|
+
"@onerjs/core": "8.44.2",
|
|
39
|
+
"@onerjs/gui": "8.44.2",
|
|
40
|
+
"@onerjs/gui-editor": "8.44.2",
|
|
41
|
+
"@onerjs/loaders": "8.44.2",
|
|
42
|
+
"@onerjs/materials": "8.44.2",
|
|
43
|
+
"@onerjs/serializers": "8.44.2",
|
|
44
44
|
"@lts/gui": "1.0.0",
|
|
45
45
|
"react": "^18.2.0",
|
|
46
46
|
"react-dom": "^18.2.0"
|