@ikas/storefront 0.0.142 → 0.0.143

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
@@ -19167,6 +19167,13 @@ var IkasBrandList = /** @class */ (function () {
19167
19167
  enumerable: false,
19168
19168
  configurable: true
19169
19169
  });
19170
+ Object.defineProperty(IkasBrandList.prototype, "pageCount", {
19171
+ get: function () {
19172
+ return Math.ceil(this._count / this._limit);
19173
+ },
19174
+ enumerable: false,
19175
+ configurable: true
19176
+ });
19170
19177
  Object.defineProperty(IkasBrandList.prototype, "isInitialized", {
19171
19178
  get: function () {
19172
19179
  return this._initialized;
@@ -19440,6 +19447,13 @@ var IkasBlogList = /** @class */ (function () {
19440
19447
  enumerable: false,
19441
19448
  configurable: true
19442
19449
  });
19450
+ Object.defineProperty(IkasBlogList.prototype, "pageCount", {
19451
+ get: function () {
19452
+ return Math.ceil(this._count / this._limit);
19453
+ },
19454
+ enumerable: false,
19455
+ configurable: true
19456
+ });
19443
19457
  Object.defineProperty(IkasBlogList.prototype, "isInitialized", {
19444
19458
  get: function () {
19445
19459
  return this._initialized;
@@ -19734,6 +19748,13 @@ var IkasCategoryList = /** @class */ (function () {
19734
19748
  enumerable: false,
19735
19749
  configurable: true
19736
19750
  });
19751
+ Object.defineProperty(IkasCategoryList.prototype, "pageCount", {
19752
+ get: function () {
19753
+ return Math.ceil(this._count / this._limit);
19754
+ },
19755
+ enumerable: false,
19756
+ configurable: true
19757
+ });
19737
19758
  Object.defineProperty(IkasCategoryList.prototype, "isInitialized", {
19738
19759
  get: function () {
19739
19760
  return this._initialized;
@@ -21319,6 +21340,13 @@ var IkasProductList = /** @class */ (function () {
21319
21340
  enumerable: false,
21320
21341
  configurable: true
21321
21342
  });
21343
+ Object.defineProperty(IkasProductList.prototype, "pageCount", {
21344
+ get: function () {
21345
+ return Math.ceil(this._count / this._limit);
21346
+ },
21347
+ enumerable: false,
21348
+ configurable: true
21349
+ });
21322
21350
  Object.defineProperty(IkasProductList.prototype, "searchKeyword", {
21323
21351
  get: function () {
21324
21352
  return this._searchKeyword;
package/build/index.js CHANGED
@@ -19155,6 +19155,13 @@ var IkasBrandList = /** @class */ (function () {
19155
19155
  enumerable: false,
19156
19156
  configurable: true
19157
19157
  });
19158
+ Object.defineProperty(IkasBrandList.prototype, "pageCount", {
19159
+ get: function () {
19160
+ return Math.ceil(this._count / this._limit);
19161
+ },
19162
+ enumerable: false,
19163
+ configurable: true
19164
+ });
19158
19165
  Object.defineProperty(IkasBrandList.prototype, "isInitialized", {
19159
19166
  get: function () {
19160
19167
  return this._initialized;
@@ -19426,6 +19433,13 @@ var IkasBlogList = /** @class */ (function () {
19426
19433
  enumerable: false,
19427
19434
  configurable: true
19428
19435
  });
19436
+ Object.defineProperty(IkasBlogList.prototype, "pageCount", {
19437
+ get: function () {
19438
+ return Math.ceil(this._count / this._limit);
19439
+ },
19440
+ enumerable: false,
19441
+ configurable: true
19442
+ });
19429
19443
  Object.defineProperty(IkasBlogList.prototype, "isInitialized", {
19430
19444
  get: function () {
19431
19445
  return this._initialized;
@@ -19719,6 +19733,13 @@ var IkasCategoryList = /** @class */ (function () {
19719
19733
  enumerable: false,
19720
19734
  configurable: true
19721
19735
  });
19736
+ Object.defineProperty(IkasCategoryList.prototype, "pageCount", {
19737
+ get: function () {
19738
+ return Math.ceil(this._count / this._limit);
19739
+ },
19740
+ enumerable: false,
19741
+ configurable: true
19742
+ });
19722
19743
  Object.defineProperty(IkasCategoryList.prototype, "isInitialized", {
19723
19744
  get: function () {
19724
19745
  return this._initialized;
@@ -21302,6 +21323,13 @@ var IkasProductList = /** @class */ (function () {
21302
21323
  enumerable: false,
21303
21324
  configurable: true
21304
21325
  });
21326
+ Object.defineProperty(IkasProductList.prototype, "pageCount", {
21327
+ get: function () {
21328
+ return Math.ceil(this._count / this._limit);
21329
+ },
21330
+ enumerable: false,
21331
+ configurable: true
21332
+ });
21305
21333
  Object.defineProperty(IkasProductList.prototype, "searchKeyword", {
21306
21334
  get: function () {
21307
21335
  return this._searchKeyword;
@@ -15,6 +15,7 @@ export declare class IkasBlogList {
15
15
  get limit(): number;
16
16
  get page(): number;
17
17
  get count(): number;
18
+ get pageCount(): number;
18
19
  get isInitialized(): boolean;
19
20
  get isStatic(): boolean;
20
21
  get hasPrev(): boolean;
@@ -16,6 +16,7 @@ export declare class IkasBrandList {
16
16
  get limit(): number;
17
17
  get page(): number;
18
18
  get count(): number;
19
+ get pageCount(): number;
19
20
  get isInitialized(): boolean;
20
21
  get isStatic(): boolean;
21
22
  get hasPrev(): boolean;
@@ -16,6 +16,7 @@ export declare class IkasCategoryList {
16
16
  get limit(): number;
17
17
  get page(): number;
18
18
  get count(): number;
19
+ get pageCount(): number;
19
20
  get isInitialized(): boolean;
20
21
  get isStatic(): boolean;
21
22
  get hasPrev(): boolean;
@@ -28,6 +28,7 @@ export declare class IkasProductList {
28
28
  get limit(): number;
29
29
  get page(): number;
30
30
  get count(): number;
31
+ get pageCount(): number;
31
32
  get searchKeyword(): string;
32
33
  set searchKeyword(value: string);
33
34
  get isInitialized(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.142",
3
+ "version": "0.0.143",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",