@solid-labs/fab-one-widget 1.1.5 → 1.1.6
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/{GirthManagerWidget-DfZSvg5n.js → GirthManagerWidget-DfTqUGxv.js} +1958 -1928
- package/dist/{GirthManagerWidget-DfZSvg5n.js.map → GirthManagerWidget-DfTqUGxv.js.map} +1 -1
- package/dist/girth-manager-ui/src/GirthManagerCore.d.ts +5 -2
- package/dist/girth-manager-web-widget/src/types.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/web-component.js +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,8 @@ import type { MeasurementFormData } from "./components/MeasurementInputForm";
|
|
|
4
4
|
import type { MeasurementData, WasmModule } from "./processing/types";
|
|
5
5
|
export interface GirthManagerResult {
|
|
6
6
|
spacingType: "AK" | "BK";
|
|
7
|
-
|
|
7
|
+
/** Unit of all measurement fields in this payload. "cm" for user-facing measurements; geometry (alignedGeometry, scanMeasurements[].yPosition) always stays in mm. */
|
|
8
|
+
sourceUnit: "mm" | "cm" | "inch";
|
|
8
9
|
fileFormat: "obj" | "stl";
|
|
9
10
|
measurementSource: "scan_derived" | "form_provided";
|
|
10
11
|
isDoubleWall: boolean;
|
|
@@ -50,5 +51,7 @@ export interface GirthManagerCoreProps {
|
|
|
50
51
|
onAnalyticsEvent?: (eventName: string, properties: Record<string, unknown>) => void;
|
|
51
52
|
/** Provide a loaded WASM module. If not provided, JS fallback is used. */
|
|
52
53
|
wasmModule?: WasmModule | null;
|
|
54
|
+
/** When true, skip the "Continue" step — auto-run the pipeline as soon as the second landmark is placed. */
|
|
55
|
+
autoProcessOnTwoPoints?: boolean;
|
|
53
56
|
}
|
|
54
|
-
export declare const GirthManagerCore: ({ config, spacingType: presetSpacingType, scanUrl, formMeasurements: presetFormMeasurements, onComplete, isDebugUser, onAnalyticsEvent, wasmModule: externalWasmModule, }: GirthManagerCoreProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
export declare const GirthManagerCore: ({ config, spacingType: presetSpacingType, scanUrl, formMeasurements: presetFormMeasurements, onComplete, isDebugUser, onAnalyticsEvent, wasmModule: externalWasmModule, autoProcessOnTwoPoints, }: GirthManagerCoreProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -20,7 +20,7 @@ export interface WidgetResponse {
|
|
|
20
20
|
/** Spacing type: above-knee or below-knee */
|
|
21
21
|
spacing_type: "AK" | "BK";
|
|
22
22
|
/** Unit of all measurements in this response */
|
|
23
|
-
source_unit: "mm" | "inch";
|
|
23
|
+
source_unit: "mm" | "cm" | "inch";
|
|
24
24
|
/** File format of the scan */
|
|
25
25
|
file_format: "obj" | "stl";
|
|
26
26
|
/** Whether measurements were derived from the scan or taken from the order form */
|
package/dist/index.js
CHANGED
package/dist/web-component.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElement as o } from "react";
|
|
2
2
|
import { createRoot as i } from "react-dom/client";
|
|
3
|
-
import { G as n, __tla as __tla_0 } from "./GirthManagerWidget-
|
|
3
|
+
import { G as n, __tla as __tla_0 } from "./GirthManagerWidget-DfTqUGxv.js";
|
|
4
4
|
let u;
|
|
5
5
|
let __tla = Promise.all([
|
|
6
6
|
(() => {
|