@fluxhub/fluxhub-lib 11.0.34 → 11.0.35

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,13 @@
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 + " ";
5688
5687
  p.filter = p.filter + " (" + _this.fix_flt + " )";
5689
5688
  }
5690
5689
  if (_this.ric_libera == '' || !_this.over_fulltext)
5691
5690
  if (_this.fix_flt_temp != "") {
5692
5691
  if (p.filter != "")
5693
- p.filter = p.filter + " and ";
5692
+ p.filter = p.filter + " " + _this.type_fixed_filter + " ";
5694
5693
  p.filter = p.filter + " (" + _this.fix_flt_temp + " )";
5695
5694
  }
5696
5695
  // console.log('Filter model');
@@ -6898,8 +6897,8 @@
6898
6897
  }
6899
6898
  }
6900
6899
  this.res_columns();
6901
- if (localStorage.getItem(this.grid_key + "_POS") != null)
6902
- this.b_restored = true;
6900
+ // if (localStorage.getItem(this.grid_key + "_POS") != null)
6901
+ // this.b_restored = true;
6903
6902
  if (localStorage.getItem(this.grid_key + "_FILTER_UP") != null)
6904
6903
  if (localStorage.getItem(this.grid_key + "_FILTER_UP") != "") {
6905
6904
  this.ric_libera = localStorage.getItem(this.grid_key + "_FILTER_UP");
@@ -7467,6 +7466,7 @@
7467
7466
  toggle_mantieni: [{ type: i0.ViewChild, args: ["toggle_mantieni",] }],
7468
7467
  init_end: [{ type: i0.Output }],
7469
7468
  off_set: [{ type: i0.Input }],
7469
+ type_fixed_filter: [{ type: i0.Input }],
7470
7470
  onResize: [{ type: i0.HostListener, args: ["window:resize", ["event"],] }]
7471
7471
  };
7472
7472
 
@@ -9107,11 +9107,12 @@
9107
9107
  this.infoWindowOpened = null;
9108
9108
  this.markers = [];
9109
9109
  this.height = "600px";
9110
- if (data != null)
9110
+ if (data != null) {
9111
9111
  if (data.height != null)
9112
9112
  this.height = data.height;
9113
- if (data.open_only_one != null)
9114
- this.open_only_one = data.open_only_one;
9113
+ if (data.open_only_one != null)
9114
+ this.open_only_one = data.open_only_one;
9115
+ }
9115
9116
  if (this.m_appService.getState().appo_dialog != null) {
9116
9117
  if (this.m_appService.getState().appo_dialog.zoom != null)
9117
9118
  this.zoom = this.m_appService.getState().appo_dialog.zoom;