@solcre-org/core-ui 2.20.7 → 2.20.8

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.
@@ -10300,8 +10300,17 @@ class TableDataService {
10300
10300
  this.setEndpoint(endpoint, modelFactory, loaderId, this.isPaginationEnabled, customArrayKey, params);
10301
10301
  return;
10302
10302
  }
10303
- this.currentCustomParams = { ...params };
10304
- this.loadData(this.currentFilterParams, this.currentPaginationParams, loaderId);
10303
+ if (this.isLoading) {
10304
+ return;
10305
+ }
10306
+ this.isLoading = true;
10307
+ if (loaderId) {
10308
+ this.loaderService.showLoader(loaderId);
10309
+ }
10310
+ this.modelApiService.loadData(endpoint, modelFactory, params, customArrayKey);
10311
+ setTimeout(() => {
10312
+ this.isLoading = false;
10313
+ }, 100);
10305
10314
  }
10306
10315
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: TableDataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
10307
10316
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: TableDataService, providedIn: 'root' });
@@ -13650,7 +13659,7 @@ class GenericTableComponent {
13650
13659
  this.paginationService.initialize(this.tableId, this.endpoint() ? 0 : this.filterService.getFilteredData().length, this.pageSizeOptions());
13651
13660
  this.subscriptions.push(this.paginationService.paginationChange$.subscribe(event => {
13652
13661
  if (event.tableId === this.tableId && this.endpoint()) {
13653
- this.tableDataService.updatePagination(event.page, event.size, this.MAIN_DATA_LOADER_ID);
13662
+ this.reloadDataWithCurrentParams();
13654
13663
  }
13655
13664
  else if (!this.endpoint()) {
13656
13665
  this.updateDisplayedDataFromServer(this.filterService.getFilteredData());
@@ -17161,11 +17170,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
17161
17170
  // Este archivo es generado automáticamente por scripts/update-version.js
17162
17171
  // No edites manualmente este archivo
17163
17172
  const VERSION = {
17164
- full: '2.20.7',
17173
+ full: '2.20.8',
17165
17174
  major: 2,
17166
17175
  minor: 20,
17167
- patch: 7,
17168
- timestamp: '2026-02-02T15:53:33.334Z',
17176
+ patch: 8,
17177
+ timestamp: '2026-02-02T16:23:19.801Z',
17169
17178
  buildDate: '2/2/2026'
17170
17179
  };
17171
17180