@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
|
@@ -4033,6 +4033,7 @@
|
|
|
4033
4033
|
};
|
|
4034
4034
|
/** Genera le informzioni di paginazione per la vista globale dell'es-table */
|
|
4035
4035
|
EsTableComponent.prototype.setupPagingInformations = function () {
|
|
4036
|
+
var _a;
|
|
4036
4037
|
this.PagerOptions.ShowCount = !this.HidePagingCount;
|
|
4037
4038
|
if (this.arrayMode && this.UseArrayModePaging && !this.SearchView) {
|
|
4038
4039
|
this.PagerOptions.PagerCount = this.View.length || 0;
|
|
@@ -4047,6 +4048,7 @@
|
|
|
4047
4048
|
}
|
|
4048
4049
|
else
|
|
4049
4050
|
this.PagerOptions.PagerCount = this.View.length || 0;
|
|
4051
|
+
this.PagerOptions.ShowPaging = !this.HidePaging && (this.View.length > 10 || (((_a = this.SearchView) === null || _a === void 0 ? void 0 : _a.objectcount) || 0) > 10);
|
|
4050
4052
|
this.PagerOptions.ShowCount = this.PagerOptions.ShowCount || (this.View && this.View.length) || (this.SearchView && this.SearchView.objectcount && this.SearchView.objectcount != -1);
|
|
4051
4053
|
}
|
|
4052
4054
|
else if (this.viewMode) {
|