@primestyleai/tryon 5.6.4 → 5.6.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.
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { TranslateFn } from "../../i18n";
|
|
2
|
+
import type { Profile } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Profile detail view — shown when the user taps a profile card in the
|
|
5
|
+
* grid. Displays the profile name, basic stats, and the full LLM-computed
|
|
6
|
+
* body measurements (chest, waist, hips, sleeve, inseam, etc.) in a clean
|
|
7
|
+
* grid. Measurements appear with a "Calculating..." placeholder while the
|
|
8
|
+
* background estimateFullMeasurements call is in flight.
|
|
9
|
+
*/
|
|
10
|
+
interface ProfileMeasurementsViewProps {
|
|
11
|
+
profile: Profile;
|
|
12
|
+
isActive: boolean;
|
|
13
|
+
onSelect: () => void;
|
|
14
|
+
onEdit: () => void;
|
|
15
|
+
onDelete: () => void;
|
|
16
|
+
onBack: () => void;
|
|
17
|
+
/** Save the profile and return to the grid (only enabled once measurements arrive) */
|
|
18
|
+
onSave: () => void;
|
|
19
|
+
t: TranslateFn;
|
|
20
|
+
}
|
|
21
|
+
export declare function ProfileMeasurementsView({ profile, isActive, onSelect, onEdit, onDelete, onBack, onSave, t, }: ProfileMeasurementsViewProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export {};
|