@esfaenza/es-table 11.2.22-beta24 → 11.2.22-beta25
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/esfaenza-es-table.umd.js +2 -0
- package/bundles/esfaenza-es-table.umd.js.map +1 -1
- package/bundles/esfaenza-es-table.umd.min.js +1 -1
- package/bundles/esfaenza-es-table.umd.min.js.map +1 -1
- package/esm2015/lib/components/es-table/es_table.component.js +3 -1
- package/fesm2015/esfaenza-es-table.js +2 -0
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/package.json +1 -1
|
@@ -3540,6 +3540,7 @@ class EsTableComponent {
|
|
|
3540
3540
|
}
|
|
3541
3541
|
/** Genera le informzioni di paginazione per la vista globale dell'es-table */
|
|
3542
3542
|
setupPagingInformations() {
|
|
3543
|
+
var _a;
|
|
3543
3544
|
this.PagerOptions.ShowCount = !this.HidePagingCount;
|
|
3544
3545
|
if (this.arrayMode && this.UseArrayModePaging && !this.SearchView) {
|
|
3545
3546
|
this.PagerOptions.PagerCount = this.View.length || 0;
|
|
@@ -3554,6 +3555,7 @@ class EsTableComponent {
|
|
|
3554
3555
|
}
|
|
3555
3556
|
else
|
|
3556
3557
|
this.PagerOptions.PagerCount = this.View.length || 0;
|
|
3558
|
+
this.PagerOptions.ShowPaging = !this.HidePaging && (this.View.length > 10 || (((_a = this.SearchView) === null || _a === void 0 ? void 0 : _a.objectcount) || 0) > 10);
|
|
3557
3559
|
this.PagerOptions.ShowCount = this.PagerOptions.ShowCount || (this.View && this.View.length) || (this.SearchView && this.SearchView.objectcount && this.SearchView.objectcount != -1);
|
|
3558
3560
|
}
|
|
3559
3561
|
else if (this.viewMode) {
|