@fluxhub/fluxhub-lib 1.0.590 → 1.0.591

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.
@@ -2372,6 +2372,7 @@ class FHListComponent {
2372
2372
  this.label = "";
2373
2373
  this.enabled = true;
2374
2374
  this.single_sel = false;
2375
+ this.separator = ",";
2375
2376
  this.fillend = new EventEmitter();
2376
2377
  this.selchange = new EventEmitter();
2377
2378
  this.initend = new EventEmitter();
@@ -2474,7 +2475,7 @@ class FHListComponent {
2474
2475
  if (this.myData.length == 0 || this.myData[0] == null)
2475
2476
  return;
2476
2477
  /** @type {?} */
2477
- let arr_val = desc_val.split(',');
2478
+ let arr_val = desc_val.split(this.separator);
2478
2479
  for (let j = 0; j < this.myData.length; j++)
2479
2480
  for (let j1 = 0; j1 < arr_val.length; j1++) {
2480
2481
  if (this.myData[j].descrizione_valore == arr_val[j1]) {
@@ -2519,7 +2520,7 @@ class FHListComponent {
2519
2520
  return;
2520
2521
  //console.log("qui2");
2521
2522
  /** @type {?} */
2522
- let arr_val = desc_val.split(',');
2523
+ let arr_val = desc_val.split(this.separator);
2523
2524
  for (let j = 0; j < this.myData.length; j++)
2524
2525
  for (let j1 = 0; j1 < arr_val.length; j1++) {
2525
2526
  if (this.myData[j].valore == arr_val[j1]) {
@@ -2537,7 +2538,7 @@ class FHListComponent {
2537
2538
  for (let j = 0; j < this.myData.length; j++)
2538
2539
  if (this.myData[j].checked) {
2539
2540
  if (sx != '')
2540
- sx = sx + ',';
2541
+ sx = sx + this.separator;
2541
2542
  sx = sx + this.myData[j].descrizione_valore;
2542
2543
  }
2543
2544
  return sx;
@@ -2563,7 +2564,7 @@ class FHListComponent {
2563
2564
  for (let j = 0; j < this.myData.length; j++)
2564
2565
  if (this.myData[j].checked) {
2565
2566
  if (sx != '')
2566
- sx = sx + ',';
2567
+ sx = sx + this.separator;
2567
2568
  sx = sx + this.myData[j].valore;
2568
2569
  }
2569
2570
  return sx;
@@ -2675,13 +2676,13 @@ FHListComponent.decorators = [
2675
2676
 
2676
2677
  <button mat-flat-button color="primary" (click)="upd_f(u,$event)" [disabled]="!enabled" ><mat-icon>send</mat-icon></button>&nbsp;&nbsp;&nbsp;
2677
2678
 
2678
-
2679
+
2679
2680
  </td>
2680
2681
  </tr>
2681
2682
  </tbody>
2682
2683
  </table>
2683
-
2684
-
2684
+
2685
+
2685
2686
 
2686
2687
  `,
2687
2688
  styles: [`
@@ -2702,6 +2703,7 @@ FHListComponent.propDecorators = {
2702
2703
  label: [{ type: Input }],
2703
2704
  enabled: [{ type: Input }],
2704
2705
  single_sel: [{ type: Input }],
2706
+ separator: [{ type: Input }],
2705
2707
  smtr: [{ type: ViewChild, args: ['cmb',] }],
2706
2708
  fillend: [{ type: Output }],
2707
2709
  selchange: [{ type: Output }],
@@ -11333,6 +11335,7 @@ class FHListPick {
11333
11335
  this.toastr = toastr;
11334
11336
  this.m_appService = m_appService;
11335
11337
  this.label = "";
11338
+ this.separator = ",";
11336
11339
  this.title = "";
11337
11340
  this.sql = "";
11338
11341
  this.single_sel = false;
@@ -11386,7 +11389,7 @@ FHListPick.decorators = [
11386
11389
 
11387
11390
  <mat-dialog-actions>
11388
11391
  <div fxLayout="row" fxLayoutAlign="center center" style="width: 100%">
11389
-
11392
+
11390
11393
  <button mat-flat-button color="primary" *ngIf="!single_sel" (click)="ok()">OK</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
11391
11394
  <button mat-flat-button style="background-color: #F5F5F5" (click)="dialogRef.close('')">ANNULLA</button>
11392
11395
  </div>
@@ -18062,6 +18065,7 @@ class FHFieldPickListComponent {
18062
18065
  this.enabled = true;
18063
18066
  this.required = false;
18064
18067
  this.db_type = "1";
18068
+ this.separator = ",";
18065
18069
  this.value = "";
18066
18070
  this.onChange = (/**
18067
18071
  * @param {?} _
@@ -18123,6 +18127,7 @@ class FHFieldPickListComponent {
18123
18127
  });
18124
18128
  dialogRef.componentInstance.single_sel = this.single_sel;
18125
18129
  dialogRef.componentInstance.sel_values = this.value;
18130
+ dialogRef.componentInstance.separator = this.separator;
18126
18131
  dialogRef.componentInstance.label = this.label;
18127
18132
  dialogRef.componentInstance.sql = this.sql;
18128
18133
  dialogRef.componentInstance.types = this.types;
@@ -18137,7 +18142,7 @@ class FHFieldPickListComponent {
18137
18142
  this.value = '';
18138
18143
  for (let i = 0; i < result.length; i++) {
18139
18144
  if (this.value != '')
18140
- this.value += ',';
18145
+ this.value += this.separator;
18141
18146
  this.value += result[i].descrizione_valore;
18142
18147
  }
18143
18148
  return;
@@ -18181,6 +18186,7 @@ FHFieldPickListComponent.propDecorators = {
18181
18186
  enabled: [{ type: Input }],
18182
18187
  required: [{ type: Input }],
18183
18188
  db_type: [{ type: Input }],
18189
+ separator: [{ type: Input }],
18184
18190
  value: [{ type: Input }]
18185
18191
  };
18186
18192