@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.
@@ -2713,6 +2713,20 @@ var FHListComponent = /** @class */ (function () {
2713
2713
  this.errorMsg = "";
2714
2714
  this.valDef = "-1";
2715
2715
  }
2716
+ /**
2717
+ * @param {?} u
2718
+ * @param {?} o
2719
+ * @return {?}
2720
+ */
2721
+ FHListComponent.prototype.change_v = /**
2722
+ * @param {?} u
2723
+ * @param {?} o
2724
+ * @return {?}
2725
+ */
2726
+ function (u, o) {
2727
+ u.checked = !u.checked;
2728
+ this.upd_f(u, o);
2729
+ };
2716
2730
  /**
2717
2731
  * @param {?} u
2718
2732
  * @param {?} b
@@ -2779,7 +2793,6 @@ var FHListComponent = /** @class */ (function () {
2779
2793
  p.sql = this.sql;
2780
2794
  p.types = this.types;
2781
2795
  p.values = this.values;
2782
- // console.log(p);
2783
2796
  this
2784
2797
  ._dataService
2785
2798
  .doQuery(p)
@@ -3038,7 +3051,7 @@ var FHListComponent = /** @class */ (function () {
3038
3051
  };
3039
3052
  FHListComponent.decorators = [
3040
3053
  { type: Component, args: [{
3041
- 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 ",
3054
+ 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 ",
3042
3055
  styles: ["\n\n\n "]
3043
3056
  }] }
3044
3057
  ];
@@ -6317,7 +6330,6 @@ wkfapp = /** @class */ (function () {
6317
6330
  break;
6318
6331
  }
6319
6332
  }
6320
- console.log('REFRESH ACCESS!');
6321
6333
  _this.self_ok();
6322
6334
  }
6323
6335
  }));
@@ -6742,7 +6754,6 @@ var FHGridComponent = /** @class */ (function () {
6742
6754
  p.filter = p.filter + ' and ';
6743
6755
  p.filter = p.filter + ' (' + _this.fix_flt + ' )';
6744
6756
  }
6745
- console.log(' this.fix_flt_temp 222 ' + _this.fix_flt_temp);
6746
6757
  if (_this.fix_flt_temp != "") {
6747
6758
  if (p.filter != "")
6748
6759
  p.filter = p.filter + ' and ';
@@ -8354,7 +8365,6 @@ var FHGridComponent = /** @class */ (function () {
8354
8365
  * @return {?}
8355
8366
  */
8356
8367
  function () {
8357
- console.log('onFilterModified');
8358
8368
  if (_this.b_init) {
8359
8369
  console.log('salvo f: ' + JSON.stringify(_this.gridOptions.api.getFilterModel()));
8360
8370
  localStorage.setItem(_this.grid_key + '_FILTER', JSON.stringify(_this.gridOptions.api.getFilterModel()));
@@ -12098,7 +12108,7 @@ var FHListPick = /** @class */ (function () {
12098
12108
  FHListPick.decorators = [
12099
12109
  { type: Component, args: [{
12100
12110
  selector: 'fhlistpick',
12101
- 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 "
12111
+ 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 "
12102
12112
  }] }
12103
12113
  ];
12104
12114
  /** @nocollapse */
@@ -18994,7 +19004,7 @@ var FHFieldPickListComponent = /** @class */ (function () {
18994
19004
  FHFieldPickListComponent.decorators = [
18995
19005
  { type: Component, args: [{
18996
19006
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2],
18997
- 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 ",
19007
+ 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 ",
18998
19008
  styles: ["\n\n "]
18999
19009
  }] }
19000
19010
  ];