@fluxhub/fluxhub-lib 11.0.34 → 11.0.36

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.
@@ -141,7 +141,7 @@
141
141
  fh_win_ask_big_text.decorators = [
142
142
  { type: i0.Component, args: [{
143
143
  selector: "app-win_ask_text",
144
- template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n \u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{\u00A0title\u00A0}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <mat-dialog-content style=\"width:630px;font-size: 15px;\">\n <mat-form-field\n appearance=\"outline\"\n floatLabel=\"always\"\n style=\"width:100%\"\n ><mat-label>{{ label }}</mat-label>\n <textarea\n matInput\n [readonly]=\"readonly\"\n [(ngModel)]=\"valore\"\n rows=\"15\"\n required\n ></textarea>\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"readonly\"\n >\n <button\n *ngIf=\"show_ok\"\n mat-flat-button\n color=\"primary\"\n (click)=\"do_check()\"\n >\n OK</button\n >&nbsp;&nbsp;&nbsp;\n <button\n *ngIf=\"show_annulla\"\n mat-flat-button\n color=\"warn\"\n (click)=\"chiudi()\"\n >\n ANNULLA\n </button>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"!readonly\"\n >\n <button\n *ngIf=\"show_annulla\"\n mat-flat-button\n color=\"warn\"\n (click)=\"chiudi()\"\n >\n CHIUDI\n </button>\n </div>\n </mat-dialog-actions>\n</div>\n "
144
+ template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n \u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{\u00A0title\u00A0}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <mat-dialog-content style=\"width:630px;font-size: 15px;\">\n <mat-form-field\n appearance=\"outline\"\n floatLabel=\"always\"\n style=\"width:100%\"\n ><mat-label>{{ label }}</mat-label>\n <textarea\n matInput\n [readonly]=\"readonly\"\n [(ngModel)]=\"valore\"\n rows=\"15\"\n [required]=\"min_chars!=0?true:false\"\n ></textarea>\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"readonly\"\n >\n <button\n *ngIf=\"show_ok\"\n mat-flat-button\n color=\"primary\"\n (click)=\"do_check()\"\n >\n OK</button\n >&nbsp;&nbsp;&nbsp;\n <button\n *ngIf=\"show_annulla\"\n mat-flat-button\n color=\"warn\"\n (click)=\"chiudi()\"\n >\n ANNULLA\n </button>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"!readonly\"\n >\n <button\n *ngIf=\"show_annulla\"\n mat-flat-button\n color=\"warn\"\n (click)=\"chiudi()\"\n >\n CHIUDI\n </button>\n </div>\n </mat-dialog-actions>\n</div>\n "
145
145
  },] }
146
146
  ];
147
147
  fh_win_ask_big_text.ctorParameters = function () { return [
@@ -5627,8 +5627,7 @@
5627
5627
  this.curr_config = "-1";
5628
5628
  this.init_end = new i0.EventEmitter();
5629
5629
  this.off_set = 0;
5630
- this.first_ref = true;
5631
- this.b_restored = false;
5630
+ this.type_fixed_filter = 'and';
5632
5631
  this.str_curr_q_p = "";
5633
5632
  this.dataSource = {
5634
5633
  //rowCount: ???, - not setting the row count, infinite paging will be used
@@ -5684,13 +5683,15 @@
5684
5683
  p.filter = _this.filters;
5685
5684
  if (_this.fix_flt != "") {
5686
5685
  if (p.filter != "")
5687
- p.filter = p.filter + " and ";
5686
+ p.filter = p.filter + " " + _this.type_fixed_filter + " ";
5687
+ console.log("🚀 ~ file: fhgrid.ts ~ line 737 ~ FHGridComponent ~ type_fixed_filter", _this.type_fixed_filter);
5688
5688
  p.filter = p.filter + " (" + _this.fix_flt + " )";
5689
5689
  }
5690
5690
  if (_this.ric_libera == '' || !_this.over_fulltext)
5691
5691
  if (_this.fix_flt_temp != "") {
5692
5692
  if (p.filter != "")
5693
- p.filter = p.filter + " and ";
5693
+ p.filter = p.filter + " " + _this.type_fixed_filter + " ";
5694
+ console.log("🚀 ~ file: fhgrid.ts ~ line 743 ~ FHGridComponent ~ this.type_fixed_filter", _this.type_fixed_filter);
5694
5695
  p.filter = p.filter + " (" + _this.fix_flt_temp + " )";
5695
5696
  }
5696
5697
  // console.log('Filter model');
@@ -6898,8 +6899,8 @@
6898
6899
  }
6899
6900
  }
6900
6901
  this.res_columns();
6901
- if (localStorage.getItem(this.grid_key + "_POS") != null)
6902
- this.b_restored = true;
6902
+ // if (localStorage.getItem(this.grid_key + "_POS") != null)
6903
+ // this.b_restored = true;
6903
6904
  if (localStorage.getItem(this.grid_key + "_FILTER_UP") != null)
6904
6905
  if (localStorage.getItem(this.grid_key + "_FILTER_UP") != "") {
6905
6906
  this.ric_libera = localStorage.getItem(this.grid_key + "_FILTER_UP");
@@ -7467,6 +7468,7 @@
7467
7468
  toggle_mantieni: [{ type: i0.ViewChild, args: ["toggle_mantieni",] }],
7468
7469
  init_end: [{ type: i0.Output }],
7469
7470
  off_set: [{ type: i0.Input }],
7471
+ type_fixed_filter: [{ type: i0.Input }],
7470
7472
  onResize: [{ type: i0.HostListener, args: ["window:resize", ["event"],] }]
7471
7473
  };
7472
7474
 
@@ -9107,11 +9109,12 @@
9107
9109
  this.infoWindowOpened = null;
9108
9110
  this.markers = [];
9109
9111
  this.height = "600px";
9110
- if (data != null)
9112
+ if (data != null) {
9111
9113
  if (data.height != null)
9112
9114
  this.height = data.height;
9113
- if (data.open_only_one != null)
9114
- this.open_only_one = data.open_only_one;
9115
+ if (data.open_only_one != null)
9116
+ this.open_only_one = data.open_only_one;
9117
+ }
9115
9118
  if (this.m_appService.getState().appo_dialog != null) {
9116
9119
  if (this.m_appService.getState().appo_dialog.zoom != null)
9117
9120
  this.zoom = this.m_appService.getState().appo_dialog.zoom;