@primestyleai/tryon 5.10.182 → 5.10.183
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.
|
@@ -11575,6 +11575,10 @@ const FIT_KEYWORDS = [
|
|
|
11575
11575
|
fitType: "bag",
|
|
11576
11576
|
pattern: /\b(handbag|handbags|bag|bags|tote|totes|shoulder bag|hobo bag|crossbody|clutch|satchel|backpack|backpacks|weekender|duffle|duffel|wallet|wallets|purse|purses|briefcase|belt bag|fanny pack|luggage|suitcase|suitcases|small leather goods|leather goods)\b/i
|
|
11577
11577
|
},
|
|
11578
|
+
{
|
|
11579
|
+
fitType: "apparel",
|
|
11580
|
+
pattern: /\b(shirt|shirts|t-shirt|tee|top|tops|dress|dresses|jacket|jackets|coat|coats|pants|trousers|jeans|skirt|skirts|shorts|suit|suits|tuxedo|tuxedos|blazer|blazers|hoodie|hoodies|sweater|sweaters|cardigan|cardigans|apparel|clothing|garment|garments)\b/i
|
|
11581
|
+
},
|
|
11578
11582
|
{
|
|
11579
11583
|
fitType: "belt",
|
|
11580
11584
|
pattern: /\b(belt|belts|waist belt)\b/i
|
|
@@ -11602,10 +11606,6 @@ const FIT_KEYWORDS = [
|
|
|
11602
11606
|
{
|
|
11603
11607
|
fitType: "accessory",
|
|
11604
11608
|
pattern: /\b(accessory|accessories|jewelry|jewellery|brooch|brooches|scarf|scarves|glove|gloves)\b/i
|
|
11605
|
-
},
|
|
11606
|
-
{
|
|
11607
|
-
fitType: "apparel",
|
|
11608
|
-
pattern: /\b(shirt|shirts|t-shirt|tee|top|tops|dress|dresses|jacket|jackets|coat|coats|pants|trousers|jeans|skirt|skirts|shorts|suit|suits|tuxedo|tuxedos|blazer|blazers|hoodie|hoodies|sweater|sweaters|cardigan|cardigans|apparel|clothing|garment|garments)\b/i
|
|
11609
11609
|
}
|
|
11610
11610
|
];
|
|
11611
11611
|
function normalize(value) {
|
|
@@ -30018,7 +30018,7 @@ function BodyProfileView({
|
|
|
30018
30018
|
] }) }),
|
|
30019
30019
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-bpm-bottom", children: [
|
|
30020
30020
|
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", className: "ps-bpm-next-btn", onClick: handleNext, children: isShoeReferenceMode ? t2(!shoeBrandId ? "Choose brand" : !shoeSizeValue ? "Choose size" : "Analyze My Size") : t2("Analyze My Size") }),
|
|
30021
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
30021
|
+
!simplePhotoOnly && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
30022
30022
|
MobileBottomTabs,
|
|
30023
30023
|
{
|
|
30024
30024
|
mode: "scan",
|
|
@@ -30085,7 +30085,9 @@ function BodyProfileView({
|
|
|
30085
30085
|
handlePhotoSelect,
|
|
30086
30086
|
handleRemovePhoto,
|
|
30087
30087
|
onAnalyze: handleNext,
|
|
30088
|
-
onSwitchToManual: () =>
|
|
30088
|
+
onSwitchToManual: () => {
|
|
30089
|
+
if (!simplePhotoOnly) setStep("basics");
|
|
30090
|
+
},
|
|
30089
30091
|
error,
|
|
30090
30092
|
photoStepHeight,
|
|
30091
30093
|
onPhotoStepHeightChange: setPhotoStepHeight,
|
|
@@ -30100,7 +30102,7 @@ function BodyProfileView({
|
|
|
30100
30102
|
photoStatus,
|
|
30101
30103
|
photoRejection,
|
|
30102
30104
|
onClearRejection: () => setPhotoRejection(null),
|
|
30103
|
-
hideTabs:
|
|
30105
|
+
hideTabs: simplePhotoOnly,
|
|
30104
30106
|
t: t2
|
|
30105
30107
|
}
|
|
30106
30108
|
),
|
|
@@ -30692,7 +30694,7 @@ function BodyProfileView({
|
|
|
30692
30694
|
)
|
|
30693
30695
|
] })
|
|
30694
30696
|
] }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
30695
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-bp-photo-manual-switch", children: [
|
|
30697
|
+
!simplePhotoOnly && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ps-bp-photo-manual-switch", children: [
|
|
30696
30698
|
t2("Prefer not to upload a photo?"),
|
|
30697
30699
|
" ",
|
|
30698
30700
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|