@wizishop/img-manager 15.2.37 → 15.2.39

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.
@@ -2090,6 +2090,9 @@ class PagniationIsLastPage {
2090
2090
  * @param itemsPerPage
2091
2091
  */
2092
2092
  transform(currentPage, totalItems, itemsPerPage) {
2093
+ console.log('currentPage', currentPage);
2094
+ console.log('totalItems', totalItems);
2095
+ console.log('itemsPerPage', itemsPerPage);
2093
2096
  if (!(currentPage >= 0 && totalItems >= 0 && itemsPerPage >= 0)) {
2094
2097
  throw new Error('currentPage or totalItems or itemsPerPage is/are missing in PagniationIsLastPage pipe.');
2095
2098
  }
@@ -3336,6 +3339,7 @@ class ImagesViewComponent {
3336
3339
  this.selectImgSelected();
3337
3340
  this.length = this.isTotalRetrieved ? this.length : data.totalRecords;
3338
3341
  this.tableFilters.totalItems = this.isTotalRetrieved ? this.tableFilters.totalItems : data.totalRecords;
3342
+ console.log('this.tableFilters.totalItems 1', this.tableFilters.totalItems);
3339
3343
  this.tableFilters.itemsPerPage = this.tableFilters.itemsPerPage ? this.tableFilters.itemsPerPage : this.pageSize;
3340
3344
  // Display Pexels if no result
3341
3345
  if (data.totalRecords === 0) {
@@ -3362,6 +3366,7 @@ class ImagesViewComponent {
3362
3366
  this.isTotalRetrieved = true;
3363
3367
  this.length = total;
3364
3368
  this.tableFilters.totalItems = total;
3369
+ console.log('this.tableFilters.totalItems 1', this.tableFilters.totalItems);
3365
3370
  },
3366
3371
  error: error => {
3367
3372
  //this.alertService.openAlert(this.errorGetTotalImg);
@@ -4127,4 +4132,3 @@ class ImgManagerConfigDto {
4127
4132
 
4128
4133
  export { ApiService, CanvaButtonApi, CanvaService, ImageNotFoundService, ImgApiDto, ImgManagerConfigDto, ImgManagerService, ImgSelectionService, RenamePictureService, WzImgManagerComponent, WzImgManagerModule };
4129
4134
  //# sourceMappingURL=wizishop-img-manager.mjs.map
4130
- //# sourceMappingURL=wizishop-img-manager.mjs.map