@primestyleai/tryon 5.8.38 → 5.8.40
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.
|
@@ -2,7 +2,7 @@ import type { TranslateFn } from "../../i18n";
|
|
|
2
2
|
import type { FitAreaInfo } from "../../types";
|
|
3
3
|
import type { ViewState, SizeGuide, SizingResult } from "../types";
|
|
4
4
|
import type { BodyLandmarks } from "../../pose-detect";
|
|
5
|
-
export declare function SizeResultView({ sizingLoading, sizingResult, sizeGuide, resultImageUrl, productImage, productTitle, sizingUnit, setView, handleDownload, onRetryWithFit, retryLoading, selectedFile, previewUrl, handleFileSelect, handleRemovePreview, handleTryOnSubmit, tryOnProcessing, bodyLandmarks, estimationDone, activeSection, setActiveSection, onResetTryOn, onClose, userHeightCm, t, }: {
|
|
5
|
+
export declare function SizeResultView({ sizingLoading, sizingResult, sizeGuide, resultImageUrl, productImage, productTitle, sizingUnit, setView, handleDownload, onRetryWithFit, retryLoading, selectedFile, previewUrl, handleFileSelect, handleRemovePreview, handleTryOnSubmit, tryOnProcessing, bodyLandmarks, faceLandmarks, measurementType, estimationDone, activeSection, setActiveSection, onResetTryOn, onClose, userHeightCm, t, }: {
|
|
6
6
|
estimationDone?: boolean;
|
|
7
7
|
sizingLoading: boolean;
|
|
8
8
|
sizingResult: SizingResult | null;
|
|
@@ -22,6 +22,8 @@ export declare function SizeResultView({ sizingLoading, sizingResult, sizeGuide,
|
|
|
22
22
|
handleTryOnSubmit: (overrideFile?: File) => void;
|
|
23
23
|
tryOnProcessing?: boolean;
|
|
24
24
|
bodyLandmarks?: BodyLandmarks | null;
|
|
25
|
+
faceLandmarks?: import("../../face-detect").FaceLandmarks | null;
|
|
26
|
+
measurementType?: "body" | "face" | "head" | "foot";
|
|
25
27
|
activeSection: string | null;
|
|
26
28
|
setActiveSection: (s: string | null) => void;
|
|
27
29
|
/** Clear try-on result + uploaded photo so the user can retry from the photo guide. */
|