@colijnit/corecomponents_v12 12.0.82 → 12.0.84

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.
@@ -7713,6 +7713,7 @@
7713
7713
  _this.excludePlusMinus = true;
7714
7714
  _this.showClearButton = undefined;
7715
7715
  _this.showPlaceholderOnFocus = true;
7716
+ _this.noStyle = false;
7716
7717
  _this.hasOwnLabel = true;
7717
7718
  _this.hideArrowButtons = false;
7718
7719
  _this.isSmall = false;
@@ -7797,6 +7798,7 @@
7797
7798
  showPlaceholderOnFocus: [{ type: i0.Input }],
7798
7799
  leftIcon: [{ type: i0.Input }],
7799
7800
  rightIcon: [{ type: i0.Input }],
7801
+ noStyle: [{ type: i0.HostBinding, args: ['class.no-style',] }, { type: i0.Input }],
7800
7802
  showClass: [{ type: i0.HostBinding, args: ["class.co-input-text",] }],
7801
7803
  hasLeftIcon: [{ type: i0.HostBinding, args: ['class.has-left-icon',] }],
7802
7804
  hasRightIcon: [{ type: i0.HostBinding, args: ['class.has-right-icon',] }],
@@ -7964,7 +7966,7 @@
7964
7966
  _this.search = new i0.EventEmitter();
7965
7967
  _this.useLeftIcon = false;
7966
7968
  _this.useRightIcon = false;
7967
- _this.noIcon = false;
7969
+ _this.centerLabel = false;
7968
7970
  _this.isSmall = false;
7969
7971
  return _this;
7970
7972
  }
@@ -7995,7 +7997,7 @@
7995
7997
  search: [{ type: i0.Output }],
7996
7998
  useLeftIcon: [{ type: i0.Input }],
7997
7999
  useRightIcon: [{ type: i0.Input }],
7998
- noIcon: [{ type: i0.HostBinding, args: ['class.no-icon',] }, { type: i0.Input }],
8000
+ centerLabel: [{ type: i0.HostBinding, args: ['class.center-label',] }, { type: i0.Input }],
7999
8001
  isSmall: [{ type: i0.HostBinding, args: ['class.is-small',] }, { type: i0.Input }],
8000
8002
  showClass: [{ type: i0.HostBinding, args: ['class.co-input-search',] }]
8001
8003
  };
@@ -10270,7 +10272,7 @@
10270
10272
  return this.currentPage === 1;
10271
10273
  };
10272
10274
  PaginationBarComponent.prototype.isOnLastPage = function () {
10273
- return this.pages.length === this.currentPage;
10275
+ return this.totalPages === this.currentPage;
10274
10276
  };
10275
10277
  PaginationBarComponent.prototype.onPreviousClick = function () {
10276
10278
  if (!this.isOnFirstPage()) {
@@ -10353,7 +10355,7 @@
10353
10355
  PaginationBarComponent.decorators = [
10354
10356
  { type: i0.Component, args: [{
10355
10357
  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 ",
10358
+ 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
10359
  encapsulation: i0.ViewEncapsulation.None
10358
10360
  },] }
10359
10361
  ];