@fluxhub/fluxhub-lib 1.0.591 → 1.0.593

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.
@@ -2381,6 +2381,15 @@ class FHListComponent {
2381
2381
  this.errorMsg = "";
2382
2382
  this.valDef = "-1";
2383
2383
  }
2384
+ /**
2385
+ * @param {?} u
2386
+ * @param {?} o
2387
+ * @return {?}
2388
+ */
2389
+ change_v(u, o) {
2390
+ u.checked = !u.checked;
2391
+ this.upd_f(u, o);
2392
+ }
2384
2393
  /**
2385
2394
  * @param {?} u
2386
2395
  * @param {?} b
@@ -2428,11 +2437,10 @@ class FHListComponent {
2428
2437
  }
2429
2438
  //console.log("fillcombolist");
2430
2439
  /** @type {?} */
2431
- var p = new QParam();
2440
+ let p = new QParam();
2432
2441
  p.sql = this.sql;
2433
2442
  p.types = this.types;
2434
2443
  p.values = this.values;
2435
- // console.log(p);
2436
2444
  this
2437
2445
  ._dataService
2438
2446
  .doQuery(p)
@@ -2671,8 +2679,8 @@ FHListComponent.decorators = [
2671
2679
  <mat-slide-toggle (change)="upd_f(u,$event)" [disabled]="!enabled"
2672
2680
  [(ngModel)]="u.checked"></mat-slide-toggle>
2673
2681
  </td>
2674
- <td valign="middle">{{u.descrizione_valore}}</td>
2675
- <td valign="middle" style="width:20px;text-align: middle" *ngIf="single_sel" >
2682
+ <td (click)="change_v(u,$event)" valign="middle">{{u.descrizione_valore}}</td>
2683
+ <td valign="middle" style="width:20px;text-align: center" *ngIf="single_sel" >
2676
2684
 
2677
2685
  <button mat-flat-button color="primary" (click)="upd_f(u,$event)" [disabled]="!enabled" ><mat-icon>send</mat-icon></button>&nbsp;&nbsp;&nbsp;
2678
2686
 
@@ -6097,7 +6105,6 @@ class wkfapp {
6097
6105
  break;
6098
6106
  }
6099
6107
  }
6100
- console.log('REFRESH ACCESS!');
6101
6108
  this.self_ok();
6102
6109
  }
6103
6110
  }));
@@ -6494,7 +6501,6 @@ class FHGridComponent {
6494
6501
  p.filter = p.filter + ' and ';
6495
6502
  p.filter = p.filter + ' (' + this.fix_flt + ' )';
6496
6503
  }
6497
- console.log(' this.fix_flt_temp 222 ' + this.fix_flt_temp);
6498
6504
  if (this.fix_flt_temp != "") {
6499
6505
  if (p.filter != "")
6500
6506
  p.filter = p.filter + ' and ';
@@ -7895,7 +7901,6 @@ class FHGridComponent {
7895
7901
  * @return {?}
7896
7902
  */
7897
7903
  () => {
7898
- console.log('onFilterModified');
7899
7904
  if (this.b_init) {
7900
7905
  console.log('salvo f: ' + JSON.stringify(this.gridOptions.api.getFilterModel()));
7901
7906
  localStorage.setItem(this.grid_key + '_FILTER', JSON.stringify(this.gridOptions.api.getFilterModel()));
@@ -11382,7 +11387,7 @@ FHListPick.decorators = [
11382
11387
  template: `
11383
11388
  <h2 mat-dialog-title>{{title}}</h2>
11384
11389
  <mat-dialog-content style="min-width:700px;min-height:500px;font-size: 12px">
11385
- <FHList #cmb_sel [label]="label" [single_sel]="single_sel" [label]="" style="width:100%;height:100%" init_fill="false" (selchange)="ok_single()"></FHList>
11390
+ <FHList #cmb_sel [label]="label" [single_sel]="single_sel" [separator]="separator" style="width:100%;height:100%" init_fill="false" (selchange)="ok_single()"></FHList>
11386
11391
 
11387
11392
  </mat-dialog-content>
11388
11393
 
@@ -18159,12 +18164,12 @@ FHFieldPickListComponent.decorators = [
18159
18164
  { type: Component, args: [{
18160
18165
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2],
18161
18166
  selector: 'FHFieldPickList', template: `
18162
- <div fxLayout="row" style="width: 100%" fxLayoutAlign="start center" [hidden]="hidden">
18163
- <mat-form-field appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
18167
+ <div fxLayout="row" style="width: 100%" fxLayoutAlign="start start" [hidden]="hidden"><div style="width: 100%">
18168
+ <mat-form-field appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
18164
18169
  <input type="text" #el1 matInput [readonly]="!enabled || only_in_list" [(ngModel)]="value">
18165
- </mat-form-field>
18166
- <div style="min-width: 170px;text-align: right"> <button mat-flat-button color="primary" (click)="open_pick_list()" [disabled]="!enabled">SELEZIONA</button>
18167
- </div></div>
18170
+ </mat-form-field></div>&nbsp;&nbsp;
18171
+ <div style="min-width: 160px"> <button mat-flat-button color="primary" (click)="open_pick_list()" [disabled]="!enabled">SELEZIONA</button></div>
18172
+ </div>
18168
18173
  `,
18169
18174
  styles: [`
18170
18175