@fluxhub/fluxhub-lib 1.0.589 → 1.0.591

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.
@@ -2704,6 +2704,7 @@ var FHListComponent = /** @class */ (function () {
2704
2704
  this.label = "";
2705
2705
  this.enabled = true;
2706
2706
  this.single_sel = false;
2707
+ this.separator = ",";
2707
2708
  this.fillend = new EventEmitter();
2708
2709
  this.selchange = new EventEmitter();
2709
2710
  this.initend = new EventEmitter();
@@ -2825,7 +2826,7 @@ var FHListComponent = /** @class */ (function () {
2825
2826
  if (this.myData.length == 0 || this.myData[0] == null)
2826
2827
  return;
2827
2828
  /** @type {?} */
2828
- var arr_val = desc_val.split(',');
2829
+ var arr_val = desc_val.split(this.separator);
2829
2830
  for (var j = 0; j < this.myData.length; j++)
2830
2831
  for (var j1 = 0; j1 < arr_val.length; j1++) {
2831
2832
  if (this.myData[j].descrizione_valore == arr_val[j1]) {
@@ -2878,7 +2879,7 @@ var FHListComponent = /** @class */ (function () {
2878
2879
  return;
2879
2880
  //console.log("qui2");
2880
2881
  /** @type {?} */
2881
- var arr_val = desc_val.split(',');
2882
+ var arr_val = desc_val.split(this.separator);
2882
2883
  for (var j = 0; j < this.myData.length; j++)
2883
2884
  for (var j1 = 0; j1 < arr_val.length; j1++) {
2884
2885
  if (this.myData[j].valore == arr_val[j1]) {
@@ -2899,7 +2900,7 @@ var FHListComponent = /** @class */ (function () {
2899
2900
  for (var j = 0; j < this.myData.length; j++)
2900
2901
  if (this.myData[j].checked) {
2901
2902
  if (sx != '')
2902
- sx = sx + ',';
2903
+ sx = sx + this.separator;
2903
2904
  sx = sx + this.myData[j].descrizione_valore;
2904
2905
  }
2905
2906
  return sx;
@@ -2931,7 +2932,7 @@ var FHListComponent = /** @class */ (function () {
2931
2932
  for (var j = 0; j < this.myData.length; j++)
2932
2933
  if (this.myData[j].checked) {
2933
2934
  if (sx != '')
2934
- sx = sx + ',';
2935
+ sx = sx + this.separator;
2935
2936
  sx = sx + this.myData[j].valore;
2936
2937
  }
2937
2938
  return sx;
@@ -3037,7 +3038,7 @@ var FHListComponent = /** @class */ (function () {
3037
3038
  };
3038
3039
  FHListComponent.decorators = [
3039
3040
  { type: Component, args: [{
3040
- 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 ",
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 ",
3041
3042
  styles: ["\n\n\n "]
3042
3043
  }] }
3043
3044
  ];
@@ -3053,6 +3054,7 @@ var FHListComponent = /** @class */ (function () {
3053
3054
  label: [{ type: Input }],
3054
3055
  enabled: [{ type: Input }],
3055
3056
  single_sel: [{ type: Input }],
3057
+ separator: [{ type: Input }],
3056
3058
  smtr: [{ type: ViewChild, args: ['cmb',] }],
3057
3059
  fillend: [{ type: Output }],
3058
3060
  selchange: [{ type: Output }],
@@ -12041,6 +12043,7 @@ var FHListPick = /** @class */ (function () {
12041
12043
  this.toastr = toastr;
12042
12044
  this.m_appService = m_appService;
12043
12045
  this.label = "";
12046
+ this.separator = ",";
12044
12047
  this.title = "";
12045
12048
  this.sql = "";
12046
12049
  this.single_sel = false;
@@ -12095,7 +12098,7 @@ var FHListPick = /** @class */ (function () {
12095
12098
  FHListPick.decorators = [
12096
12099
  { type: Component, args: [{
12097
12100
  selector: 'fhlistpick',
12098
- 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 "
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 "
12099
12102
  }] }
12100
12103
  ];
12101
12104
  /** @nocollapse */
@@ -15890,7 +15893,7 @@ var dati_aggiuntivi = /** @class */ (function () {
15890
15893
  setTimeout((/**
15891
15894
  * @return {?}
15892
15895
  */
15893
- function () { _this.save_alreadypressed = true; }), 1000);
15896
+ function () { _this.save_alreadypressed = false; }), 1000);
15894
15897
  if (this.m_obj.codice == '') {
15895
15898
  if (this.oper == 'respingi') {
15896
15899
  this.alert("Errore di configurazione pratica contattare ufficio IT [0x001]", 1);
@@ -18871,6 +18874,7 @@ var FHFieldPickListComponent = /** @class */ (function () {
18871
18874
  this.enabled = true;
18872
18875
  this.required = false;
18873
18876
  this.db_type = "1";
18877
+ this.separator = ",";
18874
18878
  this.value = "";
18875
18879
  this.onChange = (/**
18876
18880
  * @param {?} _
@@ -18957,6 +18961,7 @@ var FHFieldPickListComponent = /** @class */ (function () {
18957
18961
  });
18958
18962
  dialogRef.componentInstance.single_sel = this.single_sel;
18959
18963
  dialogRef.componentInstance.sel_values = this.value;
18964
+ dialogRef.componentInstance.separator = this.separator;
18960
18965
  dialogRef.componentInstance.label = this.label;
18961
18966
  dialogRef.componentInstance.sql = this.sql;
18962
18967
  dialogRef.componentInstance.types = this.types;
@@ -18971,7 +18976,7 @@ var FHFieldPickListComponent = /** @class */ (function () {
18971
18976
  _this.value = '';
18972
18977
  for (var i = 0; i < result.length; i++) {
18973
18978
  if (_this.value != '')
18974
- _this.value += ',';
18979
+ _this.value += _this.separator;
18975
18980
  _this.value += result[i].descrizione_valore;
18976
18981
  }
18977
18982
  return;
@@ -19008,6 +19013,7 @@ var FHFieldPickListComponent = /** @class */ (function () {
19008
19013
  enabled: [{ type: Input }],
19009
19014
  required: [{ type: Input }],
19010
19015
  db_type: [{ type: Input }],
19016
+ separator: [{ type: Input }],
19011
19017
  value: [{ type: Input }]
19012
19018
  };
19013
19019
  return FHFieldPickListComponent;