@fluxhub/fluxhub-lib 10.0.675 → 10.0.677

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.
@@ -8614,6 +8614,14 @@
8614
8614
  this.users_list = data.users_list;
8615
8615
  }
8616
8616
  }
8617
+ fh_win_user_picker.prototype.do_add_all = function () {
8618
+ this.users_list_sel = [];
8619
+ this.user_sel = JSON.parse(JSON.stringify(this.users_list));
8620
+ };
8621
+ fh_win_user_picker.prototype.do_rem_all = function () {
8622
+ this.users_list_sel = JSON.parse(JSON.stringify(this.users_list));
8623
+ this.user_sel = [];
8624
+ };
8617
8625
  fh_win_user_picker.prototype.filtra = function () {
8618
8626
  // console.log('filtra() '+this.fltr_user.toUpperCase());
8619
8627
  this.users_list_sel = new Array();
@@ -8740,7 +8748,7 @@
8740
8748
  fh_win_user_picker.decorators = [
8741
8749
  { type: i0.Component, args: [{
8742
8750
  selector: "FHPickUsers",
8743
- template: "\n <mat-dialog-content style=\"font-size:12px\">\n <br /><br />\n <div fxLayout=\"row\">\n <div fxLayout=\"column\" fxFlex=\"40\">\n <div style=\"width:100%;overflow-y:scroll;\" [style.height]=\"(height)+ 'px'\">\n <table style=\"width: 100%\" class=\"fh_table sel_r\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">{{'UTENTI SELEZIONABILI' | translate }}</th>\n </tr>\n </thead>\n\n <tbody>\n <tr>\n <td colspan=\"2\" style=\"background-color:#FFF !important\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{ label | translate }}</mat-label>\n <input\n [(ngModel)]=\"fltr_user\"\n (ngModelChange)=\"filtra()\"\n matInput\n />\n </mat-form-field>\n </td>\n </tr>\n <tr\n *ngFor=\"\n let u of users_list_sel;\n let odd = odd;\n let even = even\n \"\n\n (click)=\"addTo(u);selectedAdd = u\"\n (dblclick)=\"do_add()\"\n [style.background-color]=\"selectedAdd == u ? '#2AA1DD':''\"\n [style.color]=\"selectedAdd == u ? '#FFFFFF':''\"\n [ngClass]=\"selectedAdd == u ? '':'sel_r'\"\n\n >\n <td style=\"width: 80%\">{{ u.nc }}</td>\n <td style=\"width: 20%\">{{ u.canale }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div\n fxLayout=\"column\"\n fxFlex=\"20\"\n style=\"height: 280px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);\"\n >\n <div\n style=\"position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);\"\n >\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_add()\"\n [disabled]=\"!option || selectedAdd==null\"\n >\n <mat-icon>arrow_forward</mat-icon>\n </button>\n <br /><br />\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_rem()\"\n [disabled]=\"option || selectedRemove==null\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"40\">\n <div style=\"width:100%;overflow-y:scroll;\" [style.height]=\"(height)+ 'px'\">\n <table style=\"width: 100%\" class=\"fh_table sel_r\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">{{'UTENTI SELEZIONATI' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let u of user_sel; let odd = odd; let even = even\"\n [style.background-color]=\"selectedRemove == u ? '#2AA1DD':''\"\n [style.color]=\"selectedRemove == u ? '#FFFFFF':''\"\n [ngClass]=\"selectedRemove == u ? '':'sel_r'\"\n (click)=\"removeTo(u);selectedRemove = u\"\n (dblclick)=\"do_rem()\"\n\n >\n <td style=\"width: 80%\">{{ u.nc }}</td>\n <td style=\"width: 20%\">{{ u.canale }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </mat-dialog-content>\n <mat-dialog-actions *ngIf=\"vis_buttons\">\n <div\n style=\"width:100%\"\n *ngIf=\"vis_buttons\"\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n >\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"dialogRef.close(this.user_sel)\"\n >\n Ok</button\n >&nbsp;&nbsp;&nbsp;\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"dialogRef.close()\"\n >\n {{'Annulla' | translate }}\n </button>\n </div>\n </mat-dialog-actions>\n ",
8751
+ template: "\n <mat-dialog-content style=\"font-size:12px\">\n <br /><br />\n <div fxLayout=\"row\">\n <div fxLayout=\"column\" fxFlex=\"40\">\n <div style=\"width:100%;overflow-y:scroll;\" [style.height]=\"(height)+ 'px'\">\n <table style=\"width: 100%\" class=\"fh_table sel_r\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">{{'UTENTI SELEZIONABILI' | translate }}</th>\n </tr>\n </thead>\n\n <tbody>\n <tr>\n <td colspan=\"2\" style=\"background-color:#FFF !important\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{ label | translate }}</mat-label>\n <input\n [(ngModel)]=\"fltr_user\"\n (ngModelChange)=\"filtra()\"\n matInput\n />\n </mat-form-field>\n </td>\n </tr>\n <tr\n *ngFor=\"\n let u of users_list_sel;\n let odd = odd;\n let even = even\n \"\n\n (click)=\"addTo(u);selectedAdd = u\"\n (dblclick)=\"do_add()\"\n [style.background-color]=\"selectedAdd == u ? '#2AA1DD':''\"\n [style.color]=\"selectedAdd == u ? '#FFFFFF':''\"\n [ngClass]=\"selectedAdd == u ? '':'sel_r'\"\n\n >\n <td style=\"width: 80%\">{{ u.nc }}</td>\n <td style=\"width: 20%\">{{ u.canale }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div\n fxLayout=\"column\"\n fxFlex=\"20\"\n style=\"height: 280px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);\"\n >\n <div\n style=\"position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);\"\n >\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_add()\"\n [disabled]=\"!option || selectedAdd==null\"\n >\n <mat-icon>arrow_forward</mat-icon>\n </button>\n <br /><br />\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_rem()\"\n [disabled]=\"option || selectedRemove==null\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n <br><br><br><br>\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_add_all()\"\n [disabled]=\"!option\"\n >\n <mat-icon>{{'Sel. Tutti' | translate}}</mat-icon>\n </button>\n <br /><br />\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_rem_all()\"\n [disabled]=\"option\"\n >\n <mat-icon>'Desel. Tutti' | translate</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"40\">\n <div style=\"width:100%;overflow-y:scroll;\" [style.height]=\"(height)+ 'px'\">\n <table style=\"width: 100%\" class=\"fh_table sel_r\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">{{'UTENTI SELEZIONATI' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let u of user_sel; let odd = odd; let even = even\"\n [style.background-color]=\"selectedRemove == u ? '#2AA1DD':''\"\n [style.color]=\"selectedRemove == u ? '#FFFFFF':''\"\n [ngClass]=\"selectedRemove == u ? '':'sel_r'\"\n (click)=\"removeTo(u);selectedRemove = u\"\n (dblclick)=\"do_rem()\"\n\n >\n <td style=\"width: 80%\">{{ u.nc }}</td>\n <td style=\"width: 20%\">{{ u.canale }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </mat-dialog-content>\n <mat-dialog-actions *ngIf=\"vis_buttons\">\n <div\n style=\"width:100%\"\n *ngIf=\"vis_buttons\"\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n >\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"dialogRef.close(this.user_sel)\"\n >\n Ok</button\n >&nbsp;&nbsp;&nbsp;\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"dialogRef.close()\"\n >\n {{'Annulla' | translate }}\n </button>\n </div>\n </mat-dialog-actions>\n ",
8744
8752
  styles: ["\n\n\n "]
8745
8753
  },] }
8746
8754
  ];
@@ -23484,7 +23492,7 @@
23484
23492
  _this.m_obj.autori = _this.m_obj.autori + v.username;
23485
23493
  if (_this.m_obj.pers_int != '')
23486
23494
  _this.m_obj.pers_int = _this.m_obj.pers_int + ',';
23487
- _this.m_obj.pers_int = _this.m_obj.pers_int + v.cognome + ' ' + v.nome;
23495
+ _this.m_obj.pers_int = _this.m_obj.pers_int + v.nc;
23488
23496
  }
23489
23497
  if (v.username == _this.app_info.user)
23490
23498
  b_edit_1 = true;