@ndmspc/ndmvr 1.1.0-rc.1 → 1.1.0-rc.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/dist/ndmvr.d.ts +11 -14
- package/dist/ndmvr.es.js +5452 -5299
- package/dist/ndmvr.umd.js +49 -47
- package/package.json +1 -1
package/dist/ndmvr.d.ts
CHANGED
|
@@ -92,11 +92,10 @@ export declare const HistogramContext: Context<any>;
|
|
|
92
92
|
|
|
93
93
|
export { histogramSubjectGet }
|
|
94
94
|
|
|
95
|
-
export declare function HistogramWrapper({ id
|
|
95
|
+
export declare function HistogramWrapper({ id }: HistogramWrapperProps): JSX.Element;
|
|
96
96
|
|
|
97
97
|
export declare interface HistogramWrapperProps {
|
|
98
98
|
id: string;
|
|
99
|
-
onHistogramModify?: (id: any, position: THREE.Vector3, scale: THREE.Vector3) => void;
|
|
100
99
|
}
|
|
101
100
|
|
|
102
101
|
export declare const IframeCernboxService: ({ targetOrigin, onConfigLoad }: IframeServiceProps_2) => any;
|
|
@@ -187,25 +186,23 @@ export declare interface NdmvrConfig {
|
|
|
187
186
|
config?: object;
|
|
188
187
|
}
|
|
189
188
|
|
|
190
|
-
export declare function
|
|
189
|
+
export declare function NdmvrContent(): JSX.Element;
|
|
190
|
+
|
|
191
|
+
export declare function NdmvrEnv({ children, menu, help, browser, showUIExternal, currentConfig, hierarchy, rootNode, hierarchyDocRef, onConfigChange, onUIStateChange, onSelectItem, }: NdmvrEnvProps): JSX.Element;
|
|
191
192
|
|
|
192
193
|
export declare interface NdmvrEnvProps {
|
|
193
194
|
children?: React.ReactNode;
|
|
194
|
-
controlsHelp?: boolean;
|
|
195
|
-
currentConfig?: NdmvrConfig;
|
|
196
|
-
onConfigChange?: ((config: NdmvrConfig) => void) | null;
|
|
197
195
|
menu?: boolean;
|
|
198
196
|
help?: boolean;
|
|
197
|
+
browser?: boolean;
|
|
199
198
|
showUIExternal?: boolean;
|
|
199
|
+
currentConfig?: NdmvrConfig;
|
|
200
|
+
hierarchy?: any;
|
|
201
|
+
rootNode?: any;
|
|
202
|
+
hierarchyDocRef?: React.MutableRefObject<HTMLDivElement>;
|
|
203
|
+
onConfigChange?: ((config: NdmvrConfig) => void) | null;
|
|
200
204
|
onUIStateChange?: (isVisible: boolean) => void;
|
|
201
|
-
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
export declare function NdmvrScene({ originRef, onHistogramModify }: NdmvrSceneProps): JSX.Element;
|
|
205
|
-
|
|
206
|
-
export declare interface NdmvrSceneProps {
|
|
207
|
-
originRef: React.RefObject<THREE.Group>;
|
|
208
|
-
onHistogramModify?: (id: any, position: THREE.Vector3, scale: THREE.Vector3) => void;
|
|
205
|
+
onSelectItem?: (path: string) => void;
|
|
209
206
|
}
|
|
210
207
|
|
|
211
208
|
export declare function RaycasterBridge({ rc, originRef, doubleClickMs, handedness, }: RaycasterBridgeProps): any;
|