@fluxhub/fluxhub-lib 10.0.713 → 10.0.714

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.
@@ -8768,7 +8768,7 @@
8768
8768
  fh_win_user_picker.decorators = [
8769
8769
  { type: i0.Component, args: [{
8770
8770
  selector: "FHPickUsers",
8771
- 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 > <br><br><br><br><br><br>\n <div style=\"width:100%;text-align:center\">\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 </div>\n <br />\n <div style=\"width:100%;text-align:center\">\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 <br><br><br><br>\n <div style=\"width:100%;text-align:center\">\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_add_all()\"\n [disabled]=\"users_list_sel?.length==0\"\n >\n {{'Sel. Tutti' | translate}}\n </button>\n </div>\n <br />\n <div style=\"width:100%;text-align:center\">\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_rem_all()\"\n [disabled]=\"user_sel?.length==0\"\n >\n {{'Desel. Tutti' | translate}}\n </button>\n </div>\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 ",
8771
+ 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.context }}</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 > <br><br><br><br><br><br>\n <div style=\"width:100%;text-align:center\">\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 </div>\n <br />\n <div style=\"width:100%;text-align:center\">\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 <br><br><br><br>\n <div style=\"width:100%;text-align:center\">\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_add_all()\"\n [disabled]=\"users_list_sel?.length==0\"\n >\n {{'Sel. Tutti' | translate}}\n </button>\n </div>\n <br />\n <div style=\"width:100%;text-align:center\">\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_rem_all()\"\n [disabled]=\"user_sel?.length==0\"\n >\n {{'Desel. Tutti' | translate}}\n </button>\n </div>\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 ",
8772
8772
  styles: ["\n\n\n "]
8773
8773
  },] }
8774
8774
  ];
@@ -22207,12 +22207,23 @@
22207
22207
  });
22208
22208
  console.log('arrAutori dopo ', arrAutori);
22209
22209
  var arrAutori_temp = [];
22210
- for (var i = 0; i < arrAutori.length; i++) {
22210
+ var _loop_1 = function (i) {
22211
22211
  if ((_this.get_grid().sRow.canale == null || _this.get_grid().sRow.canale == '')
22212
22212
  ||
22213
- _this.get_grid().sRow.canale == arrAutori[i].context)
22214
- arrAutori_temp.push(arrAutori[i]);
22213
+ _this.get_grid().sRow.canale == arrAutori[i].context) {
22214
+ var b_x_1 = false;
22215
+ arrAutori_temp.map(function (v) {
22216
+ if (v.nc == arrAutori[i].nc && v.context == arrAutori[i].context)
22217
+ b_x_1 = true;
22218
+ });
22219
+ if (b_x_1)
22220
+ arrAutori_temp.push(arrAutori[i]);
22221
+ }
22222
+ };
22223
+ for (var i = 0; i < arrAutori.length; i++) {
22224
+ _loop_1(i);
22215
22225
  }
22226
+ arrAutori = JSON.parse(JSON.stringify(arrAutori_temp));
22216
22227
  var dialogRef_3 = _this.dialog.open(win_riassegna_select_user_v2, {
22217
22228
  disableClose: true,
22218
22229
  width: "850px",