@fluxhub/fluxhub-lib 19.0.164 → 19.0.165

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.
@@ -9700,9 +9700,7 @@ class FHGridComponent {
9700
9700
  pagination: this.pagination,
9701
9701
  paginationPageSize: this.paginationPageSize,
9702
9702
  cacheBlockSize: this.num_per_pag,
9703
- maxBlocksInCache: 10,
9704
- blockLoadDebounceMillis: 200,
9705
- maxConcurrentDatasourceRequests: 1,
9703
+ maxBlocksInCache: 0,
9706
9704
  headerHeight: this.header_h,
9707
9705
  paginationAutoPageSize: this.paginationAutoPageSize,
9708
9706
  rowHeight: this.rowHeight,
@@ -9783,47 +9781,32 @@ class FHGridComponent {
9783
9781
  ctrlV: this._trs.instant('ctrl & V'),
9784
9782
  },
9785
9783
  getRowId: (itemg) => {
9786
- if (itemg == null) {
9787
- console.warn('🆔 getRowId: itemg NULL - generando GUID!');
9784
+ if (itemg == null)
9788
9785
  return this.uti_s.newGuid();
9789
- }
9790
- if (itemg.data == null) {
9791
- console.warn('🆔 getRowId: data NULL - generando GUID!');
9786
+ if (itemg.data == null)
9792
9787
  return this.uti_s.newGuid();
9793
- }
9794
9788
  let item = itemg.data;
9795
9789
  let rowId;
9796
- if (item.customKeyField != null) {
9790
+ if (item.customKeyField != null)
9797
9791
  rowId = [item.customKeyField];
9798
- }
9799
- else if (item.ID != null) {
9792
+ else if (item.ID != null)
9800
9793
  rowId = String(item.ID);
9801
- }
9802
- else if (item.id != null) {
9794
+ else if (item.id != null)
9803
9795
  rowId = String(item.id);
9804
- }
9805
- else if (item.uiid != null) {
9796
+ else if (item.uiid != null)
9806
9797
  rowId = item.uiid;
9807
- }
9808
- else if (item.codice != null) {
9798
+ else if (item.codice != null)
9809
9799
  rowId = item.codice;
9810
- }
9811
- else if (item.id_gruppo != null) {
9800
+ else if (item.id_gruppo != null)
9812
9801
  rowId = item.id_gruppo;
9813
- }
9814
- else if (item.id_doc != null) {
9802
+ else if (item.id_doc != null)
9815
9803
  rowId = item.id_doc;
9816
- }
9817
- else if (item.notesid != null) {
9804
+ else if (item.notesid != null)
9818
9805
  rowId = item.notesid;
9819
- }
9820
- else if (item.ord != null) {
9806
+ else if (item.ord != null)
9821
9807
  rowId = item.ord;
9822
- }
9823
- else {
9824
- console.warn('🆔 getRowId: NESSUN CAMPO ID TROVATO - generando GUID! Campi disponibili:', Object.keys(item));
9808
+ else
9825
9809
  rowId = this.uti_s.newGuid();
9826
- }
9827
9810
  return rowId;
9828
9811
  }
9829
9812
  };