@fluxhub/fluxhub-lib 10.0.151 → 10.0.152

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.
@@ -7768,6 +7768,7 @@
7768
7768
  this.selectedRemove = null;
7769
7769
  this.errorMsg = "";
7770
7770
  this.fltr_user = "";
7771
+ this.height = 420;
7771
7772
  this.single_sel = false;
7772
7773
  this.vis_buttons = true;
7773
7774
  this.all_users = false;
@@ -7899,8 +7900,8 @@
7899
7900
  FHUserPickerComponent.decorators = [
7900
7901
  { type: i0.Component, args: [{
7901
7902
  selector: "FHPickUsers",
7902
- 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%;height:420px;overflow-y:scroll;\">\n <table style=\"width: 100%\" class=\"fh_table\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONABILI</th>\n </tr>\n </thead>\n\n <tbody>\n <tr>\n <td colspan=\"2\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{ label }}</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 (mouseover)=\"selectedAdd = u\"\n [ngClass]=\"{ odd: odd, even: even }\"\n (click)=\"addTo(u)\"\n (dblclick)=\"do_add()\"\n class=\"selector\"\n [ngClass]=\"{ active: selectedAdd == u }\"\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\"\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\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"40\">\n <div style=\"width:100%;height:420px;overflow-y:scroll;\">\n <table style=\"width: 100%\" class=\"fh_table\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONATI</th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let u of user_sel; let odd = odd; let even = even\"\n (mouseover)=\"selectedRemove = u\"\n [ngClass]=\"{ odd: odd, even: even }\"\n (click)=\"removeTo(u)\"\n (dblclick)=\"do_rem()\"\n class=\"selector\"\n [ngClass]=\"{ active: selectedRemove == u }\"\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>\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\n </button>\n </div>\n </mat-dialog-actions>\n ",
7903
- styles: [""]
7903
+ 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\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONABILI</th>\n </tr>\n </thead>\n\n <tbody>\n <tr>\n <td colspan=\"2\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>{{ label }}</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 (mouseover)=\"selectedAdd = u\"\n [ngClass]=\"{ odd: odd, even: even }\"\n (click)=\"addTo(u)\"\n (dblclick)=\"do_add()\"\n class=\"selector\"\n [ngClass]=\"{ active: selectedAdd == u }\"\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\"\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\"\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\" cellpadding=\"7\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONATI</th>\n </tr>\n </thead>\n <tbody>\n <tr\n *ngFor=\"let u of user_sel; let odd = odd; let even = even\"\n (mouseover)=\"selectedRemove = u\"\n [ngClass]=\"{ odd: odd, even: even }\"\n (click)=\"removeTo(u)\"\n (dblclick)=\"do_rem()\"\n class=\"selector\"\n [ngClass]=\"{ active: selectedRemove == u }\"\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>\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\n </button>\n </div>\n </mat-dialog-actions>\n ",
7904
+ styles: ["\n td {\n background-color: #fff;\n font-weight: bold;\n}\ntr:hover {\n color: #fff;\n background-color: #001E3D;\n}\n\ntr:hover td {\n background-color: transparent;\n}\n\n "]
7904
7905
  },] }
7905
7906
  ];
7906
7907
  FHUserPickerComponent.ctorParameters = function () { return [
@@ -7909,6 +7910,7 @@
7909
7910
  { type: i3.ToastrService }
7910
7911
  ]; };
7911
7912
  FHUserPickerComponent.propDecorators = {
7913
+ height: [{ type: i0.Input }],
7912
7914
  users_list: [{ type: i0.Input }],
7913
7915
  single_sel: [{ type: i0.Input }],
7914
7916
  vis_buttons: [{ type: i0.Input }],