@thefittingroom/shop-ui 4.3.3 → 4.3.4
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/index.js +4 -2
- package/dist/index.umd.cjs +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20423,7 +20423,7 @@ class FittingRoomAPI {
|
|
|
20423
20423
|
return cachedAsset;
|
|
20424
20424
|
}
|
|
20425
20425
|
}
|
|
20426
|
-
console.debug("
|
|
20426
|
+
console.debug("colorwaySizeAsset sku not found in cache:", colorwaySizeAssetSku, Array.from(this.cachedColorwaySizeAssets.keys()));
|
|
20427
20427
|
const constraints = [
|
|
20428
20428
|
where("brand_id", "==", this.BrandID),
|
|
20429
20429
|
where("sku", "==", colorwaySizeAssetSku)
|
|
@@ -21887,7 +21887,7 @@ class SizeRecommendationController {
|
|
|
21887
21887
|
ShowTryOnButton() {
|
|
21888
21888
|
this.sizeRecComponent.showTryOnButton();
|
|
21889
21889
|
}
|
|
21890
|
-
|
|
21890
|
+
DisableTryOnButton(message) {
|
|
21891
21891
|
this.sizeRecComponent.disableTryOnButton(message);
|
|
21892
21892
|
}
|
|
21893
21893
|
EnableTryOnButton() {
|
|
@@ -22104,6 +22104,7 @@ class FittingRoomController {
|
|
|
22104
22104
|
this.SizeRecommendationController.Hide();
|
|
22105
22105
|
throw e;
|
|
22106
22106
|
}
|
|
22107
|
+
this.SizeRecommendationController.Show();
|
|
22107
22108
|
this.SizeRecommendationController.ShowTryOnButton();
|
|
22108
22109
|
}
|
|
22109
22110
|
close() {
|
|
@@ -22189,6 +22190,7 @@ class FittingRoomController {
|
|
|
22189
22190
|
const availableAssets = allCachedAssets.filter(
|
|
22190
22191
|
(asset) => availableSizeIDs.includes(asset.size_id) && asset.colorway_id === this.selectedColorwaySizeAsset.colorway_id
|
|
22191
22192
|
);
|
|
22193
|
+
console.debug("availableAssets", availableAssets);
|
|
22192
22194
|
const availableColorwaySizeAssetSKUs = availableAssets.map((asset) => asset.sku);
|
|
22193
22195
|
const batchResult = await this.API.PriorityTryOnWithMultiRequestCache(
|
|
22194
22196
|
this.firestoreUserController,
|
package/dist/index.umd.cjs
CHANGED
|
@@ -20427,7 +20427,7 @@ This typically indicates that your device does not have a healthy Internet conne
|
|
|
20427
20427
|
return cachedAsset;
|
|
20428
20428
|
}
|
|
20429
20429
|
}
|
|
20430
|
-
console.debug("
|
|
20430
|
+
console.debug("colorwaySizeAsset sku not found in cache:", colorwaySizeAssetSku, Array.from(this.cachedColorwaySizeAssets.keys()));
|
|
20431
20431
|
const constraints = [
|
|
20432
20432
|
where("brand_id", "==", this.BrandID),
|
|
20433
20433
|
where("sku", "==", colorwaySizeAssetSku)
|
|
@@ -21891,7 +21891,7 @@ This typically indicates that your device does not have a healthy Internet conne
|
|
|
21891
21891
|
ShowTryOnButton() {
|
|
21892
21892
|
this.sizeRecComponent.showTryOnButton();
|
|
21893
21893
|
}
|
|
21894
|
-
|
|
21894
|
+
DisableTryOnButton(message) {
|
|
21895
21895
|
this.sizeRecComponent.disableTryOnButton(message);
|
|
21896
21896
|
}
|
|
21897
21897
|
EnableTryOnButton() {
|
|
@@ -22108,6 +22108,7 @@ This typically indicates that your device does not have a healthy Internet conne
|
|
|
22108
22108
|
this.SizeRecommendationController.Hide();
|
|
22109
22109
|
throw e;
|
|
22110
22110
|
}
|
|
22111
|
+
this.SizeRecommendationController.Show();
|
|
22111
22112
|
this.SizeRecommendationController.ShowTryOnButton();
|
|
22112
22113
|
}
|
|
22113
22114
|
close() {
|
|
@@ -22193,6 +22194,7 @@ This typically indicates that your device does not have a healthy Internet conne
|
|
|
22193
22194
|
const availableAssets = allCachedAssets.filter(
|
|
22194
22195
|
(asset) => availableSizeIDs.includes(asset.size_id) && asset.colorway_id === this.selectedColorwaySizeAsset.colorway_id
|
|
22195
22196
|
);
|
|
22197
|
+
console.debug("availableAssets", availableAssets);
|
|
22196
22198
|
const availableColorwaySizeAssetSKUs = availableAssets.map((asset) => asset.sku);
|
|
22197
22199
|
const batchResult = await this.API.PriorityTryOnWithMultiRequestCache(
|
|
22198
22200
|
this.firestoreUserController,
|