@ikas/storefront 0.0.76 → 0.0.77

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 CHANGED
@@ -19818,6 +19818,8 @@ var IkasProductList = /** @class */ (function () {
19818
19818
  return new IkasProductDetail(product, product.variants[0].variantValues);
19819
19819
  });
19820
19820
  }
19821
+ console.log("getInitial data log");
19822
+ console.log(data);
19821
19823
  this.applyFacets(response_1.facets);
19822
19824
  this.data = data;
19823
19825
  this._count = response_1.count;
@@ -20023,6 +20025,8 @@ var IkasProductList = /** @class */ (function () {
20023
20025
  return this._searchKeyword;
20024
20026
  },
20025
20027
  set: function (value) {
20028
+ if (value === this._searchKeyword)
20029
+ return;
20026
20030
  this._searchKeyword = value;
20027
20031
  this.searchDebouncer();
20028
20032
  },
@@ -20259,7 +20263,8 @@ var IkasProductList = /** @class */ (function () {
20259
20263
  };
20260
20264
  IkasProductList.prototype.onFilterCategoryClick = function (filterCategory) {
20261
20265
  var _a;
20262
- (_a = this.router) === null || _a === void 0 ? void 0 : _a.push(filterCategory.href + window.location.search);
20266
+ (_a = this.router) === null || _a === void 0 ? void 0 : _a.push(filterCategory.href +
20267
+ (this.filterQueryParams ? "?" + this.filterQueryParams : ""));
20263
20268
  };
20264
20269
  IkasProductList.prototype.toJSON = function () {
20265
20270
  return {
package/build/index.js CHANGED
@@ -19801,6 +19801,8 @@ var IkasProductList = /** @class */ (function () {
19801
19801
  return new IkasProductDetail(product, product.variants[0].variantValues);
19802
19802
  });
19803
19803
  }
19804
+ console.log("getInitial data log");
19805
+ console.log(data);
19804
19806
  this.applyFacets(response_1.facets);
19805
19807
  this.data = data;
19806
19808
  this._count = response_1.count;
@@ -20006,6 +20008,8 @@ var IkasProductList = /** @class */ (function () {
20006
20008
  return this._searchKeyword;
20007
20009
  },
20008
20010
  set: function (value) {
20011
+ if (value === this._searchKeyword)
20012
+ return;
20009
20013
  this._searchKeyword = value;
20010
20014
  this.searchDebouncer();
20011
20015
  },
@@ -20242,7 +20246,8 @@ var IkasProductList = /** @class */ (function () {
20242
20246
  };
20243
20247
  IkasProductList.prototype.onFilterCategoryClick = function (filterCategory) {
20244
20248
  var _a;
20245
- (_a = this.router) === null || _a === void 0 ? void 0 : _a.push(filterCategory.href + window.location.search);
20249
+ (_a = this.router) === null || _a === void 0 ? void 0 : _a.push(filterCategory.href +
20250
+ (this.filterQueryParams ? "?" + this.filterQueryParams : ""));
20246
20251
  };
20247
20252
  IkasProductList.prototype.toJSON = function () {
20248
20253
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.76",
3
+ "version": "0.0.77",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",