@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.
- package/bundles/colijnit-corecomponents_v12.umd.js +4 -4
- package/bundles/colijnit-corecomponents_v12.umd.js.map +1 -1
- package/colijnit-corecomponents_v12.metadata.json +1 -1
- package/esm2015/lib/components/input-search/input-search.component.js +3 -3
- package/esm2015/lib/components/pagination-bar/pagination-bar.component.js +8 -6
- package/fesm2015/colijnit-corecomponents_v12.js +9 -7
- package/fesm2015/colijnit-corecomponents_v12.js.map +1 -1
- package/lib/components/input-search/input-search.component.d.ts +1 -1
- package/lib/components/input-search/style/_layout.scss +14 -4
- package/lib/components/input-search/style/_material-definition.scss +2 -2
- package/lib/components/input-text/style/_layout.scss +2 -1
- package/lib/components/pagination-bar/style/_layout.scss +35 -29
- package/lib/components/pagination-bar/style/_material-definition.scss +13 -1
- package/lib/components/pagination-bar/style/_theme.scss +7 -7
- package/lib/style/_input.mixins.scss +1 -0
- package/lib/style/_variables.scss +1 -0
- package/package.json +1 -1
|
@@ -7964,7 +7964,7 @@
|
|
|
7964
7964
|
_this.search = new i0.EventEmitter();
|
|
7965
7965
|
_this.useLeftIcon = false;
|
|
7966
7966
|
_this.useRightIcon = false;
|
|
7967
|
-
_this.
|
|
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
|
-
|
|
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.
|
|
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
|
|
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
|
];
|