@seniorsistemas/angular-components 16.10.13 → 16.10.14
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/seniorsistemas-angular-components.umd.js +18 -4
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/table/table-paging/table-paging.component.d.ts +3 -1
- package/esm2015/components/table/table-paging/table-paging.component.js +19 -5
- package/esm5/components/table/table-paging/table-paging.component.js +19 -5
- package/fesm2015/seniorsistemas-angular-components.js +18 -4
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +18 -4
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -6055,10 +6055,18 @@ var TablePagingComponent = /** @class */ (function () {
|
|
|
6055
6055
|
});
|
|
6056
6056
|
};
|
|
6057
6057
|
TablePagingComponent.prototype.getCurrentPageRowsToExport = function (columns) {
|
|
6058
|
-
|
|
6058
|
+
var tableData = this.table.value;
|
|
6059
|
+
if (this.loadCurrentPageRecords) {
|
|
6060
|
+
tableData = this.loadCurrentPageRecords();
|
|
6061
|
+
}
|
|
6062
|
+
return this.mapColumnsTranslations(columns, tableData);
|
|
6059
6063
|
};
|
|
6060
6064
|
TablePagingComponent.prototype.getSelectedRowsToExport = function (columns) {
|
|
6061
|
-
|
|
6065
|
+
var tableData = this.table.selection;
|
|
6066
|
+
if (this.loadSelectedRecords) {
|
|
6067
|
+
tableData = this.loadSelectedRecords();
|
|
6068
|
+
}
|
|
6069
|
+
return this.mapColumnsTranslations(columns, tableData);
|
|
6062
6070
|
};
|
|
6063
6071
|
TablePagingComponent.prototype.getPropertyValue = function (obj, path) {
|
|
6064
6072
|
return path.split(".").reduce(function (result, prop) { return (result[prop] === undefined ? undefined : result[prop]); }, obj);
|
|
@@ -6168,15 +6176,21 @@ var TablePagingComponent = /** @class */ (function () {
|
|
|
6168
6176
|
__decorate([
|
|
6169
6177
|
Input()
|
|
6170
6178
|
], TablePagingComponent.prototype, "table", void 0);
|
|
6179
|
+
__decorate([
|
|
6180
|
+
Input()
|
|
6181
|
+
], TablePagingComponent.prototype, "enableExportSelectedRecords", void 0);
|
|
6182
|
+
__decorate([
|
|
6183
|
+
Input()
|
|
6184
|
+
], TablePagingComponent.prototype, "customActions", void 0);
|
|
6171
6185
|
__decorate([
|
|
6172
6186
|
Input()
|
|
6173
6187
|
], TablePagingComponent.prototype, "loadAllRecords", void 0);
|
|
6174
6188
|
__decorate([
|
|
6175
6189
|
Input()
|
|
6176
|
-
], TablePagingComponent.prototype, "
|
|
6190
|
+
], TablePagingComponent.prototype, "loadCurrentPageRecords", void 0);
|
|
6177
6191
|
__decorate([
|
|
6178
6192
|
Input()
|
|
6179
|
-
], TablePagingComponent.prototype, "
|
|
6193
|
+
], TablePagingComponent.prototype, "loadSelectedRecords", void 0);
|
|
6180
6194
|
__decorate([
|
|
6181
6195
|
Output()
|
|
6182
6196
|
], TablePagingComponent.prototype, "totalRecordsText", void 0);
|