@primestyleai/tryon 5.10.17 → 5.10.18
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/react/index.js +480 -476
- package/dist/react/index.js.map +1 -1
- package/dist/storefront/primestyle-tryon.js +14 -2
- package/package.json +1 -1
|
@@ -19307,7 +19307,13 @@ function SizeResultView({
|
|
|
19307
19307
|
unitLbl,
|
|
19308
19308
|
chartUnit: resultUnit,
|
|
19309
19309
|
lengthEntry: null,
|
|
19310
|
-
onBack:
|
|
19310
|
+
onBack: () => {
|
|
19311
|
+
if (resultImageUrl) {
|
|
19312
|
+
onResetTryOn?.();
|
|
19313
|
+
} else {
|
|
19314
|
+
setView("body-profile");
|
|
19315
|
+
}
|
|
19316
|
+
},
|
|
19311
19317
|
backLabel: t2("Back"),
|
|
19312
19318
|
internationalSizes: sizingResult?.internationalSizes,
|
|
19313
19319
|
onTryOn: resultImageUrl || vtoExcluded ? void 0 : handleSingleTryOn,
|
|
@@ -19355,7 +19361,13 @@ function SizeResultView({
|
|
|
19355
19361
|
unitLbl,
|
|
19356
19362
|
chartUnit: resultUnit,
|
|
19357
19363
|
lengthEntry: null,
|
|
19358
|
-
onBack:
|
|
19364
|
+
onBack: () => {
|
|
19365
|
+
if (resultImageUrl) {
|
|
19366
|
+
onResetTryOn?.();
|
|
19367
|
+
} else {
|
|
19368
|
+
setView("body-profile");
|
|
19369
|
+
}
|
|
19370
|
+
},
|
|
19359
19371
|
backLabel: t2("Back"),
|
|
19360
19372
|
internationalSizes: sizingResult?.internationalSizes,
|
|
19361
19373
|
onTryOn: resultImageUrl || vtoExcluded ? void 0 : handleSingleTryOn,
|