@fluxhub/fluxhub-lib 19.0.19 → 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.
|
@@ -9094,7 +9094,6 @@ class FHGridComponent {
|
|
|
9094
9094
|
};
|
|
9095
9095
|
}
|
|
9096
9096
|
getRowId(item) {
|
|
9097
|
-
// console.log(item);
|
|
9098
9097
|
if (item == null)
|
|
9099
9098
|
return this.uti_s.newGuid();
|
|
9100
9099
|
if (item.data == null)
|
|
@@ -9105,7 +9104,7 @@ class FHGridComponent {
|
|
|
9105
9104
|
return item.data.uiid;
|
|
9106
9105
|
if (item.data.codice != null)
|
|
9107
9106
|
return item.data.codice;
|
|
9108
|
-
return
|
|
9107
|
+
return this.uti_s.newGuid();
|
|
9109
9108
|
}
|
|
9110
9109
|
agGrid;
|
|
9111
9110
|
b_init = false;
|
|
@@ -9204,7 +9203,15 @@ class FHGridComponent {
|
|
|
9204
9203
|
paste: this._trs.instant('Incolla'),
|
|
9205
9204
|
ctrlV: this._trs.instant('ctrl & V'),
|
|
9206
9205
|
},
|
|
9207
|
-
getRowId:
|
|
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);
|
|
9213
|
+
if (item.customKeyField != null)
|
|
9214
|
+
return [item.customKeyField];
|
|
9208
9215
|
if (item.ID != null)
|
|
9209
9216
|
return String(item.ID);
|
|
9210
9217
|
if (item.id != null)
|
|
@@ -9213,12 +9220,16 @@ class FHGridComponent {
|
|
|
9213
9220
|
return item.uiid;
|
|
9214
9221
|
if (item.codice != null)
|
|
9215
9222
|
return item.codice;
|
|
9223
|
+
if (item.id_gruppo != null)
|
|
9224
|
+
return item.id_gruppo;
|
|
9216
9225
|
if (item.id_doc != null)
|
|
9217
9226
|
return item.id_doc;
|
|
9218
9227
|
if (item.notesid != null)
|
|
9219
9228
|
return item.notesid;
|
|
9220
9229
|
if (item.ord != null)
|
|
9221
9230
|
return item.ord;
|
|
9231
|
+
console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ NOT FOUND!!", item);
|
|
9232
|
+
return this.uti_s.newGuid();
|
|
9222
9233
|
},
|
|
9223
9234
|
};
|
|
9224
9235
|
this.init_opt = true;
|
|
@@ -11356,8 +11367,15 @@ class FHGridJSONComponent {
|
|
|
11356
11367
|
paste: this._trs.instant('Incolla'),
|
|
11357
11368
|
ctrlV: this._trs.instant('ctrl & V'),
|
|
11358
11369
|
},
|
|
11359
|
-
getRowId:
|
|
11360
|
-
|
|
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);
|
|
11377
|
+
if (item.customKeyField != null)
|
|
11378
|
+
return [item.customKeyField];
|
|
11361
11379
|
if (item.ID != null)
|
|
11362
11380
|
return String(item.ID);
|
|
11363
11381
|
if (item.id != null)
|
|
@@ -11366,11 +11384,17 @@ class FHGridJSONComponent {
|
|
|
11366
11384
|
return item.uiid;
|
|
11367
11385
|
if (item.codice != null)
|
|
11368
11386
|
return item.codice;
|
|
11387
|
+
if (item.id_gruppo != null)
|
|
11388
|
+
return item.id_gruppo;
|
|
11369
11389
|
if (item.id_doc != null)
|
|
11370
11390
|
return item.id_doc;
|
|
11391
|
+
if (item.notesid != null)
|
|
11392
|
+
return item.notesid;
|
|
11371
11393
|
if (item.ord != null)
|
|
11372
11394
|
return item.ord;
|
|
11373
|
-
|
|
11395
|
+
console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ NOT FOUND!!", item);
|
|
11396
|
+
return this.uti_s.newGuid();
|
|
11397
|
+
}
|
|
11374
11398
|
};
|
|
11375
11399
|
}
|
|
11376
11400
|
init_conf() {
|
|
@@ -27458,8 +27482,13 @@ class FHGridInternalComponent {
|
|
|
27458
27482
|
paste: this._trs.instant('Incolla'),
|
|
27459
27483
|
ctrlV: this._trs.instant('ctrl & V'),
|
|
27460
27484
|
},
|
|
27461
|
-
getRowId: (
|
|
27462
|
-
|
|
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);
|
|
27463
27492
|
if (item.customKeyField != null)
|
|
27464
27493
|
return [item.customKeyField];
|
|
27465
27494
|
if (item.ID != null)
|
|
@@ -27478,8 +27507,9 @@ class FHGridInternalComponent {
|
|
|
27478
27507
|
return item.notesid;
|
|
27479
27508
|
if (item.ord != null)
|
|
27480
27509
|
return item.ord;
|
|
27510
|
+
console.log("🚀 ~ FHGridComponent ~ ngAfterViewInit ~ NOT FOUND!!", item);
|
|
27481
27511
|
return this.uti_s.newGuid();
|
|
27482
|
-
}
|
|
27512
|
+
}
|
|
27483
27513
|
};
|
|
27484
27514
|
}
|
|
27485
27515
|
uiid_stampa = '';
|