@ndmspc/ndmvr 1.1.0-rc.3 → 1.1.0-rc.4
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 +65 -22
- package/dist/ndmvr.es.js +8838 -8860
- package/dist/ndmvr.umd.js +30 -30
- package/package.json +1 -1
package/dist/ndmvr.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { canvasSubjectGet } from '@ndmspc/ndmvr-core';
|
|
|
4
4
|
import { ComponentType } from 'react';
|
|
5
5
|
import { configSubjectGet } from '@ndmspc/ndmvr-core';
|
|
6
6
|
import { Context } from 'react';
|
|
7
|
+
import { default as default_2 } from 'react';
|
|
7
8
|
import { DefaultXRControllerOptions } from '@pmndrs/xr';
|
|
8
9
|
import { DefaultXRGazeOptions } from '@pmndrs/xr';
|
|
9
10
|
import { DefaultXRHandOptions } from '@pmndrs/xr';
|
|
@@ -19,16 +20,15 @@ import { stateSubjectGet } from '@ndmspc/ndmvr-core';
|
|
|
19
20
|
import * as THREE from 'three';
|
|
20
21
|
import { XRStore } from '@pmndrs/xr';
|
|
21
22
|
|
|
22
|
-
export declare function BinInfo({
|
|
23
|
+
export declare function BinInfo({ precision }: BinInfoProps): JSX.Element;
|
|
24
|
+
|
|
25
|
+
export declare namespace BinInfo {
|
|
26
|
+
var menuName: string;
|
|
27
|
+
var menuLabel: string;
|
|
28
|
+
}
|
|
23
29
|
|
|
24
30
|
export declare interface BinInfoProps {
|
|
25
|
-
originRef: React.RefObject<THREE.Group>;
|
|
26
31
|
precision?: number;
|
|
27
|
-
offset?: {
|
|
28
|
-
x: number;
|
|
29
|
-
y: number;
|
|
30
|
-
z: number;
|
|
31
|
-
};
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
export { binInfoSubjectGet }
|
|
@@ -67,15 +67,20 @@ export declare function Controllers({ originRef, cameraRef, setShowMenu, setShow
|
|
|
67
67
|
export declare interface ControllersProps {
|
|
68
68
|
originRef: React.RefObject<THREE.Group>;
|
|
69
69
|
cameraRef: React.RefObject<THREE.Camera>;
|
|
70
|
-
setShowMenu
|
|
71
|
-
setShowHelp
|
|
70
|
+
setShowMenu?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
71
|
+
setShowHelp?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
72
72
|
desktopSpeed?: number;
|
|
73
73
|
vrSpeed?: number;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
export declare function
|
|
76
|
+
export declare function Demo(): JSX.Element;
|
|
77
77
|
|
|
78
|
-
export declare
|
|
78
|
+
export declare namespace Demo {
|
|
79
|
+
var menuName: string;
|
|
80
|
+
var menuLabel: string;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export declare function DesktopController({ originRef, cameraRef, speed, }: DesktopControllerProps): any;
|
|
79
84
|
|
|
80
85
|
export declare interface DesktopControllerProps {
|
|
81
86
|
originRef: React.RefObject<THREE.Group>;
|
|
@@ -85,8 +90,26 @@ export declare interface DesktopControllerProps {
|
|
|
85
90
|
onToggleHelp?: () => void;
|
|
86
91
|
}
|
|
87
92
|
|
|
93
|
+
export declare function DrawOptions(): JSX.Element;
|
|
94
|
+
|
|
95
|
+
export declare namespace DrawOptions {
|
|
96
|
+
var menuName: string;
|
|
97
|
+
var menuLabel: string;
|
|
98
|
+
}
|
|
99
|
+
|
|
88
100
|
export { functionSubjectGet }
|
|
89
101
|
|
|
102
|
+
export declare function HelperTips({ originRef }: HelperTipsProps): JSX.Element;
|
|
103
|
+
|
|
104
|
+
export declare namespace HelperTips {
|
|
105
|
+
var menuName: string;
|
|
106
|
+
var menuLabel: string;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
declare interface HelperTipsProps {
|
|
110
|
+
originRef?: default_2.RefObject<THREE.Group> | null;
|
|
111
|
+
}
|
|
112
|
+
|
|
90
113
|
export declare const HistogramContext: Context<any>;
|
|
91
114
|
|
|
92
115
|
export { histogramSubjectGet }
|
|
@@ -97,6 +120,13 @@ export declare interface HistogramWrapperProps {
|
|
|
97
120
|
id: string;
|
|
98
121
|
}
|
|
99
122
|
|
|
123
|
+
export declare function HttpConnectionMenu(): JSX.Element;
|
|
124
|
+
|
|
125
|
+
export declare namespace HttpConnectionMenu {
|
|
126
|
+
var menuName: string;
|
|
127
|
+
var menuLabel: string;
|
|
128
|
+
}
|
|
129
|
+
|
|
100
130
|
export declare const IframeCernboxService: ({ targetOrigin, onConfigLoad }: IframeServiceProps_2) => any;
|
|
101
131
|
|
|
102
132
|
declare interface IframeMessage {
|
|
@@ -120,20 +150,19 @@ declare interface IframeServiceProps_2 {
|
|
|
120
150
|
|
|
121
151
|
export declare function JsrootEnv(): JSX.Element;
|
|
122
152
|
|
|
123
|
-
export declare function Menu({
|
|
153
|
+
export declare function Menu({ children, defaultOpen, initialTabHelp, originRef, offset, scale, }: MenuProps): JSX.Element;
|
|
124
154
|
|
|
125
155
|
export declare interface MenuProps {
|
|
126
|
-
|
|
156
|
+
children?: React.ReactNode;
|
|
157
|
+
defaultOpen?: boolean;
|
|
158
|
+
initialTabHelp?: boolean;
|
|
159
|
+
originRef?: React.RefObject<THREE.Group> | null;
|
|
127
160
|
offset?: {
|
|
128
161
|
x: number;
|
|
129
162
|
y: number;
|
|
130
163
|
z: number;
|
|
131
164
|
};
|
|
132
|
-
|
|
133
|
-
currentConfig?: NdmvrConfig | null;
|
|
134
|
-
onConfigChange?: ((config: Record<string, unknown>) => void) | null;
|
|
135
|
-
openHelp?: () => void;
|
|
136
|
-
help?: boolean;
|
|
165
|
+
scale?: number;
|
|
137
166
|
}
|
|
138
167
|
|
|
139
168
|
export declare interface NdmspcConfig {
|
|
@@ -185,14 +214,14 @@ export declare interface NdmvrConfig {
|
|
|
185
214
|
config?: object;
|
|
186
215
|
}
|
|
187
216
|
|
|
188
|
-
export declare function NdmvrContent(
|
|
217
|
+
export declare function NdmvrContent({ children }: {
|
|
218
|
+
children?: React.ReactNode | null;
|
|
219
|
+
}): JSX.Element;
|
|
189
220
|
|
|
190
|
-
export declare function NdmvrEnv({ children,
|
|
221
|
+
export declare function NdmvrEnv({ children, browser, hierarchy, rootNode, hierarchyDocRef, onSelectItem, }: NdmvrEnvProps): JSX.Element;
|
|
191
222
|
|
|
192
223
|
export declare interface NdmvrEnvProps {
|
|
193
224
|
children?: React.ReactNode;
|
|
194
|
-
menu?: boolean;
|
|
195
|
-
help?: boolean;
|
|
196
225
|
browser?: boolean;
|
|
197
226
|
showUIExternal?: boolean;
|
|
198
227
|
currentConfig?: NdmvrConfig;
|
|
@@ -204,6 +233,13 @@ export declare interface NdmvrEnvProps {
|
|
|
204
233
|
onSelectItem?: (path: string) => void;
|
|
205
234
|
}
|
|
206
235
|
|
|
236
|
+
export declare function SettingsPanel(): JSX.Element;
|
|
237
|
+
|
|
238
|
+
export declare namespace SettingsPanel {
|
|
239
|
+
var menuName: string;
|
|
240
|
+
var menuLabel: string;
|
|
241
|
+
}
|
|
242
|
+
|
|
207
243
|
export { stateSubjectGet }
|
|
208
244
|
|
|
209
245
|
export declare const store: XRStore< {
|
|
@@ -231,4 +267,11 @@ export declare interface VRControllerProps {
|
|
|
231
267
|
onToggleHelp?: () => void;
|
|
232
268
|
}
|
|
233
269
|
|
|
270
|
+
export declare function WsConnectionMenu(): JSX.Element;
|
|
271
|
+
|
|
272
|
+
export declare namespace WsConnectionMenu {
|
|
273
|
+
var menuName: string;
|
|
274
|
+
var menuLabel: string;
|
|
275
|
+
}
|
|
276
|
+
|
|
234
277
|
export { }
|