@ikas/storefront 0.0.60 → 0.0.62
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/build/index.es.js +4 -4
- package/build/index.js +4 -4
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -12370,9 +12370,9 @@ var IkasImage = /** @class */ (function () {
|
|
|
12370
12370
|
});
|
|
12371
12371
|
IkasImage.prototype.getSrc = function (size) {
|
|
12372
12372
|
if (this.id.includes("/"))
|
|
12373
|
-
return
|
|
12373
|
+
return process.env.NEXT_PUBLIC_IMG_BASE_URL + "images/" + this.id + "/image_" + size + ".webp";
|
|
12374
12374
|
var merchantId = decodeBase64(this.editorApiKey || IkasStorefrontConfig.config.apiKey || "");
|
|
12375
|
-
return
|
|
12375
|
+
return process.env.NEXT_PUBLIC_IMG_BASE_URL + "images/" + merchantId + "/" + this.id + "/image_" + size + ".webp";
|
|
12376
12376
|
};
|
|
12377
12377
|
return IkasImage;
|
|
12378
12378
|
}());
|
|
@@ -19960,7 +19960,7 @@ var IkasProductList = /** @class */ (function () {
|
|
|
19960
19960
|
this._filterCategoryId = data.filterCategoryId || null;
|
|
19961
19961
|
this._recommendFor = data.recommendFor;
|
|
19962
19962
|
this.filters = data.filters
|
|
19963
|
-
? data.filters.map(function (f) { return new IkasProductFilter(f); })
|
|
19963
|
+
? data.filters.map(function (f) { return new IkasProductFilter(f, _this); })
|
|
19964
19964
|
: null;
|
|
19965
19965
|
this._filterCategories = data.filterCategories
|
|
19966
19966
|
? data.filterCategories.map(function (c) { return new IkasFilterCategory(c); })
|
|
@@ -27624,7 +27624,7 @@ var Image = function (_a) {
|
|
|
27624
27624
|
var width = _a.width;
|
|
27625
27625
|
return image.getSrc(width);
|
|
27626
27626
|
};
|
|
27627
|
-
return (createElement(Image$1, __assign({}, others, { loader: loader, quality: 100, src: image.src })));
|
|
27627
|
+
return (createElement(Image$1, __assign({}, others, { loader: loader, quality: 100, src: image.src, alt: others.alt || "Image" })));
|
|
27628
27628
|
};
|
|
27629
27629
|
|
|
27630
27630
|
var GTMHead = function (_a) {
|
package/build/index.js
CHANGED
|
@@ -12382,9 +12382,9 @@ var IkasImage = /** @class */ (function () {
|
|
|
12382
12382
|
});
|
|
12383
12383
|
IkasImage.prototype.getSrc = function (size) {
|
|
12384
12384
|
if (this.id.includes("/"))
|
|
12385
|
-
return
|
|
12385
|
+
return process.env.NEXT_PUBLIC_IMG_BASE_URL + "images/" + this.id + "/image_" + size + ".webp";
|
|
12386
12386
|
var merchantId = decodeBase64(this.editorApiKey || IkasStorefrontConfig.config.apiKey || "");
|
|
12387
|
-
return
|
|
12387
|
+
return process.env.NEXT_PUBLIC_IMG_BASE_URL + "images/" + merchantId + "/" + this.id + "/image_" + size + ".webp";
|
|
12388
12388
|
};
|
|
12389
12389
|
return IkasImage;
|
|
12390
12390
|
}());
|
|
@@ -19941,7 +19941,7 @@ var IkasProductList = /** @class */ (function () {
|
|
|
19941
19941
|
this._filterCategoryId = data.filterCategoryId || null;
|
|
19942
19942
|
this._recommendFor = data.recommendFor;
|
|
19943
19943
|
this.filters = data.filters
|
|
19944
|
-
? data.filters.map(function (f) { return new IkasProductFilter(f); })
|
|
19944
|
+
? data.filters.map(function (f) { return new IkasProductFilter(f, _this); })
|
|
19945
19945
|
: null;
|
|
19946
19946
|
this._filterCategories = data.filterCategories
|
|
19947
19947
|
? data.filterCategories.map(function (c) { return new IkasFilterCategory(c); })
|
|
@@ -27602,7 +27602,7 @@ var Image = function (_a) {
|
|
|
27602
27602
|
var width = _a.width;
|
|
27603
27603
|
return image.getSrc(width);
|
|
27604
27604
|
};
|
|
27605
|
-
return (React.createElement(Image__default['default'], __assign({}, others, { loader: loader, quality: 100, src: image.src })));
|
|
27605
|
+
return (React.createElement(Image__default['default'], __assign({}, others, { loader: loader, quality: 100, src: image.src, alt: others.alt || "Image" })));
|
|
27606
27606
|
};
|
|
27607
27607
|
|
|
27608
27608
|
var GTMHead = function (_a) {
|