@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.
@@ -2734,6 +2734,20 @@
2734
2734
  this.errorMsg = "";
2735
2735
  this.valDef = "-1";
2736
2736
  }
2737
+ /**
2738
+ * @param {?} u
2739
+ * @param {?} o
2740
+ * @return {?}
2741
+ */
2742
+ FHListComponent.prototype.change_v = /**
2743
+ * @param {?} u
2744
+ * @param {?} o
2745
+ * @return {?}
2746
+ */
2747
+ function (u, o) {
2748
+ u.checked = !u.checked;
2749
+ this.upd_f(u, o);
2750
+ };
2737
2751
  /**
2738
2752
  * @param {?} u
2739
2753
  * @param {?} b
@@ -2800,7 +2814,6 @@
2800
2814
  p.sql = this.sql;
2801
2815
  p.types = this.types;
2802
2816
  p.values = this.values;
2803
- // console.log(p);
2804
2817
  this
2805
2818
  ._dataService
2806
2819
  .doQuery(p)
@@ -3059,7 +3072,7 @@
3059
3072
  };
3060
3073
  FHListComponent.decorators = [
3061
3074
  { type: core.Component, args: [{
3062
- selector: 'FHList', template: "\n\n\n <table class=\"fh_table\" style=\"width:100%;\">\n <thead>\n <tr>\n <th *ngIf=\"!single_sel\"></th>\n <th>\n {{label}}\n\n </th>\n <th *ngIf=\"single_sel\"></th>\n </tr>\n </thead>\n <tbody>\n\n <tr *ngFor=\"let u of myData;let odd=odd; let even=even;\" [ngClass]=\"{ odd: odd, even: even }\">\n <td style=\"width:20px;\" valign=\"middle\" *ngIf=\"!single_sel\">\n <mat-slide-toggle (change)=\"upd_f(u,$event)\" [disabled]=\"!enabled\"\n [(ngModel)]=\"u.checked\"></mat-slide-toggle>\n </td>\n <td valign=\"middle\">{{u.descrizione_valore}}</td>\n <td valign=\"middle\" style=\"width:20px;text-align: middle\" *ngIf=\"single_sel\" >\n\n <button mat-flat-button color=\"primary\" (click)=\"upd_f(u,$event)\" [disabled]=\"!enabled\" ><mat-icon>send</mat-icon></button>&nbsp;&nbsp;&nbsp;\n\n\n </td>\n </tr>\n </tbody>\n </table>\n\n\n\n ",
3075
+ selector: 'FHList', template: "\n\n\n <table class=\"fh_table\" style=\"width:100%;\">\n <thead>\n <tr>\n <th *ngIf=\"!single_sel\"></th>\n <th>\n {{label}}\n\n </th>\n <th *ngIf=\"single_sel\"></th>\n </tr>\n </thead>\n <tbody>\n\n <tr *ngFor=\"let u of myData;let odd=odd; let even=even;\" [ngClass]=\"{ odd: odd, even: even }\">\n <td style=\"width:20px;\" valign=\"middle\" *ngIf=\"!single_sel\">\n <mat-slide-toggle (change)=\"upd_f(u,$event)\" [disabled]=\"!enabled\"\n [(ngModel)]=\"u.checked\"></mat-slide-toggle>\n </td>\n <td (click)=\"change_v(u,$event)\" valign=\"middle\">{{u.descrizione_valore}}</td>\n <td valign=\"middle\" style=\"width:20px;text-align: center\" *ngIf=\"single_sel\" >\n\n <button mat-flat-button color=\"primary\" (click)=\"upd_f(u,$event)\" [disabled]=\"!enabled\" ><mat-icon>send</mat-icon></button>&nbsp;&nbsp;&nbsp;\n\n\n </td>\n </tr>\n </tbody>\n </table>\n\n\n\n ",
3063
3076
  styles: ["\n\n\n "]
3064
3077
  }] }
3065
3078
  ];
@@ -6338,7 +6351,6 @@
6338
6351
  break;
6339
6352
  }
6340
6353
  }
6341
- console.log('REFRESH ACCESS!');
6342
6354
  _this.self_ok();
6343
6355
  }
6344
6356
  }));
@@ -6763,7 +6775,6 @@
6763
6775
  p.filter = p.filter + ' and ';
6764
6776
  p.filter = p.filter + ' (' + _this.fix_flt + ' )';
6765
6777
  }
6766
- console.log(' this.fix_flt_temp 222 ' + _this.fix_flt_temp);
6767
6778
  if (_this.fix_flt_temp != "") {
6768
6779
  if (p.filter != "")
6769
6780
  p.filter = p.filter + ' and ';
@@ -8375,7 +8386,6 @@
8375
8386
  * @return {?}
8376
8387
  */
