@smplrspace/smplr-loader 2.44.1-beta.0 → 2.44.1-beta.10
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.
|
@@ -2132,7 +2132,7 @@ export declare type PointDataLayer<D extends UnknownData = NoData> = BaseDataLay
|
|
|
2132
2132
|
disableElevationCorrection?: boolean;
|
|
2133
2133
|
} & PointShapeOptions<D>;
|
|
2134
2134
|
|
|
2135
|
-
export declare type PointMapDataLayerDefinition<D extends UnknownSpaceData = SpaceNoData> = Omit<PointDataLayer<D>, 'type' | 'onDrag' | 'onDrop' | 'disableElevationCorrection' | 'onClick' | 'onHover' | 'onHoverOut'> & MapDataLayerSharedDefinition<PointData, D>;
|
|
2135
|
+
export declare type PointMapDataLayerDefinition<D extends UnknownSpaceData = SpaceNoData> = Omit<PointDataLayer<D>, 'type' | 'alpha' | 'onDrag' | 'onDrop' | 'disableElevationCorrection' | 'onClick' | 'onHover' | 'onHoverOut'> & MapDataLayerSharedDefinition<PointData, D>;
|
|
2136
2136
|
|
|
2137
2137
|
declare type PointShapeOptions<D> = SphereOptions<D> | CubeOptions<D>;
|
|
2138
2138
|
|
|
@@ -3642,7 +3642,11 @@ export declare interface SpaceViewerOptions {
|
|
|
3642
3642
|
|
|
3643
3643
|
declare interface SphereOptions<D> {
|
|
3644
3644
|
shape: 'sphere';
|
|
3645
|
-
diameter?: number |
|
|
3645
|
+
diameter?: number | {
|
|
3646
|
+
x: number;
|
|
3647
|
+
y: number;
|
|
3648
|
+
z: number;
|
|
3649
|
+
} | ((dataElement: PointData & D) => number | {
|
|
3646
3650
|
x: number;
|
|
3647
3651
|
y: number;
|
|
3648
3652
|
z: number;
|
|
@@ -3802,7 +3806,7 @@ declare interface Vector3Coord extends Vector2Coord {
|
|
|
3802
3806
|
z: number;
|
|
3803
3807
|
}
|
|
3804
3808
|
|
|
3805
|
-
export declare const version = "2.44.1-beta.
|
|
3809
|
+
export declare const version = "2.44.1-beta.10";
|
|
3806
3810
|
|
|
3807
3811
|
declare interface ViewerRendererHandle {
|
|
3808
3812
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|