@solid-labs/fab-one-widget 0.1.0-alpha.0 → 0.1.0-alpha.1
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/FabOneWidget.d.ts +6 -4
- package/dist/fab-one-widget.js +364 -364
- package/package.json +1 -1
package/dist/FabOneWidget.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* FabOneWidget — Self-contained 3D prosthetic measurement widget.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* with WASM, renders 3D canvas with landmark selection
|
|
6
|
-
* measurement. Dispatches `measurements` CustomEvent when
|
|
4
|
+
* Synced with FabOneViewer2. Accepts `objUrl` and `amputationType` props.
|
|
5
|
+
* Fetches OBJ, processes with WASM, renders 3D canvas with landmark selection
|
|
6
|
+
* and circumference measurement. Dispatches `measurements` CustomEvent when
|
|
7
|
+
* data changes.
|
|
7
8
|
*/
|
|
8
9
|
export interface MeasurementData {
|
|
9
10
|
yPosition: number;
|
|
@@ -12,6 +13,7 @@ export interface MeasurementData {
|
|
|
12
13
|
}
|
|
13
14
|
export interface FabOneWidgetProps {
|
|
14
15
|
objUrl?: string;
|
|
16
|
+
spacingType?: "AK" | "BK";
|
|
15
17
|
}
|
|
16
|
-
declare const FabOneWidget: ({ objUrl }: FabOneWidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare const FabOneWidget: ({ objUrl, spacingType }: FabOneWidgetProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
19
|
export default FabOneWidget;
|