@fluxhub/fluxhub-lib 19.0.20 → 19.0.21

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.
@@ -9203,8 +9203,13 @@ class FHGridComponent {
9203
9203
  paste: this._trs.instant('Incolla'),
9204
9204
  ctrlV: this._trs.instant('ctrl & V'),
9205
9205
  },
9206
- getRowId: (item) => {
9207
- console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ item:", item);
9206
+ getRowId: (itemg) => {
9207
+ if (itemg == null)
9208
+ return this.uti_s.newGuid();
9209
+ if (itemg.data == null)
9210
+ return this.uti_s.newGuid();
9211
+ let item = itemg.data;
9212
+ console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ uiid calcolo", item);
9208
9213
  if (item.customKeyField != null)
9209
9214
  return [item.customKeyField];
9210
9215
  if (item.ID != null)
@@ -11362,8 +11367,13 @@ class FHGridJSONComponent {
11362
11367
  paste: this._trs.instant('Incolla'),
11363
11368
  ctrlV: this._trs.instant('ctrl & V'),
11364
11369
  },
11365
- getRowId: (item) => {
11366
- console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ item:", item);
11370
+ getRowId: (itemg) => {
11371
+ if (itemg == null)
11372
+ return this.uti_s.newGuid();
11373
+ if (itemg.data == null)
11374
+ return this.uti_s.newGuid();
11375
+ let item = itemg.data;
11376
+ console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ uiid calcolo", item);
11367
11377
  if (item.customKeyField != null)
11368
11378
  return [item.customKeyField];
11369
11379
  if (item.ID != null)
@@ -11384,7 +11394,7 @@ class FHGridJSONComponent {
11384
11394
  return item.ord;
11385
11395
  console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ NOT FOUND!!", item);
11386
11396
  return this.uti_s.newGuid();
11387
- },
11397
+ }
11388
11398
  };
11389
11399
  }
11390
11400
  init_conf() {
@@ -27472,8 +27482,13 @@ class FHGridInternalComponent {
27472
27482
  paste: this._trs.instant('Incolla'),
27473
27483
  ctrlV: this._trs.instant('ctrl & V'),
27474
27484
  },
27475
- getRowId: (item) => {
27476
- console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ item:", item);
27485
+ getRowId: (itemg) => {
27486
+ if (itemg == null)
27487
+ return this.uti_s.newGuid();
27488
+ if (itemg.data == null)
27489
+ return this.uti_s.newGuid();
27490
+ let item = itemg.data;
27491
+ console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ uiid calcolo", item);
27477
27492
  if (item.customKeyField != null)
27478
27493
  return [item.customKeyField];
27479
27494
  if (item.ID != null)
@@ -27494,7 +27509,7 @@ class FHGridInternalComponent {
27494
27509
  return item.ord;
27495
27510
  console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ NOT FOUND!!", item);
27496
27511
  return this.uti_s.newGuid();
27497
- },
27512
+ }
27498
27513
  };
27499
27514
  }
27500
27515
  uiid_stampa = '';