@ikas/storefront 0.0.158-alpha.10 → 0.0.158-alpha.11

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
@@ -22058,6 +22058,7 @@ var IkasProductList = /** @class */ (function () {
22058
22058
  var _a, _b;
22059
22059
  if (disableRoute === void 0) { disableRoute = false; }
22060
22060
  return __awaiter(this, void 0, void 0, function () {
22061
+ var _this = this;
22061
22062
  return __generator(this, function (_c) {
22062
22063
  switch (_c.label) {
22063
22064
  case 0:
@@ -22068,7 +22069,7 @@ var IkasProductList = /** @class */ (function () {
22068
22069
  this._filterCategoryId = filterCategory.id;
22069
22070
  (_a = this._filterCategories) === null || _a === void 0 ? void 0 : _a.forEach(function (fc) {
22070
22071
  //@ts-ignore
22071
- fc._isSelected = fc.id === filterCategory.id;
22072
+ fc._isSelected = fc.id === _this._filterCategoryId;
22072
22073
  });
22073
22074
  return [4 /*yield*/, this.applyFilters()];
22074
22075
  case 1:
package/build/index.js CHANGED
@@ -22041,6 +22041,7 @@ var IkasProductList = /** @class */ (function () {
22041
22041
  var _a, _b;
22042
22042
  if (disableRoute === void 0) { disableRoute = false; }
22043
22043
  return __awaiter(this, void 0, void 0, function () {
22044
+ var _this = this;
22044
22045
  return __generator(this, function (_c) {
22045
22046
  switch (_c.label) {
22046
22047
  case 0:
@@ -22051,7 +22052,7 @@ var IkasProductList = /** @class */ (function () {
22051
22052
  this._filterCategoryId = filterCategory.id;
22052
22053
  (_a = this._filterCategories) === null || _a === void 0 ? void 0 : _a.forEach(function (fc) {
22053
22054
  //@ts-ignore
22054
- fc._isSelected = fc.id === filterCategory.id;
22055
+ fc._isSelected = fc.id === _this._filterCategoryId;
22055
22056
  });
22056
22057
  return [4 /*yield*/, this.applyFilters()];
22057
22058
  case 1:
@@ -22,11 +22,11 @@ export declare class IkasFilterCategory {
22
22
  name: string;
23
23
  slug?: string | null;
24
24
  resultCount?: number | null;
25
- private _isSelected?;
25
+ private _isSelected;
26
26
  constructor(data: Partial<IkasFilterCategory>);
27
- get isSelected(): boolean | undefined;
27
+ get isSelected(): boolean;
28
28
  get href(): string;
29
29
  toJSON(): this & {
30
- isSelected: boolean | undefined;
30
+ isSelected: boolean;
31
31
  };
32
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.158-alpha.10",
3
+ "version": "0.0.158-alpha.11",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",