8377
8388
  function () {
8378
- console.log('onFilterModified');
8379
8389
  if (_this.b_init) {
8380
8390
  console.log('salvo f: ' + JSON.stringify(_this.gridOptions.api.getFilterModel()));
8381
8391
  localStorage.setItem(_this.grid_key + '_FILTER', JSON.stringify(_this.gridOptions.api.getFilterModel()));
@@ -12119,7 +12129,7 @@
12119
12129
  FHListPick.decorators = [
12120
12130
  { type: core.Component, args: [{
12121
12131
  selector: 'fhlistpick',
12122
- template: "\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"min-width:700px;min-height:500px;font-size: 12px\">\n <FHList #cmb_sel [label]=\"label\" [single_sel]=\"single_sel\" [label]=\"\" style=\"width:100%;height:100%\" init_fill=\"false\" (selchange)=\"ok_single()\"></FHList>\n\n </mat-dialog-content>\n\n\n <mat-dialog-actions>\n<div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\">\n\n <button mat-flat-button color=\"primary\" *ngIf=\"!single_sel\" (click)=\"ok()\">OK</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"dialogRef.close('')\">ANNULLA</button>\n</div>\n </mat-dialog-actions>\n "
12132
+ template: "\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"min-width:700px;min-height:500px;font-size: 12px\">\n <FHList #cmb_sel [label]=\"label\" [single_sel]=\"single_sel\" [separator]=\"separator\" style=\"width:100%;height:100%\" init_fill=\"false\" (selchange)=\"ok_single()\"></FHList>\n\n </mat-dialog-content>\n\n\n <mat-dialog-actions>\n<div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\">\n\n <button mat-flat-button color=\"primary\" *ngIf=\"!single_sel\" (click)=\"ok()\">OK</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"dialogRef.close('')\">ANNULLA</button>\n</div>\n </mat-dialog-actions>\n "
12123
12133
  }] }
12124
12134
  ];
12125
12135
  /** @nocollapse */
@@ -19015,7 +19025,7 @@
19015
19025
  FHFieldPickListComponent.decorators = [
19016
19026
  { type: core.Component, args: [{
19017
19027
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2],
19018
- selector: 'FHFieldPickList', template: "\n<div fxLayout=\"row\" style=\"width: 100%\" fxLayoutAlign=\"start center\" [hidden]=\"hidden\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [readonly]=\"!enabled || only_in_list\" [(ngModel)]=\"value\">\n </mat-form-field>\n <div style=\"min-width: 170px;text-align: right\"> <button mat-flat-button color=\"primary\" (click)=\"open_pick_list()\" [disabled]=\"!enabled\">SELEZIONA</button>\n</div></div>\n ",
19028
+ selector: 'FHFieldPickList', template: "\n<div fxLayout=\"row\" style=\"width: 100%\" fxLayoutAlign=\"start start\" [hidden]=\"hidden\"><div style=\"width: 100%\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [readonly]=\"!enabled || only_in_list\" [(ngModel)]=\"value\">\n </mat-form-field></div>&nbsp;&nbsp;\n <div style=\"min-width: 160px\"> <button mat-flat-button color=\"primary\" (click)=\"open_pick_list()\" [disabled]=\"!enabled\">SELEZIONA</button></div>\n</div>\n ",
19019
19029
  styles: ["\n\n "]
19020
19030
  }] }
19021
19031
  ];