@colijnit/corecomponents_v12 12.0.82 → 12.0.83

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.
@@ -7964,7 +7964,7 @@
7964
7964
  _this.search = new i0.EventEmitter();
7965
7965
  _this.useLeftIcon = false;
7966
7966
  _this.useRightIcon = false;
7967
- _this.noIcon = false;
7967
+ _this.centerLabel = false;
7968
7968
  _this.isSmall = false;
7969
7969
  return _this;
7970
7970
  }
@@ -7995,7 +7995,7 @@
7995
7995
  search: [{ type: i0.Output }],
7996
7996
  useLeftIcon: [{ type: i0.Input }],
7997
7997
  useRightIcon: [{ type: i0.Input }],
7998
- noIcon: [{ type: i0.HostBinding, args: ['class.no-icon',] }, { type: i0.Input }],
7998
+ centerLabel: [{ type: i0.HostBinding, args: ['class.center-label',] }, { type: i0.Input }],
7999
7999
  isSmall: [{ type: i0.HostBinding, args: ['class.is-small',] }, { type: i0.Input }],
8000
8000
  showClass: [{ type: i0.HostBinding, args: ['class.co-input-search',] }]
8001
8001
  };
@@ -10270,7 +10270,7 @@
10270
10270
  return this.currentPage === 1;
10271
10271
  };
10272
10272
  PaginationBarComponent.prototype.isOnLastPage = function () {
10273
- return this.pages.length === this.currentPage;
10273
+ return this.totalPages === this.currentPage;
10274
10274
  };
10275
10275
  PaginationBarComponent.prototype.onPreviousClick = function () {
10276
10276
  if (!this.isOnFirstPage()) {
@@ -10353,7 +10353,7 @@
10353
10353
  PaginationBarComponent.decorators = [
10354
10354
  { type: i0.Component, args: [{
10355
10355
  selector: "co-pagination-bar",
10356
- template: "\n <ul class=\"pagination\" *ngIf=\"!shouldBeHidden()\">\n <li *ngIf=\"directionLinks\" class=\"pagination-previous\" [class.disabled]=\"isOnFirstPage()\" (click)=\"onPreviousClick()\">\n <a [class.disabled]=\"isOnFirstPage()\">{{ previousLabel }}</a>\n </li>\n <li *ngFor=\"let page of pages\" [class.current]=\"currentPage === page.value\" (click)=\"onPageClick(page.value)\">\n <span>{{page.label}}</span>\n </li>\n <li *ngIf=\"directionLinks\" class=\"pagination-next\" [class.disabled]=\"isOnLastPage()\" (click)=\"onNextClick()\" >\n <a [class.disabled]=\"isOnLastPage()\">{{ nextLabel }}</a>\n </li>\n </ul>\n ",
10356
+ template: "\n <ul class=\"pagination\" *ngIf=\"!shouldBeHidden()\">\n <li class=\"pagination-previous\" [class.disabled]=\"isOnFirstPage()\" (click)=\"onPreviousClick()\">\n <div class=\"pagination-previous-arrow\"></div>\n <a *ngIf=\"directionLinks\" [class.disabled]=\"isOnFirstPage()\">{{ previousLabel }}</a>\n </li>\n <li *ngFor=\"let page of pages\" [class.current]=\"currentPage === page.value\" (click)=\"onPageClick(page.value)\">\n <span>{{page.label}}</span>\n </li>\n <li class=\"pagination-next\" [class.disabled]=\"isOnLastPage()\" (click)=\"onNextClick()\" >\n <a *ngIf=\"directionLinks\" [class.disabled]=\"isOnLastPage()\">{{ nextLabel }}</a>\n <div class=\"pagination-next-arrow\"></div>\n </li>\n </ul>\n ",
10357
10357
  encapsulation: i0.ViewEncapsulation.None
10358
10358
  },] }
10359
10359
  ];